RantCompilers != Parsers

time to read 1 min | 121 words

This is just something that really annoys me. There is a common misconception that compilers are mostly about parsing the code. This couldn’t be further from the truth. About the easiest step in building a compiler is parsing the text into some form of machine readable format. There are great tools to help you there, and a lot of information.

It is the next stage that is complex, taking the machine readable format (AST) and turning that into executable. There is a lot less information about that, and that tends to be a pretty gnarly sort of a problem.

As the title says, this post is here just to make sure that people distinguish between the two.

More posts in "Rant" series:

  1. (20 Jul 2012) SignalR, Crazyiness, Head Butting & Wall Crashing
  2. (08 Sep 2011) Who thought THIS was a good idea?!
  3. (19 Oct 2009) Compilers != Parsers
  4. (05 Dec 2006) CSC Is Stupid