From 6398140d0ac21ad05a0c595b77007631cd5e1265 Mon Sep 17 00:00:00 2001 From: aarne Date: Sun, 18 Dec 2005 21:26:21 +0000 Subject: new tutorial example --- doc/tutorial/old/paleolithic.ebnf | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 doc/tutorial/old/paleolithic.ebnf (limited to 'doc/tutorial/old/paleolithic.ebnf') diff --git a/doc/tutorial/old/paleolithic.ebnf b/doc/tutorial/old/paleolithic.ebnf new file mode 100644 index 000000000..cd091ae04 --- /dev/null +++ b/doc/tutorial/old/paleolithic.ebnf @@ -0,0 +1,8 @@ +S ::= NP VP ; +VP ::= V | TV NP | "is" A ; +NP ::= ("this" | "that" | "the" | "a") CN ; +CN ::= A CN ; +CN ::= "boy" | "louse" | "snake" | "worm" ; +A ::= "green" | "rotten" | "thick" | "warm" ; +V ::= "laughs" | "sleeps" | "swims" ; +TV ::= "eats" | "kills" | "washes" ; -- cgit v1.2.3