A tiny GCC front end – Part 5
In the last installment of this series we saw how to verify that the sequence of tokens of the input is syntactically valid. Today we will see what we need to give it meaning.
A tiny GCC front end – Part 4
Now that we have a stream of tokens we can start performing syntactic analysis.
A tiny GCC front end – Part 3
Now that the minimal infrastructure is already set, we can start with the implementation of our tiny front end. Today we will talk about the lexer.
A tiny GCC front end – Part 2
The previous installment of this series was all about the syntax and the semantics of the tiny language. In this chapter we will start implementing a front end for tiny in GCC. The journey will be long but rewarding. Let's get started.
A tiny GCC front end – Part 1
In this series we will see the process of adding a new front end for a very simple language in GCC. If you, like me, marvel at the magic of compilers then these posts may be for you.