A Brief And Brisk Overview of Compiler Architecture
Most compilers out there follow a particular architecture:
In this article I intend to dissect this architecture piece by piece in some detail.
Consider this article a supplement to the plethora of resources out there on compilers. It exists as a self contained resource to get your toes wet in the world of programming language design and implementation.
The audience for this article is someone who has very limited knowledge as to how a compiler works, i.e. you know that they compile into assembly at most. Though I do presume that the reader has a good understanding of data structures & algorithms.
It is by no means reflective of modern ‘production’ compilers with millions of lines of code! But rather a very brief/brisk ‘compilers for dummies’ resource to get an idea of what goes on in a compiler.
Currently, I’m working on a programming language called...
Continue reading →