Make your own Lisp

  • If someone's looking for a more hand-holded approach for building a Lisp in C, I'd recommend: http://www.buildyourownlisp.com/

  • I immediately thought of Shen which is also ported to a large number of languages. Shen relies on a "micro-Lisp" substrate called K-Lambda which consists of just 43 easily ported instructions.

    http://www.shenlanguage.org/

  • I had to see if their own language (mal) implemented itself (ie self hosted) and I was pleased to see it does.

  • IIRC I got bogged down early with the regular expression for parsing, but I definitely want to try again. Really enjoyed the MAL talk at Midwest.io: https://youtu.be/lgyOAiRtZGw

  • Funny there is no prolog port!

  • This repos should be on developer code to read. I used it as a way to see how people implement a LISP. Having a reference for all languages allow me to know strong/weak point of each of them.

  • I wanna know which language port has the fewer lines of code.

  • I know this is a demonstration project, but in general I wish people would stop building new Lisps and just use one of the existing ones.

    Common Lisp, Racket, Clojure, Scheme, etc. are all great choices with decent compilers, interpreters, library ecosystems, editor support, etc.

    Seems there's a new pet project Lisp released once a month or so, and none of them add anything interesting over the existing options.