[antlr-interest] No lexer generated

Bernard Kaiflin bkaiflin.ruby at gmail.com
Thu Nov 15 09:19:26 PST 2012


COBOL : Completely Outdated and Badly Overused Language  *:*D

Well, no so bad, it executes faster than some widespread OO languages ...

2012/11/15 Juancarlo Añez <apalala at gmail.com>

> I have a grammar that starts like this:
>
> grammar COBOL;
> options {
>     language  = Python;
>     backtrack = false;
>     output    = AST;
>     ASTLabelType=CommonTree;
> }
>
> import Tokens, Lexical;
>
>
> And no lexer or code for Tokens or Lexical is generated.
>
> I have the exact same setup for another grammar, and it works.
>
> What can be happening this time?
>
> --
> Juancarlo *Añez*
>
> 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