How to write a Compiler in C for C
Posted
by Kerb_z
on Stack Overflow
See other posts from Stack Overflow
or by Kerb_z
Published on 2010-05-16T10:43:43Z
Indexed on
2010/05/16
10:50 UTC
Read the original article
Hit count: 271
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 move on to Parser.
I am consulting the following book:
Compilers: Principles, Techniques, and Tools by Alfred V. Aho, Ravi Sethi, Jeffrey D. Ullman.
The thing is that this book is highly theoretical and perplexing to me.
I really appreciate the authors. But the point is i am not able to begin my project,
as if i am blinded where to go.
Need guidance please help.
© Stack Overflow or respective owner