|
|
|
|
|
by llm_trw
570 days ago
|
|
No it won't be. S-expressions are the simplest way to linearize a tree. Everyone thinks there's something better and the very motivated write an interpreter for their ideal language in lisp. The ideas inevitably have so much jank when used in anger that you always come back to sexp. Now if you discover a way to linearize dags or arbitrary graphs without having to keep a table of symbols I'd love to hear it. |
|
S-expressions are one way to linearize a tree.
Now, "simple" can mean different things depending on what you are trying to achieve. RX is simpler than s-expressions if you prefer indentation over brackets, and like the robustness that it brings. Abstraction algebra terms are simpler than s-expressions if you want to actually reason about and with them.