|
|
|
|
|
by bsder
2027 days ago
|
|
It's interesting, but here's the easiest way to evaluate if a Lisp/Scheme implementation article is interesting: "Does it parse (2 . 3) vs (2 3) aka (2 3 . nil) correctly?" That little dot which signifies a cons-pair makes implementing Lisp/Scheme oh-so-stupidly-much harder. Suddenly your printing has to go all the way right before it can make decisions. Your recursions suddenly need to be robust against not being a list. etc. |
|
I guess Clojure doesn't count as interesting and/or a lisp then, as `(2 . 3)` would not be parsed correctly and instead throw a syntax error on that form.
I still thought the article was interesting and would have loved to see a section on macros. Maybe next time.