On May 22, 3:13 pm, Alan Condit acon...@ipns.com wrote:
Has anybody with a Mac successfully rebuilt Antlr-3.2 from source?
I built it successfully like this:
download latest source from http://github.com/antlr/antlr
edit the pom.xml in the root folder, remove the following two lines:
On Jan 16 2009, 4:51 pm, Jim Idle j...@temporal-wave.com wrote:
When you change your template or codegen target java file, you just type:
mvn
And it rebuilds just what has changed in a second or two (depends on your
machine speed of course).
On my slow machine, this takes 33 seconds after
Is it possible to show template outputs in the antlrworks debugger ?
I am trying to run the templates example in antlrworks:
( from the definitive antlr reference: templates/T.g, T.Java, T.stg )
T.g compiles in antlrworks, but it didn't know how to find T.stg...
editing T.g under Run = Edit T.g
On Mar 2, 1:01 am, swathy murthy pskswa...@gmail.com wrote:
the template is not executing. It
is giving a Null Pointer Exception.
An alternative to
stat - {$stat.st} ; // for every stat[ement]
is
use rewrite in your grammar file
options {output=template;
rewrite=true;
}
and
I forgot to mention: you also need to us the rewritten tokenstream instead
of the output:
System.out.println(tokens.toString()); // emit rewritten source instead
of System.out.println(output.toString());// emit translation
On Sat, May 15, 2010 at 5:27 PM, Naveen naveen.g...@gmail.com wrote