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