[type]
Parser

[grammar]
grammar T;
s
@init {
<BuildParseTrees()>
}
@after {
<ToStringTree("$r.ctx"):writeln()>
}
  : r=a ;
a : 'x' 'y'
  ;

[start]
s

[input]
xy

[output]
"""(a x y)
"""

