3 ms·
I wonder if scheme-based compiler courses are still run at Indiana University? Abdulaziz Ghuloum's 'Incremental compiler construction' [1] also has a working c
by kristianp 9y ago
I wonder if scheme-based compiler courses are still run at Indiana University?
Abdulaziz Ghuloum's 'Incremental compiler construction' [1] also has a working compiler at the end of each stage. For example after the first week you have a compiler that outputs a program that prints a single integer, the 2nd week immediates. The tutorial is at [2]. It doesn't use a nanopass framework, just builds the complexity of the language. It's for a scheme compiler written in scheme.
Apparently Ghuloum was a phd student under Dyvbig who also wrote his own scheme compiler to x86 [3],[4].
[1] http://scheme2006.cs.uchicago.edu/11-ghuloum.pdf http://scheme2006.cs.uchicago.edu/11-ghuloum.pdf
[2] https://raw.githubusercontent.com/namin/inc/master/docs/tutorial.pdf https://raw.githubusercontent.com/namin/inc/master/docs/tuto...
[3] https://en.wikipedia.org/wiki/Ikarus_(Scheme_implementation) https://en.wikipedia.org/wiki/Ikarus_(Scheme_implementation)
[4] https://web.archive.org/web/20101210085823/http://www.cs.indiana.edu/~aghuloum/ https://web.archive.org/web/20101210085823/http://www.cs.ind...
- samth 9y agoYes, we still have a similar course at IU. Here's the textbook for the current incarnation: https://github.com/IUCompilerCourse/Essentials-of-Compilation https://github.com/IUCompilerCourse/Essentials-of-Compilatio...
- jpolitz 9y agoThat paper is amazing. Plug for my course, which is built around the ideas in Ghuloum's paper, and I've talked about before on HN: https://news.ycombinator.com/item?id=13207695 https://news.ycombinator.com/item?id=13207695 https://news.ycombinator.com/item?id=15005853 https://news.ycombinator.com/item?id=15005853