[antlr-interest] Documentation?

Terence Parr parrt at cs.usfca.edu
Mon May 16 22:44:16 PDT 2005


On May 16, 2005, at 11:03 AM, Paul Johnson wrote:

> I've read the reference manual, more-or-less, but I can't  
> immediately see how that's going to be enough to start using ANTLR.  
> From just a cursory look at the examples, I've found a couple of  
> things which aren't documented - 'setFilename', for example, and  
> ##. The whole area of AST generation also seems to be very lightly  
> covered.

Worse!  The tree parsing is poorly implemented ;)  Well, to be fair,  
it has some annoying bugs and some bizarre inconsistencies that nail  
even me.  Sorry if you're having trouble.

> Have I missed something? Perhaps some old PCCTS docs? Anything at  
> all?! I'm thinking about converting a lex/yacc grammar with a  
> couple of hundred productions but, from what I've seen so far, I'm  
> starting to get the feeling that perhaps I shouldn't...   :(

Well, if you're used to building your own trees with yacc, you can  
just do that with antlr so you feel at home. :)

Have you seen my course notes?  Sometimes they help.

Also note that the 3.0 version will have all that tree stuff cleaned  
up and documented (hopefully in a nice book).

Ter



More information about the antlr-interest mailing list