mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-10-21 07:03:11 -06:00
Added transfer example: constructing reflexives.
This commit is contained in:
1 parent
c5eea4b375
commit
941a9f35ba
4 files changed
+121
No files matched your search
@@ -0,0 +1,21 @@
|
||||
import prelude ;
|
||||
data Cat : Type where {
|
||||
Conj : Cat ;
|
||||
NP : Cat ;
|
||||
S : Cat ;
|
||||
V2 : Cat
|
||||
} ;
|
||||
data Tree : Cat -> Type where {
|
||||
And : Tree Conj ;
|
||||
Bill : Tree NP ;
|
||||
ConjNP : Tree Conj -> Tree NP -> Tree NP -> Tree NP ;
|
||||
John : Tree NP ;
|
||||
Mary : Tree NP ;
|
||||
Or : Tree Conj ;
|
||||
PredV2 : Tree V2 -> Tree NP -> Tree NP -> Tree S ;
|
||||
ReflV2 : Tree V2 -> Tree NP -> Tree S ;
|
||||
See : Tree V2 ;
|
||||
Whip : Tree V2
|
||||
} ;
|
||||
derive Eq Tree ;
|
||||
derive Compos Tree ;
|
||||
Reference in new issue
Block a user