The generator accepts grammars written using the defined meta language. This meta language is based on the ANTLR grammar definition with the particular feature that the user can annotate the production terms. Since the annotations are optional the generator accepts pure ANTLR grammars.
The grammar annotations are used to change the appearance of the text in the editor as well as displaying tips on the tree nodes.
instr : ifInstruction
| whileInstruction
| forInstruction
| atr ';' @nl
;
ifInstruction : 'if' '(' cond ')' '{'@nlt instrs '}' @nl elseCondition?
;
atr : ID@c=red '=' exp
;