[antlr-interest] problems with the ECMAScript grammar for ANTLR 3.0

John B. Brodie jbb at acm.org
Tue Aug 15 08:02:31 PDT 2006


on Tue, 15 Aug 2006 17:25:54, Angel Todorov asked:
>Hi guys,

Hi!

>I am having problems generating a lexer and a parser for the
>"official" ECMAScript grammar posted on your website , for ANTLR v
>3.0:
>
>java -cp ".;antlr-2.7.6.jar;antlr.3.0b2.jar;stringtemplate-2.3b8.jar"
>antlr.Tool ecmascriptA3.g
 ^^^^^^^^^^

the invocation name of the ANTLR v3 Tool is org.antlr.Tool purposefully
renamed to be distinguished from the v2 Tool antlr.Tool.

Hope this helps...
   -jbb


More information about the antlr-interest mailing list