[antlr-interest] object oriented compiler implementation

Edwards, Waverly Waverly.Edwards at genesys.com
Mon Jun 13 07:12:24 PDT 2011

I'll start looking for it.  I haven't been able to find a preview for it.  One of the best things Amazon did is enable previews on books.  It makes life so much easier.  I also looked for it on Google Books.  I haven't found it yet but someone has a preview.

Thanks a bunch,


-----Original Message-----
From: Ranco Marcus [mailto:ranco.marcus at epirion.nl] 
Sent: Sunday, June 12, 2011 8:36 AM
To: Edwards, Waverly; antlr
Subject: RE: object oriented compiler implementation

Hello Waverly,

You may find "Compiler Design" by Renhard Wilhelm and Dieter Maurer helpful. It explains the basics of compiler design with separate chapters for imperative, functional, logic and object-oriented languages.

See http://www.amazon.com/Compiler-Design-International-Computer-Science/dp/0201422905

Best regards,

Ranco Marcus
Epirion Knowledge Solutions B.V.

> -----Original Message-----
> From: antlr-interest-bounces at antlr.org [mailto:antlr-interest-
> bounces at antlr.org] On Behalf Of Edwards, Waverly
> Sent: Saturday, June 11, 2011 12:44 AM
> To: antlr
> Subject: [antlr-interest] object oriented compiler implementation
> This is not directly ANTLR related but have any of you come across a guide,
> tutorial or book (preferably) for implementing an compiler for an object
> oriented language.  I don't mean the compiler is created using an object
> oriented languages, though that would be good.  I mean what goes into
> implementing subclassing, method overriding, hybrid language type safety
> such as objective-c (static and dynamic type) enforcement.  Also things like
> implementing exceptions and polymorphic variables.  I've used them in
> languages but I haven't read how you might go about go about implementing
> them.  I have a few compiler books but interestingly enough, they all deal
> with procedural languages like C or Pascal.  None of them talk about the
> innards of making compilers for object oriented languages.  I do own
> "Language Implementation Patterns", which helped me understand scopes
> for object languages.
> I'm hoping to start with a book that lets you know what to do, what not to do
> and why you don't want to do it that way.  I'd like to start with making fresh
> mistakes versus ones that have been made over and over again.
> Thank you kindly,
> Waverly
> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-
> email-address

More information about the antlr-interest mailing list