[antlr-interest] book examples list

Edwards, Waverly Waverly.Edwards at genesys.com
Thu Aug 21 08:50:17 PDT 2008


 
Since you are covering symbol tables would you cover the handling of
type checking, aggregate types,type equivalency (name vs. structural)


Also would you elaborate on what you mean by "building a simple
compiler"


Thanks,


W.
-----Original Message-----
From: antlr-interest-bounces at antlr.org
[mailto:antlr-interest-bounces at antlr.org] On Behalf Of Terence Parr
Sent: Wednesday, August 20, 2008 4:59 PM
To: antlr ANTLR
Subject: [antlr-interest] book examples list

Hi, I have either build or in planning on building the following  
examples for the book in order to demonstrate all the patterns and  
principles.  Comments?

[snip]

SEMANTIC ANALYSIS
A Symbol Table for C
A Symbol Table for a subset of Java
Detecting uninitialized variable references

[snip]

TRANSLATOR
Wiki to HTML
Generating class hierarchy diagrams
Building a source code pretty printer
	Wow...this turns out to be extremely difficult!
Building a simple compiler
Adding closures to a Java-like language
Differentiating polynomials using ANTLRMorph


More information about the antlr-interest mailing list