[antlr-interest] Problem with Ruby code generation target

1115201006 at HotPOP.com 1115201006 at HotPOP.com
Sat Jun 23 10:17:14 PDT 2007


Hi all,
I've a problem with the code generation in Ruby, where I try to generate
code from the sample grammar Calculator.g (distribuited with the Antlr
sources) I get this errors:

[19:09:34] error(10):  internal error: group Ruby does not satisfy interface
ANTLRCore: missing templates [lexerRuleRefAndListLabel] 

[19:09:34] error(10):  internal error: group Ruby does not satisfy interface
ANTLRCore: mismatched arguments on these templates [charRangeRef(a, b,
label), lexerRuleRef(rule, label, args, elementIndex), lexerMatchEOF(label,
elementIndex), tree(root, actionsAfterRoot, children, nullableChildList)] 

there's a solution? a workaround?
I've Antlrworks 1.0.2 on a linux box





More information about the antlr-interest mailing list