[antlr-interest] Time-out waiting to connect to the remote parser

Terence Parr parrt at cs.usfca.edu
Sat Sep 26 16:31:02 PDT 2009


make sure the port numbers are correct.  what version of AW?
Ter
On Sep 25, 2009, at 8:27 PM, Mark Boylan wrote:

> I've been struggling with a grammar problem for about three day, but
> now I'm really stuck. The AntlrWorks debugger has completely stopped
> working for me.
>
> I tried swapping ports, but it didn't help. I figured that maybe
> something in my amateur grammar was causing it to get hung up and
> leave the port open. So I rebooted and copied a short example from
> "The Definitive Antlr Reference" into a fresh file. Same thing:
> "Time-out waiting to connect to the remote parser."
>
> I shut down AntlrWorks, did a netstat -ano and killed the offending
> process. I did a netstat -ano again and the port was clear. I
> restarted AntlrWorks -- the port was still clear. I hit debug on the
> sample grammar and got the same error.
>
> I've been rebooting and killing processes for an hour or two now, and
> I can't see a solution. Does anyone know how to solve this?
>
> Here's the grammar I'm using to try to fix this:
>
> r : 'call' ID ';' {System.out.println("invoke "+$ID.text);} ;
> ID: 'a'..'z' + ;
> WS: (' ' |'\n' |'\r' )+ {$channel=HIDDEN;} ; // ignore whitespace
>
> Thanks.
>
> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address



More information about the antlr-interest mailing list