from Hacker News

Risp (in (Rust) (Lisp)) (2019)

by leanthonyrn on 11/26/20, 7:08 PM with 12 comments

  • by azhenley on 11/26/20, 7:29 PM

    Nicely written article. I too attempted a Lisp interpreter to learn Rust, but gave up when I couldn’t figure out how to implement a linked list in Rust.
  • by bsder on 11/27/20, 1:09 AM

    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.