mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-22 11:19:32 -06:00
lrec tutorial examples
This commit is contained in:
17
examples/lrec-tutorial/Grammar.gf
Normal file
17
examples/lrec-tutorial/Grammar.gf
Normal file
@@ -0,0 +1,17 @@
|
||||
abstract Grammar = {
|
||||
cat
|
||||
Cl ; NP ; VP ; AP ; CN ; Det ; N ; A ; V ; V2 ;
|
||||
fun
|
||||
PredVP : NP -> VP -> Cl ;
|
||||
ComplV2 : V2 -> NP -> VP ;
|
||||
DetCN : Det -> CN -> NP ;
|
||||
ModCN : CN -> AP -> CN ;
|
||||
|
||||
UseV : V -> VP ;
|
||||
UseN : N -> CN ;
|
||||
UseA : A -> AP ;
|
||||
|
||||
a_Det, the_Det : Det ;
|
||||
this_Det, these_Det : Det ;
|
||||
i_NP, she_NP, we_NP : NP ;
|
||||
}
|
||||
Reference in New Issue
Block a user