forked from GitHub/gf-core
Experimenting with the new parser:
Experimenting with the new parser: p -cat=S -new -parser=CF-BU "John walks"
This commit is contained in:
15
grammars/basic/Basic.gf
Normal file
15
grammars/basic/Basic.gf
Normal file
@@ -0,0 +1,15 @@
|
||||
abstract Basic = {
|
||||
|
||||
cat
|
||||
S ; NP ; A1 ; CN ;
|
||||
|
||||
fun
|
||||
PredA1 : NP -> A1 -> S ;
|
||||
CondS : S -> S -> S ;
|
||||
DisjA1 : A1 -> A1 -> A1 ;
|
||||
Every : CN -> NP ;
|
||||
ModA1 : CN -> A1 -> CN ;
|
||||
Number : CN ;
|
||||
Even : A1 ; Odd : A1 ; Prime : A1 ;
|
||||
Zero : NP ;
|
||||
}
|
||||
Reference in New Issue
Block a user