Re:Writing a simple Lisp interpreter in Rust
by alpaca128 on Saturday March 04, 2023 @04:46AM
(#35019611)
Why? It's a simple tree-shaped algorithm for a tree-shaped problem. Doesn't get cleaner than that.
[ Parent
| on HN ]
Re:Writing a simple Lisp interpreter in Rust
by eldenring on Saturday March 04, 2023 @05:56PM
(#35025328)
The benefit of parser combinators is that they allow you to write "tree shaped code" to parse a syntax that doesn't map cleanly to a tree, ex: a c-style syntax.
My argument was that if the article wanted to show off the rust parser combinators, another syntax would have done the job better.