[antlr-interest] No lexer generated
Juancarlo Añez
apalala at gmail.com
Thu Nov 15 09:22:18 PST 2012
Bernard,
Alas, I'm not writing a compiler. I'm writing a translator.
On Thu, Nov 15, 2012 at 12:49 PM, Bernard Kaiflin
<bkaiflin.ruby at gmail.com>wrote:
> 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
>>
>
>
--
Juancarlo *Añez*
More information about the antlr-interest
mailing list