You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#lang yaragg
|
|
|
|
top : w | x | y | z | a | b | c
|
|
|
|
w : /"w" ; atom
|
|
|
|
x : /("x") ; seq
|
|
|
|
y : /("y" "y") ; seq
|
|
|
|
z : /("w" | "z") ; choice
|
|
|
|
a : /["a"] ; opt
|
|
|
|
b : /(["b"] "b") ; opt in seq
|
|
|
|
c : /"c"+ ; repeat
|