1
0
forked from GitHub/gf-core

initial check for unknown words in parsing

This commit is contained in:
aarne
2007-06-11 07:49:30 +00:00
parent 84c08b1401
commit 265f29afb6
11 changed files with 33 additions and 9 deletions

View File

@@ -0,0 +1,18 @@
abstract Toy0 = {
-- grammar from Chapter 2 of the Regulus book
flags startcat=MAIN ;
cat
MAIN ; NP ; Noun ; Spec ;
fun
Main : NP -> MAIN ;
SpecNoun : Spec -> Noun -> NP ;
One, Two : Spec ;
Felis, Canis : Noun ;
}