summaryrefslogtreecommitdiff
path: root/examples/tutorial
diff options
context:
space:
mode:
Diffstat (limited to 'examples/tutorial')
-rw-r--r--examples/tutorial/food/food.ebnf4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/tutorial/food/food.ebnf b/examples/tutorial/food/food.ebnf
new file mode 100644
index 000000000..d85739dad
--- /dev/null
+++ b/examples/tutorial/food/food.ebnf
@@ -0,0 +1,4 @@
+Phrase ::=
+ ("this" | "that") Quality* ("wine" | "cheese" | "fish") "is" Quality ;
+Quality ::=
+ ("very"* ("fresh" | "warm" | "boring" | "Italian" | "expensive")) ;