sweet-js/sweet-core

Literal syntax

roman01la opened this issue · 1 comments

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!

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