From 1d40350b6eb3aa00f75e655344b8fadf29a9dbcb Mon Sep 17 00:00:00 2001 From: aarne Date: Tue, 11 Sep 2007 13:13:48 +0000 Subject: refs for book --- examples/tutorial/food/food.ebnf | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 examples/tutorial/food/food.ebnf (limited to 'examples/tutorial') 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")) ; -- cgit v1.2.3