IUCompilerCourse/Essentials-of-Compilation
View on GitHub ↗ ★ 1,609 TeX
A book about compiling Racket and Python to x86-64 assembly
23 mentions on Hacker News by 19 people: 5 stories, 18 comments · first 2017-09-02 · latest 2026-08-23
20082026
-
Some resources on implementing Scheme and variations: Essentials of Programming Languages 3e https://news.ycombinator.com/item?id=24324653 Essentials of Compilation: An Incremental Approach in Racket https://github.com/IUCompilerCourse/Esse…
comment by so-cal-schemer · 2026-08-23 · in A Friendly Introduction to Racket -
Another recent book inspired by Ghuloum is Essentials of Compilation: An Incremental Approach (which publishes Python and Racket versions) https://github.com/IUCompilerCourse/Essentials-of-Compilatio...
comment by agency · 2026-04-15 · in Want to write a compiler? Just read these two papers (2008) -
There is a good body of literature that is distinct from the academic compiler literature. https://t3x.org/ https://compilerbook.com/ https://interpreterbook.com/ https://www.craftinginterpreters.com/ R. G. Loeliger Threaded Interpretive…
comment by seg_lol · 2025-12-12 · in Revisiting "Let's Build a Compiler" -
https://github.com/IUCompilerCourse/Essentials-of-Compilatio...
comment by Jtsummers · 2025-08-11 · in Compiling a Lisp: Lambda lifting -
The Essentials of Compilation (using Racket) by Jeremy Siek links to this[0] which when downloaded says "An Incremental Approach in Python" and is in Python. [0]: https://github.com/IUCompilerCourse/Essentials-of-Compilatio...
comment by alhazrod · 2025-08-11 · in Compiling a Lisp: Lambda lifting -
This is such a wonderful book. This book is open access, https://github.com/IUCompilerCourse/Essentials-of-Compilatio... both the Python and the Racket versions. If you are the kinda nerd that has nerd book club with friends, this is book…
comment by sitkack · 2025-04-05 · in Compilers: Incrementally and Extensibly (2024) -
I just checked it out. apart from the book which you can buy, there is an open access edition, linked from the MIT press page, thanks to funding by Google, they say: https://github.com/IUCompilerCourse/Essentials-of-Compilatio... .
comment by fuzztester · 2024-07-13 · in Crafting Interpreters -
You can try this book if you want something that came out this year https://github.com/IUCompilerCourse/Essentials-of-Compilatio... . Go to the releases to either get the racket version or python version. But I mean cmu uses the dragon…
comment by jobhdez · 2023-06-01 · in Tell HN: The dragon compiler book (2nd edition) is a great book -
This paper is my favorite introduction to compilers, it's short and hands-on, goes from compiling a primitive program that does nothing but returns a single integer to a full-blown implementation of a real programming language in 24 small…
comment by mepian · 2023-05-30 · in Why Learn Compilers (2021) -
# Programming "A Data-Centric Introduction to Computing" https://dcic-world.org/ # Programming Language Theory "Programming Languages: Application and Interpretation" https://www.plai.org/ "Crafting Interpreters"…
comment by Al0neStar · 2023-05-26 · in Can we create a thread for some of the best materials on CS available online? -
My favorite language implementation tutorial is "An Incremental Approach to Compiler Construction" by Abdulaziz Ghuloum: http://scheme2006.cs.uchicago.edu/11-ghuloum.pdf What makes it stand out is that it shows you how to build a compiler…
comment by mepian · 2023-04-29 · in Learn C and build your own Lisp (2014) -
Various books do this. Essentials of Compilation is a recent one: https://github.com/IUCompilerCourse/Essentials-of-Compilatio... You can find a PDF and the associated course with a very minimal amount of following links. If you are…
comment by noelwelsh · 2023-03-13 · in Advanced Compilers: Self-Guided Online Course -
I presume that's this, run in \racket mode? https://github.com/IUCompilerCourse/Essentials-of-Compilatio... I ask because there seems to be a \python mode, too, that folks may find valuable: https://github.com/IUCompilerCourse/Essentials-of…
comment by mdaniel · 2021-11-23 · in Indiana University Compilers Course (2020) -
I took the IU compilers course as an undergrad and can easily say it was my favorite course. If anyone is interested, here is a link to the textbook which will cover this papers content in much finer detail:…
comment by jcookeak · 2021-11-05 · in An Incremental Approach to Compiler Construction (2006) [pdf] -
Link was taken from the course website[1]. TeX source is also on GitHub[2]. [1] https://iu.instructure.com/courses/1735985 [2] https://github.com/IUCompilerCourse/Essentials-of-Compilatio...
comment by undecidabot · 2019-07-10 · in Essentials of Compilation – An Incremental Approach [pdf] -
There is a great paper by Abdulaziz Ghuloum, An Incremental Approach to Compiler Construction, that is pretty much the cookbook you want: http://scheme2006.cs.uchicago.edu/11-ghuloum.pdf "We show that building a compiler can be as easy as…
comment by mepian · 2019-01-13 · in If not SICP, then what? Maybe HTDP? -
There are already a lot of suggestions here, I've added to my always increasing reading list this one[1] because, being based on Scheme (Racket to be exact), I'm curious on how a Lisp dialect compiler works internally. [1]…
comment by IronBacon · 2018-09-21 · in How to create an OS from scratch – tutorial -
Yes, we still have a similar course at IU. Here's the textbook for the current incarnation: https://github.com/IUCompilerCourse/Essentials-of-Compilatio...
comment by samth · 2017-09-02 · in My first fifteen compilers