I Built a Lisp Compiler
I also figured that if I could get through the steps writing an interpreter for Mal, I could probably repeat those same steps to make a compiler for Mal. Starting again with the Mal step-by-step guide, along with my stale C experience, I was able to build a Mal compiler in a couple months worth of spare evenings and weekends. Here is the process I’d recommend to make your own Lisp compiler:
I believe this technique can be used with just about any programming language that compiles to an executable.
Source: mpov.timmorgan.org