Writing Interpreters and Compilers for the Raspberry Pi Using PythonAnthony Dos Reis
Writing Interpreters and Compilers for the Raspberry Pi Using Python
by Anthony Dos Reis · first published 2018
7mentions
3recommended by
3HN commenters
2018–2024first – last mentioned
100% recommend
Affiliate links. As an Amazon Associate I earn from qualifying purchases.




…into these as well for my library. Thanks for the heads up. :) By the way, for the Python folks with a Pi around, this one is also an interesting read to dive into what it means to write a compiler "Writing Interpreters and Compilers for the Raspberry Pi Using Python" https://www.amazon.com/Writing-Interpreters-Compilers-Raspbe...
on “Compiling a Lisp (2020)” ↗> Writing Interpreters and Compilers for the Raspberry Pi Using Python, CreateSpace Independent Publishing Platform, 2018 > If you want to learn how to write interpreters and compilers, and at the same time learn how Python, Python bytecode, assembly language, and dynamic…
on “Ask HN: What are the best textbooks in your field of expertise?” ↗For Python grab a copy of "Writing Interpreters and Compilers for the Raspberry Pi Using Python". And there is a C version of "Modern Compiler Implementation" as well.
on “Micro C, Part 3: Generating LLVM” ↗…compiler field (and actually makes my recommendations more legit as field professionals tend to overestimate other people's ability to learn), but can recommend three books, ordered by difficulty asc: Writing interpreters and compilers for the raspberry pi using python by Anthony J.Dos Reis Crafting Interpreters by Nystrom Game Scripting Mastery (Forgot the author and too lazy to Google)
on “Ask HN: Which books in your field do you think are perfect for self study?” ↗I just got myself Writing Interpreters and Compilers for the Raspberry Pi Using Python for Christmas (mainly to learn more about Raspberry Pi assembly). It's very accessible. First half of the book is a breeze, then the difficulty goes up a bit. Relatively light on theory, which is a conscious…
on “Bytecode compilers and interpreters” ↗…whole goal of PyPy, IronPython, Jython, Python on GraalVM, Python on OpenJ9, CircuitPython and plenty of other attempts. Anyone that understands compilers knows one can write language X in X. In fact, "Writing Interpreters and Compilers for the Raspberry Pi Using Python" does exactly that. We can nuke CPython and there is plenty of Python code that would still run without problems.
on “Snakeware – Linux distro with Python userspace inspired by Commodore 64” ↗…excellent book and IMO is as good as a Compiler book for laymen as it can be. It is way better than the other books with the same focus IMO (I compared it to two other books: "Game Scripting Mastery" and ""Writing Interpreters and Compilers for the Raspberry Pi using Python"). I really appreciate the efforts the author put into the book. This is one of the few CS books that I actually purchased a physical copy. However, I do have one recommendation: Express Expr.java in…
on “Ask HN: Recommended change to the book "Crafting Interpreters"” ↗