# ? detect digraph bug
class P
token A B C D
rule
target : a b c d
a : A
|
b : B
c : C
d : D
end
---- inner
def parse
do_parse
def next_token
[false, '$']
---- footer
P.new.parse