An Incrementally-implemented Scheme Compiler
This is based on a paper, a supplementary tutorial, and a set of tests by Abdulaziz Ghuloum:
- An Incremental Approach to Compiler Construction (Paper)
- Compilers: Backend to Frontend and Back to Front Again (Tutorial)
- Tests
The tutorial does not include the complete compiler code from start to finish; rather, it teaches the concepts and leaves the implementation to the reader, which I believe is pretty neat!
I have downloaded the materials from the Internet Archive.
It is also worth mentioning that I’m new to Scheme. So, practically, I’m implementing a compiler for Scheme, in Scheme, while learning Scheme!