← Back to context

Comment by userbinator

10 years ago

There's an x86 version of Crenshaw's excellent tutorial here: http://www.pp4s.co.uk/main/tu-trans-comp-jc-intro.html

I'd definitely recommend it highly; the only way it could be better is if it arrived at a compiler that could compile itself.

Another article which I think everyone attempting to write a compiler should read is https://www.engr.mun.ca/~theo/Misc/exp_parsing.htm - how to simply and efficiently parse expressions.