[antlr-interest] Basic grammar problem

Mats Behre mb.fgel at ownit.nu
Sun Nov 4 02:14:42 PST 2007


>I've tried to write basic parser. which need to return value for input
>string. String example: "parameter(1)". Parser need to return value
>from predefined map: parameters.get(1). I can't understand where
>problem is.

Well, what *is* the problem?

For me it outputs '2', just as expected.

Mats


More information about the antlr-interest mailing list