Related articles |
---|
compiler implementation ujjwalbhoota@yahoo.com (2002-12-11) |
Re: compiler implementation cgweav@aol.com (2002-12-19) |
From: | ujjwalbhoota@yahoo.com (ujjwal bhoota) |
Newsgroups: | comp.compilers |
Date: | 11 Dec 2002 22:27:55 -0500 |
Organization: | http://groups.google.com/ |
Keywords: | question |
Posted-Date: | 11 Dec 2002 22:27:55 EST |
Hi,
I am interested in building a compiler for a language like C,
because this is probably the best way I think to get a feel of how a
compiler actually work. I have read scanning, parsing and
intermediate-code-generation part from Aho book but I dont think that
I can build a compiler from that knowledge.
Could any one suggest me how should I go about it. Is there any good
book for my perpose?
As I think I have 2 choices..(1)I use lex and yaac (2)I dont use
them.
I am more biased towards choice (1) because firstly it will keep me
away from detail of scanning and parsing(which I suppose are very
general concepts) and will allow me to concentrate more on
core-compiler concepts and secondly it will speed up implementation.
But this is just my guess, and I need your suggestion.
Thanks
Rinku
[If you can get a copy of Holub's book, it contains the complete annotated
source code for a subset C compiler written in C, along with tools similar
to lex and yacc. -John]
Return to the
comp.compilers page.
Search the
comp.compilers archives again.