Cover of Lisp in Small Pieces

Lisp in Small Pieces

by Christian Queinnec · first published 1996

246mentions
101recommended by
141HN commenters
2007–2026first – last mentioned

72% recommend27% neutral1% critical

Why HN recommends it

Walks through building Lisp and Scheme implementations, from a simple eval to fancier interpreters, continuations and an optimizing compiler. Suits Lisp users who have finished SICP and want to implement a language.

Common criticism: Some find the writing style dense and hard to get through

Summarised by Claude from recommending comments

Affiliate links. As an Amazon Associate I earn from qualifying purchases.

Mentions per year

170 2007: 2 mentions2008: 3 mentions2009: 9 mentions2010: 13 mentions2011: 11 mentions2012: 4 mentions2013: 14 mentions2014: 9 mentions2015: 10 mentions2016: 6 mentions2017: 14 mentions2018: 15 mentions2019: 17 mentions2020: 13 mentions2021: 9 mentions2022: 10 mentions2023: 11 mentions2024: 10 mentions2025: 9 mentions2026: 6 mentions200720172026

What Hacker News says

  • daly · Mar 13, 2017 · Recommends

    …However, look at Physically Based Rendering (http://www.pbrt.org/). It won an Academy Award. It should win a Pulitzer. All of the actual source code is in the book and the book is quite readable. Or look at Lisp in Small Pieces (https://pages.lip6.fr/Christian.Queinnec/WWW/LiSP.html). There you will find a complete lisp system surrounded by enlightening text. Your confusion stems from the coding constraints of the 1970s. My…

    on “Code is not literature (2014)” ↗
  • segmondy · Oct 30, 2015 · Recommends

    if you really want to learn to build lisp, please lookup "lisp in small pieces" http://www.amazon.com/Lisp-Small-Pieces-Christian-Queinnec/d...

    on “Learn C and build your own Lisp” ↗
  • xscott · May 29, 2022 · Recommends

    …think that would feel satisfying. Then again, maybe that's too ugly to consider. :-) In addition to some of the other book and web site recommendations people have made (SICP, MaL, etc...), I think "Lisp in Small Pieces" by Christian Queinnec is really good if you want to take it further. [0] https://wiki.c2.com/?EvalApply

    on “Ask HN: What does a developer need to know to build their own Lisp from scratch?” ↗
  • silentbicycle · Aug 26, 2010 · Recommends

    …excellent book on logic programming, using Prolog for exercises. (CTM also touches on Prolog, but this book goes quite a bit deeper.) * The Lambda papers - http://library.readscheme.org/page1.html * _Lisp in Small Pieces_ by Christian Queinnec ("LiSP"). On implementing Lisp, strongly skewed towards Scheme. * Paradigms of Artificial Intelligence Programming by Peter Norvig ("PAIP"). AI, problem solving techniques, Lisp…

    on “Books that will Substitute for a Computer Science Degree” ↗
  • csl · Jan 9, 2012 · Recommends

    Nice writeup on their use of the Cheney Trampoline. As is always the case in such discussions, I'll mention these three fine books for Scheme implementers: * Lisp in small pieces, by Christian Queinnec * Compiling with continuations, by Andrew Appel * Anatomy of Lisp, by John Allen

    on “How Chicken Scheme compiles to C” ↗
  • pdelgallego · Jul 23, 2013 · Recommends

    You might enjoy Lisp in Small Pieces. Is one of my favorite books The book is in two parts. The first starts from a simple evaluation function and enriches it with multiple name spaces, continuations and side-effects with commented variants,…

    on “Little Lisp interpreter” ↗
  • anaphor · Jan 5, 2015 · Recommends

    I recommend Lisp In Small Pieces (LISP) by Christian Queinnec and Compiling with Continuations by Andrew Appel if you're interested in writing a functional compiler. Also: http://matt.might.net/articles/cps-conversion/ http://lucacardelli.name/Papers/BasicTypechecking.pdf…

    on “Write You a Haskell: Building a modern functional compiler from first principles” ↗
  • shanusmagnus · Jun 22, 2022 · Recommends

    …and Sussman - Paradigms of Artificial Intelligence Programming, by Norvig By general acclaim, some examples might be: - How to Design Programs, by Felleisen et al - Beautiful Racket, by Butterick - LISP In Small Pieces, by Queinnec - The Art of Computer Programming, by Knuth - The Elements of Computing Systems, by Nisan and Schocken What else comes to mind? (My list is very LISPy, but that's just bc I have high…

    on “Crafting Interpreters: A Review” ↗
  • Shooter · Sep 24, 2007 · Recommends

    …3. ANSI Common Lisp http://www.paulgraham.com/acl.html 4. On Lisp http://www.paulgraham.com/onlisptext.html 5. Paradigms of Artifical Intelligence Programming http://norvig.com/paip.html 6. Lisp in Small Pieces http://www.amazon.com/Lisp-Small-Pieces-Christian-Queinnec/d... SICP is also amazing...and there are at least three sets of videos to go with the book (Abelson/Sussman and HP/MIT, ArsDigita, and UC-Berkeley.)

    on “Ask news.YC: For the lisp experts - tell me how you learned the language.” ↗
  • silentbicycle · Mar 11, 2009 · Recommends

    …here - http://www.lua.org/source/5.1/ . It's written in strictly compliant ANSI C. For Lisp and Scheme, try Peter Norvig's _Paradigms of Artificial Intelligence Programming_ and Christian Queinnec's _Lisp in Small Pieces_ (PAIP and LiSP). The former has more Common Lisp, the latter Scheme. Both will give you quite a bit to think about. :)

    on “Ask HN: Interesting code to read” ↗
  • sethg · May 15, 2009 · Recommends

    Lisp In Small Pieces (http://pagesperso-systeme.lip6.fr/Christian.Queinnec/WWW/LiS...) is sort of intermediate between SICP and the Peyton-Jones stuff; it still focuses on Lisp dialects that use dynamic typing and applicative-order…

    on “Ask HN: After SICP, what next?” ↗
  • hvs · Nov 29, 2010 · Recommends

    If you're interested in getting into the details of implementing a Lisp/Scheme interpreter and compiler, I highly recommend Lisp in Small Pieces: http://www.amazon.com/Lisp-Small-Pieces-Christian-Queinnec/d...

    on “Lisp interpreter in 90 lines of C++” ↗
  • csl · Jan 9, 2012 · Recommends

    To be completely honest, I'm reading Queinnec's book at the moment, and don't know the others first hand. They're just on my reading list. Lisp in small pieces is a fantastic book for Lisp implementers. It starts off with a simple eval and then increases in scope and complexity. It's very complete. You can see the contents in PDF here: http://assets.cambridge.org/97805215/45662/toc/9780521545662...…

    on “How Chicken Scheme compiles to C” ↗
  • hydandata · Jun 18, 2015 · Recommends

    There is a great book about Lisp from Christian Queinnec titled "Lisp in Small Pieces" or LISP. Here is a little excerpt from it. "There are subjects treated here that can be appreciated only if you make an effort proportional to their innate difficulty. To harken back to something like…

    on “The Tragedy of the Common Lisp, Or, Why Large Languages Explode” ↗
  • gabriel · Jan 5, 2018 · Recommends

    Lisp in Small Pieces: https://pages.lip6.fr/Christian.Queinnec/WWW/LiSP.html An excellent and very fun read about compilation, interpretation, and programming semantics. I don’t think you already have to know LISP, although…

    on “Ask HN: What's the best textbook you've read?” ↗

Keyboard shortcuts

/
Focus search
j / k
Next / previous book
Enter
Open focused book
Esc
Close / go back
g h
Go to Home
g t
Go to Top all-time
g m
Go to Most recommended
g r
Go to Rising
g f
Go to For You
?
Show this help