[antlr-interest] Problem with StringTemplate example
Terence Parr
parrt at cs.usfca.edu
Tue Nov 20 08:51:36 PST 2007
On Nov 20, 2007, at 6:17 AM, Bolek Vrany wrote:
> Hello,
>
> I tried to compile and run the StringTemplate example from the
> ANTLR v3 sample grammars (C, C#, Java targets)
> http://www.antlr.org/download/examples-v3.tar.gz
>
> I opened the grammar templates\T.g in ANTLRworks and let it
> generate the parser. However, ANTRLworks cannot debug it - it
> complains about timeouts. Next, I tried to run it in Java myself
> with this text to be parsed
> ABCD=1234;
> However, it goes to the line
> TParser parser = new TParser(tokens); // create parser
> and never returns. CPU load goes to 100% and it never returns.
Load should be 0 as it's waiting for AW to connect. From cmd line
start, you must ask AW to do debug remote. From within AW, just do
debug. should be no problem.
Ter
More information about the antlr-interest
mailing list