[type]
Parser

[grammar]
grammar T;
a : LETTERS* 'd' {<InputText():writeln()>} ;
// Note the double-backslash to avoid Java passing
// unescaped values as part of the grammar.
LETTERS : ('a'|'\\u{1F600}'..'\\u{1F943}');

[start]
a

[input]
a😉🥂🜀d

[output]
"""a😉🥂🜀d
"""

