[antlr-interest] Help for a new chum

John Holliday John.Holliday at citec.com.au
Wed Jan 21 21:30:53 PST 2009


Hi There,

 

I'm new to the world of formal grammar parsing and need some pointers...


 

For some time I've had a hobby project of an SQL formatter. It started
in C, got ported to C++ and now I want to move it to Java.  To date,
I've manually written all the parsing code, but this time, I think I'll
get smart.... I've found a grammar that (mostly) suits my needs, and
I've managed to get it working in Antlr works. Now I'm trying to figure
out how to use the generated code to do something useful, but I'm
struggling. All pointers to articles/examples would be most appreciated.

 

Also, in the ANTLR Cheat Sheet there's reference to a TP.g grammar. Is
the source for that file anywhere (and is it relevant)?

 

Cheers JH

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20090122/cbbe26d3/attachment.html 


More information about the antlr-interest mailing list