3 ms·
Writing A Lisp Interpreter In Haskell (2006)
- piinbinary 4y agoThere's a nice tutorial, Write Yourself a Scheme in 48 hours [0] for writing a lisp interpreter in Haskell [0] https://en.m.wikibooks.org/wiki/Write_Yourself_a_Scheme_in_48_Hours https://en.m.wikibooks.org/wiki/Write_Yourself_a_Scheme_in_4...
- icrbow 4y agoThis one is absolutely golden. Read down typeclassopedia, do this one and you're basically ready to ship.
- jcynix 4y agoNice. The first Lisp interpreter whose source code I was able to dissect (as a student, source code generously provided by my professor), was the Lispf3 interpreter written in (gasp ;-) Fortran. http://www.softwarepreservation.net/projects/LISP/uppsala/Nordstrom-LISP_F3_Implementation_Guide-1978.pdf http://www.softwarepreservation.net/projects/LISP/uppsala/No... Sidenote: the garbage collector was in file garb.f (IIRC) and I lost this file soon when I did a "rm garb" to clean up my account on the BSD VAX where I kept it. But still have the line printer output :-)
- jlg23 4y agoAwesome, thanks for the link. I'll probably use that as a response whenever someone complains about compilation/setup being too complicated - the compilation instructions on page 4 should give them a proper baseline ;)