Step-by-step development of a Scheme-to-x86 compiler, based on Abdulaziz Ghuloum's paper, An Incremental Approach to Compiler Construction, and extended draft tutorial, Compilers: Backend to Frontend and Back to Front Again.
The CPS conversion is based on Matt Might's web article, How to compile with continuations.
See the src directory.
docker build -t=namin/inc .
docker run -i -t namin/inc /bin/bash
docker run -it -v $(pwd):/inc-live namin/inc /bin/bash