From 026701b2f76a7c4b07d57b89185dc6be276bcf72 Mon Sep 17 00:00:00 2001 From: aarne Date: Sat, 16 Apr 2005 16:02:51 +0000 Subject: [PATCH] oops, renamed files --- doc/tutorial/paleolithic.cf | 26 ++++++++++++++++++++++++++ doc/tutorial/paleolithic.ebnf | 8 ++++++++ 2 files changed, 34 insertions(+) create mode 100644 doc/tutorial/paleolithic.cf create mode 100644 doc/tutorial/paleolithic.ebnf 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" ;