[antlr-interest] How to debug tree grammar??
sunao furukawa
sadie at kind.ocn.ne.jp
Mon Jul 20 01:30:46 PDT 2009
This is self-follow message.
> 1.I generated E3.tokens and E3Lexer.java and E3Parser.java from E3.g in
> ANTLRWorks.
> 2.I generated and compiled T1.g(T1.java,T1.tokens),and E3.tokens and
> E3Lexer.java and E3Parser.java
> by debug.
This 2 ask me input [a=1 (CRLF) a+2*3 (CRLF)] .
when next file is executed ,error occur,
Test program __Test__.class is executed(java __Test__)
(ASSIGN a 1)
(ALU_ADD a (ALU_MUL 2 3))
java.net.BindException: Address already in use: JVM_Bind
java.net.BindException: Address already in use: JVM_Bind
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(Unknown Source)
at java.net.ServerSocket.bind(Unknown Source)
at java.net.ServerSocket.<init>(Unknown Source)
at java.net.ServerSocket.<init>(Unknown Source)
at
org.antlr.runtime.debug.DebugEventSocketProxy.handshake(DebugEventSocketProxy.java:75) at T1.<init>(T1.java:55) at T1.<init>(T1.java:47) at __Test__.main(__Test__.java:17) Exception in thread "main" java.lang.NullPointerException at org.antlr.runtime.debug.DebugEventSocketProxy.transmit(DebugEventSocketProxy.java:116) at org.antlr.runtime.debug.DebugEventSocketProxy.exitRule(DebugEventSocketProxy.java:130) at T1.prog(T1.java:154) at __Test__.main(__Test__.java:19)
More information about the antlr-interest
mailing list