summaryrefslogtreecommitdiff
path: root/doc/tutorial/paleolithic.cf
diff options
context:
space:
mode:
Diffstat (limited to 'doc/tutorial/paleolithic.cf')
-rw-r--r--doc/tutorial/paleolithic.cf31
1 files changed, 8 insertions, 23 deletions
diff --git a/doc/tutorial/paleolithic.cf b/doc/tutorial/paleolithic.cf
index 08496c800..97da4447f 100644
--- a/doc/tutorial/paleolithic.cf
+++ b/doc/tutorial/paleolithic.cf
@@ -1,23 +1,8 @@
-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 ;
-Boy. CN ::= "boy" ;
-Louse. CN ::= "louse" ;
-Snake. CN ::= "snake" ;
-Worm. CN ::= "worm" ;
-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" ;
+S ::= NP VP ;
+VP ::= V | TV NP | "is" A ;
+NP ::= "this" CN | "that" CN | "the" CN | "a" CN ;
+CN ::= A CN ;
+CN ::= "boy" | "louse" | "snake" | "worm" ;
+A ::= "green" | "rotten" | "thick" | "warm" ;
+V ::= "laughs" | "sleeps" | "swims" ;
+TV ::= "eats" | "kills" | "washes" ;