sweet-core icon indicating copy to clipboard operation
sweet-core copied to clipboard

Literal syntax

Open roman01la opened this issue 8 years ago • 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!

roman01la avatar May 30 '17 15:05 roman01la

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

gabejohnson avatar Jun 12 '17 14:06 gabejohnson