ANTLRWorks Plug-in Cannot Find Generated Tokens For AST
I'm using JDK 6, IntelliJ 7.0.4 build 7962, ANTLR 3.1.1, and the latest ANTLRWorks plug-in to work through a copy of the Pragmatic "Definitive ANTLR".
When I get to section 3.3, 'Evaluating Expressions Using An AST Intermediate Form', ANTLRWorks fails me. I get a pop-up that says "cannot find tokens file <unset-dir>\Expr.tokens" whenever I try to generate code.
When I ran org.antlr.Tools on the command line, I found out about the -lib parameter. I tried setting that in ANTLRWorks, but it still couldn't find the .tokens file.
When I generated code on the command line without ANTLRWorks, all was well. It appears that ANTLRWorks is not using the ANTLR options properly.
%
请先登录再写评论。
I don't know of Jean Bovet monitors these forums, so in case you don't get an answer, you might want to ask on the ANLTR mailing list, where I know he does subscribe.
- Archive: http://www.antlr.org:8080/pipermail/antlr-interest/
- Subscribe: http://www.antlr.org:8080/mailman/listinfo/antlr-interest
Randall Schulz
Thank you, Randall.
I subscribed to the interest list for ANTLR, but I haven't found it to be too useful so far. I'll try again.
%