[antlr-interest] How to support a new type

Johannes Luber jaluber at gmx.de
Mon Apr 14 12:18:05 PDT 2008


Yixun Liu schrieb:
> Hi,
> I want to write a parser.g to support a new type, e.g, dim3. How to do it?

What so you mean with a new type? Do you want to parse a new type in 
some sourcecode, or do you want to use dim3 as return type for some 
rule, or is it something else?

Johannes


More information about the antlr-interest mailing list