我在 Eclipse Indigo 上使用 antlr-3.4-complete-no-antlrv2.jar 版本的 ANTLR。
我已经安装了 ANTLR IDE 插件以及 ZEST 和 GEF。当我生成组合语法文件并添加标头、词法分析器标头和规则时,Eclipse 不会生成 Parser 和 Lexer 文件。
如果我使用 antlr-3.2.jar 就可以了。我可以使用java -classpath antlr-3.4-complete-no-antlrv2.jar org.antlr.Tool Sample.g在 Eclipse 之外生成 Lexer 和 Parser 文件(使用 antlr-3.4.*)。
有没有办法在 Eclipse 3.4 版中打开它?