Re:Teaching Compilers Backward
by lisper on Tuesday February 23, 2021 @08:08PM
(#26245338)
How is it not? Both are serialization formats for trees with strings and numbers at the leaves.
[ Parent
| on HN ]
Is there a serialization format you don't consider to be a bad re-invention of S-expressions?
Of course. There are many. Any binary format. Any ASN.1 format. DEF and LEF for hardware descriptions. The output of mysqldump.
Here's another example:
https://github.com/rongarret/tweetnacl/blob/master/ratchet.l...
starting at line 82. (That's one that I designed.)