Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Literal syntax #712

Open
roman01la opened this issue May 30, 2017 · 1 comment
Open

Literal syntax #712

roman01la opened this issue May 30, 2017 · 1 comment

Comments

@roman01la
Copy link

The last time I was using sweet.js (couple of years ago), it was possible to implement custom literal syntax for data structures:

#{ x: 1, y: 2 }

Couldn't figure out how to do it now. Can someone help please? Thanks!

@gabejohnson
Copy link
Member

Sorry @roman01la, I thought I had responded to you. It would require extending the default readtable. Please see #687.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants