Re:Jevko: a minimal general-purpose syntax
by zokier on Tuesday October 25, 2022 @06:57PM
(#33337322)
Without any whitespace rules I wouldn't really call this human-readable format. The canonical serialization of a tree is without any whitespace and unlike json/xml/sexpr you can not reformat the document for human readability because any added whitespace changes the content.
[ Parent
| on HN ]
Re:Jevko: a minimal general-purpose syntax
by djedr on Tuesday October 25, 2022 @08:01PM
(#33337900)
Plain Jevko is a notch below JSON/XML/S-expr -- it's not really a format, but a syntax that can be leveraged to build a format.
This is where the rules for whitespace would be specified. These can then be taken advantage of by tools to reformat, etc.
The simplest format that I came up with and should specify next that will most likely do what you want is Easy Jevko. For details see this rabbit hole: https://news.ycombinator.com/item?id=33337098
For an alternative minimal syntax which is based around whitespace check out: