mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-23 11:42:49 -06:00
oops, renamed files
This commit is contained in:
26
doc/tutorial/paleolithic.cf
Normal file
26
doc/tutorial/paleolithic.cf
Normal file
@@ -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" ;
|
||||||
8
doc/tutorial/paleolithic.ebnf
Normal file
8
doc/tutorial/paleolithic.ebnf
Normal file
@@ -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" ;
|
||||||
Reference in New Issue
Block a user