Skip to content

Comment on Learning to write a compilerparent

Comments

I think that combining this short compiler tutorial with LLVM would be a very effective way for someone to get comfortable with basic compiler writing:

http://scheme2006.cs.uchicago.edu/11-ghuloum.pdf

Afterward, learning how to do lexing and parsing would be a good addition. The tutorial covers a subset of scheme, which is trivially simple to parse, especially if you're writing the compiler in scheme as well.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.