4 ms·
The first explanation of lisp that resonated with me was explaining it as "a better XML" https://www.defmacro.org/ramblings/lisp.html https://www.defmacro.org/r
by CrazyPyroLinux 5y ago
The first explanation of lisp that resonated with me was explaining it as "a better XML" https://www.defmacro.org/ramblings/lisp.html https://www.defmacro.org/ramblings/lisp.html
- DarkUranium 5y agoBy using canonical S-expressions, one can even get binary-safety: https://en.wikipedia.org/wiki/Canonical_S-expressions https://en.wikipedia.org/wiki/Canonical_S-expressions It's at the cost of human-readability, but it's still readable enough for debugging. Editor plugins could probably fix this issue entirely, by presenting the contents as a more "normal" Lispy syntax. --- I think the Redis protocol is also a pretty good binary-safe-but-otherwise-text interchange format: https://redis.io/topics/protocol https://redis.io/topics/protocol One thing I'd do there, though, is to change CRLF at the end of a line to LF. Well, that and of course also drop support for the legacy protocol, unless one has a good reason to keep it for debugging.
- bjoli 5y agoSXML (the scheme tooling around a certain form of s-expression XML) is by far my most favourite way of working with XML.