logoalt Hacker News

ledgerdev12/10/20241 replyview on HN

> Perhaps EDN can also be improved

How might you improve EDN?


Replies

avodonosov12/14/2024

Maybe with: 1) Unicode escapes in strings. 2) Indentation support for multiline string literals, like in Rust, but even better. 3) Reading with "concrete syntax tree" (make the order of map elements, the comments, whitespaces, etc representable, so that one could write an EDN file with the same formatting as it was read, e.g. after patching it). Not sure if the spec changes are needed / will be helpful for that or better to just implement it in specific parsers.

show 1 reply