3 ms·
Lisp In Small Pieces would be my reccomendation. A relatively small book that takes you through writing 11 interpreters and 2 compilers.
by shakna 9y ago
Lisp In Small Pieces would be my reccomendation. A relatively small book that takes you through writing 11 interpreters and 2 compilers.
- csl 9y agoIs it really that friendly when starting out, though? I found it brilliant, but quite the challenging read. I'd rather just read chapters four and five of SICP [1] and move on to Queinnec as a follow-up on more advanced topics. [1]: The book is free as well: https://mitpress.mit.edu/sicp/full-text/book/book-Z-H-4.html#%_toc_start https://mitpress.mit.edu/sicp/full-text/book/book-Z-H-4.html...
- shakna 9y agoTo be honest, I found LISP to be a lot easier than SICP, but that's probably just some learning styles stuff at play. SICP being freely available in both book form, and the lectures [0] makes it one of the best resources out there. (I just never found it's section on compilers that helpful. Again, probably learning styles.) [0] https://www.youtube.com/playlist?list=PLB63C06FAF154F047 https://www.youtube.com/playlist?list=PLB63C06FAF154F047
- csl 9y agoMaybe I need to reread LISP, then. I agree that SICP is laser-focused on Scheme, and thus leaves out general compilation techniques.