summaryrefslogtreecommitdiff
path: root/doc
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
parentb71611851aa908767903bf819256d1d4f56e13d4 (diff)
oops, renamed files
Diffstat (limited to 'doc')
-rw-r--r--doc/tutorial/paleolithic.cf26
-rw-r--r--doc/tutorial/paleolithic.ebnf8
2 files changed, 34 insertions, 0 deletions
diff --git a/doc/tutorial/paleolithic.cf b/doc/tutorial/paleolithic.cf
new file mode 100644
index 000000000..d9869a257
--- /dev/null
+++ b/doc/tutorial/paleolithic.cf
@@ -0,0 +1,26 @@
+PredVP. S ::= NP VP ;
+UseV. VP ::= V ;
+ComplTV. VP ::= TV NP ;
+UseA. VP ::= "is" A ;
+This. NP ::= "this" CN ;
+That. NP ::= "that" CN ;
+Def. NP ::= "the" CN ;
+Indef. NP ::= "a" CN ;
+ModA. CN ::= A CN ;
+Bird. CN ::= "bird" ;
+Boy. CN ::= "boy" ;
+Man. CN ::= "man" ;
+Louse. CN ::= "louse" ;
+Snake. CN ::= "snake" ;
+Worm. CN ::= "worm" ;
+Big. A ::= "big" ;
+Green. A ::= "green" ;
+Rotten. A ::= "rotten" ;
+Thick. A ::= "thick" ;
+Warm. A ::= "warm" ;
+Laugh. V ::= "laughs" ;
+Sleep. V ::= "sleeps" ;
+Swim. V ::= "swims" ;
+Eat. TV ::= "eats" ;
+Kill. TV ::= "kills"
+Wash. TV ::= "washes" ;
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" ;