Books on OOP compiler design?
30 Oct 1996 13:24:58 -0500

          From comp.compilers

Related articles
Books on OOP compiler design? (1996-10-30)
Re: Books on OOP compiler design? (1996-11-01)
| List of all articles for this month |

Newsgroups: comp.compilers
Date: 30 Oct 1996 13:24:58 -0500
Organization: Compilers Central
Keywords: courses, OOP, design, question


I saw your note in the comp.compiler newsgroup, in the thread about
choosing which language to implement a compiler in. I'm a high school
teacher, teaching a group of my students to write a (C, interactive
editor) compiler. My compiler-writing experience is with C (while
getting MS in computer science, at NYU), but with my students I am
using C++ and looking for advice on doing it nicely. (We've got tokens
as a class that can work with cin >> and cout <<, with subclasses for
tokens that hold identifiers, literals, constants, etc. Now we're
thinking about how to do the symbol table and syntax trees with

Is there any place where OOPS techniques for writing compilers are
discussed? My web wanderings haven't turned up that much yet, but
dejanews was nice enough to find the thread discussed above. I've also
discovered that sun will send out source code for their hotJava
compiler (which is written in Java), but samples of C++ would be even
more useful. Thanks for any pointers...(I read the FAQ, and Aho &
Sethi "Compilers", but they doesn't address using OOP techniques for
compiler design).

--Mike Roam


Post a followup to this message

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