Re: compiler designing

"toby" <>
11 Mar 2006 23:33:55 -0500

          From comp.compilers

Related articles
compiler desinging (pradeep) (2006-03-05)
Re: compiler desinging (Gene) (2006-03-06)
Re: compiler designing (toby) (2006-03-11)
Re: compiler designing (Jatin Bhateja) (2006-03-11)
Re: compiler designing (Rafael 'Dido' Sevilla) (2006-03-15)
compiler designing (Daniele Benegiamo) (1999-04-06)
| List of all articles for this month |

From: "toby" <>
Newsgroups: comp.compilers
Date: 11 Mar 2006 23:33:55 -0500
References: 06-03-01006-03-018
Keywords: design, C
Posted-Date: 11 Mar 2006 23:33:55 EST

Gene wrote:
> pradeep wrote:
> > i am trying to desgin a compiler which will support full binary
> > expression evaluation along with decision control system.. i have
> > studied Compiler Desgining by Aho, Ullman,
> >
> > can somebody suggest me sometext book where i can find some source code
> > help ?
> There is an old book by Allen Holub that is pretty much the source
> code for a simple 1-pass compiler explained. ...
> In addition, there are several compiler books that have more specific
> examples than ASU. My favorite for a first book is Kenneth Louden.
> ...
> You should also consider studying sources of Open Source compilers and
> interpreters. The most nicely engineered language implementation I
> have seen is Python. Though it's not a native code compiler, you can
> learn much from it. Of course there is GCC, but unless you are very
> experienced at reading C (and even if you are!), this may take some
> serious time.

A much simpler ANSI C compiler, which has been fully documented in
literate programming style, is lcc. Fraser and Hanson's book is dense
but covers everything needed for a complete compiler:
Also see:

Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.