summaryrefslogtreecommitdiff
path: root/doc/tutorial/paleolithic.cf
blob: 97da4447f1939ab81854e3f1efc93e124460fa38 (plain)
1
2
3
4
5
6
7
8
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" ;