...
Takes 9 seconds on my 1Ghz laptop or 4 seconds with jikes. Later I'll have a real build mechanism, though I must admit the one-liner appeals to me. I use Intellij so I never type anything actually to build.
Actually, this won't rebuild the grammars. If you touch the grammars, you need to convert all those Java:
No Format |
---|
cd antlr-3.0/src/org/antlr/tool
java antlr.Tool antlr.g
java antlr.Tool antlr.print.g
java antlr.Tool assign.types.g
java antlr.Tool define.g
java antlr.Tool buildnfa.g
cp ANTLRTokenTypes.txt ../codegen
pushd ../codegen; java antlr.Tool codegen.g; popd
|
That is for the v2-based grammars. There are actually two v3 grammars written in v3. Don't mess with them until I can rebuild all grammars in v3.