Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!snorkelwacker.mit.edu!bloom-beacon!eru!hagbard!sunic!mcsun!ukc!slxsys!jclark!jjc From: jjc@jclark.UUCP (James Clark) Newsgroups: comp.lang.c++ Subject: Re: Compiler implementation in C++ Message-ID: Date: 15 May 91 09:38:00 GMT References: <1991May14.184613.25167@atc1.atc.com> Sender: jjc@jclark.uucp (James Clark) Organization: None, London, England Lines: 19 In-Reply-To: suresh@atc1.atc.com's message of 14 May 91 18:46:13 GMT In article <1991May14.184613.25167@atc1.atc.com> suresh@atc1.atc.com (P. Suresh) writes: We are writing a translator in C++ for a graphics description language, roughly of the size of a programming language. This is our first C++ project and will appreciate seeing some C++ code examples in the areas of parsing, semantics, symbol table handling, interpretors etc. Does any one know a book or articles on these? Is there a public-domain compiler for any language, small or big, that can get us started in the right direction in designing appropriate data structures (classes)? You might want to have a look at groff which includes a C++ implementation of the pic graphics language. It's not public domain, but it is free. You can get it by anonymous ftp from prep.ai.mit.edu:pub/gnu/groff-1.01.tar.Z, or from your local GNU archive. James Clark jjc@jclark.uucp