News for hackers. Stuff that matters.
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.
Re:Teaching Compilers Backward by peteretep on Tuesday February 23, 2021 @09:33PM (#26245938)
Is there a serialization format you don't consider to be a bad re-invention of S-expressions?
Re:Teaching Compilers Backward by lisper on Tuesday February 23, 2021 @09:46PM (#26246029)
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.)