LISP in small pieces by Christian Queinnec, Kathleen Callaway

LISP in small pieces



Download LISP in small pieces




LISP in small pieces Christian Queinnec, Kathleen Callaway ebook
Page: 526
Format: djvu
Publisher: Cambridge University Press
ISBN: 0521562473, 9780521562478


I have developed what I call the “Hawaii” test for a good literate program. Chapter 5 of Structure and Interpretation of Computer Programs and chapter 7 of Lisp in Small Pieces both present byte-code interpreting virtual machines for Scheme that are implemented in Scheme. I'm actually not that fond of TAOCP. The following code snipped from the REPL prompt We're glossing over a few details here, but if you have a little experience working with Lisp then you should have a pretty good idea of how to implement the above. Writing a recursive function to perform that calculation is pretty straight forward, and once we put all of these pieces together in our create-world routine, we have a working proof of concept. Otherwise I would be hard pressed to choose something like The Art of the Metaobject Protocol, The wizard book, or maybe Lisp In Small Pieces. €�One of my New Year's goals is to re-read Lisp in Small Pieces and implement all 11 interpreters and 2 compilers. Scheme is probably easier to implement than CL, because it is much, much smaller. 23:32; Blogger ern said Awesome. Easy to compile (most implementations of Lisp are written almost or entirely in Lisp, and the “reference” implementations usually include a compiler – see Sussmann's Scheme book or 'LiSP in Small Pieces' for examples). So one would expect that the probability of buying the "Blue Book" given a purchase of the "Lisp in Small Pieces" would be much higher than the probability of purchasing Harry Potter. See “Lisp in Small Pieces” or “Implementing Elliptic Curve Cryptography” for real literate programs as books. Am cherry-picking my way through Queinnec's Lisp in Small Pieces, and your syntax-case exposition is exactly what I needed to introduce dynamic bindings. But I definitely wouldn't say that its standard has been written with optimization in mind. I bought Lisp In Small Pieces, read 19 pages, then struck out on my own, writing a headcase macro to factor out the repetition from the SICP code, and an interpreter.