Slide 38
Slide 38 text
Parameterizing rules
Name Recognizes Alias
option(X) є | X X?
list(X) a possibly empty sequence of X’s X*
nonempty_list(X) a nonempty sequence of X’s X+
separated_list(sep, X)
a possibly empty sequence of X’s
separated with sep’s
separated_nonempty_list(sep, X)
a nonempty sequence of X’s
separated with sep’s