How to write a Compiler in C for C
- by Kerb_z
I want to write a Compiler for C. This is a Project for my College i am doing as per my University. I am an intermediate programmer in C, with understanding of Data Structures.
Now i know a Compiler has the following parts:
1. Lexer
2. Parser
3. Intermediate Code Generator
4. Optimizer
5. Code Generator
I want to begin with the Lexer part and…