summaryrefslogtreecommitdiff
path: root/doc/tutorial/paleolithic.ebnf
diff options
context:
space:
mode:
authoraarne <unknown>2005-04-16 16:02:51 +0000
committeraarne <unknown>2005-04-16 16:02:51 +0000
commit026701b2f76a7c4b07d57b89185dc6be276bcf72 (patch)
tree67997b22331eb095800a6d0a2ba4aab202f86e05 /doc/tutorial/paleolithic.ebnf
parentb71611851aa908767903bf819256d1d4f56e13d4 (diff)
oops, renamed files
Diffstat (limited to 'doc/tutorial/paleolithic.ebnf')
-rw-r--r--doc/tutorial/paleolithic.ebnf8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/tutorial/paleolithic.ebnf b/doc/tutorial/paleolithic.ebnf
new file mode 100644
index 000000000..96b155993
--- /dev/null
+++ b/doc/tutorial/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 ::= "bird" | "boy" | "man" | "louse" | "snake" | "worm" ;
+A ::= "big" | "green" | "rotten" | "thick" | "warm" ;
+V ::= "laughs" | "sleeps" | "swims" ;
+TV ::= "eats" | "kills" | "washes" ;