[antlr-interest] Python target: output=template ready for testing

Benjamin Niemann pink at odahoda.de
Tue Dec 4 19:47:32 PST 2007


Update: the stringtemplate3 is now available as beta:
<http://www.stringtemplate.org/download/stringtemplate3-3.1b1.tar.gz>

-Ben

Benjamin Niemann wrote:
> If you are interested in the output=template option of ANTLR, have a 
> look at the repository <http://fisheye2.cenqua.com/browse/antlr> - I 
> just checked in the implementation for it. Using template output creates 
> a dependency on the antlr2 runtime and stringtemplate3, which you have 
> to grab from fisheye as well. Some minimal documentation can be found in 
> the wiki <http://www.antlr.org/wiki/display/ANTLR3/Antlr3PythonTarget>.
> Using output=template with rewrite=true is a damn cool thing, if you are 
> tweaking structure text ;)
> 
> BTW: most other V3.1 features should be available in the Python target 
> as well.



More information about the antlr-interest mailing list