Re: the long way to the development of a compiler

Christian Bau <christian.bau@isltd.insignia.com>
2 Jul 2001 12:29:57 -0400

          From comp.compilers

Related articles
the long way to the development of a compiler stf@apl.it (Stefano Lanzavecchia) (2001-06-28)
Re: the long way to the development of a compiler lockner@chaos.cns.uni.edu (Matthew J.Lockner) (2001-07-01)
Re: the long way to the development of a compiler neelk@alum.mit.edu (2001-07-02)
Re: the long way to the development of a compiler dlindauer@notifier-is.net (david lindauer) (2001-07-02)
Re: the long way to the development of a compiler walter@nospamm-digitalmars.com (walter) (2001-07-02)
Re: the long way to the development of a compiler stf@apl.it (Stefano Lanzavecchia) (2001-07-02)
Re: the long way to the development of a compiler christian.bau@isltd.insignia.com (Christian Bau) (2001-07-02)
Re: the long way to the development of a compiler aleksey+@cs.cmu.edu (Aleksey Kliger) (2001-07-03)
Re: the long way to the development of a compiler neelk@alum.mit.edu (2001-07-03)
Re: the long way to the development of a compiler franck.pissotte@free.fr (Franck Pissotte) (2001-07-03)
Re: the long way to the development of a compiler marcov@toad.stack.nl (2001-07-06)
Re: the long way to the development of a compiler frido@q-software-solutions.com (Friedrich Dominicus) (2001-07-17)
| List of all articles for this month |

From: Christian Bau <christian.bau@isltd.insignia.com>
Newsgroups: comp.compilers
Date: 2 Jul 2001 12:29:57 -0400
Organization: Insignia Solutions plc
References: 01-06-071
Keywords: books
Posted-Date: 02 Jul 2001 12:29:57 EDT

Stefano Lanzavecchia wrote:


> I guess what I am really looking for is a set of reasonably well
> documented sample programs, that implement simple compilers with
> simple, but working back-ends (but a recommendation for a book would
> be equally good).


I liked "A retargetable C compiler: Design and Implementation" by Fraser
and others. Complete source code for a C compiler except preprocessor,
quite readable, and you can also download the source from some webpage
(search for lcc compiler). Not too difficult, backends for a few
different processors. Not very optimising, the major optimisation is
optimal instruction selection but no scheduling, loop optimisations etc.


Post a followup to this message

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