mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-22 19:22:50 -06:00
29/4-04, peb: added directory 'testConversions' with a simple grammar
for testing grammar conversions
This commit is contained in:
24
grammars/testConversions/SimpleAbs.gf
Normal file
24
grammars/testConversions/SimpleAbs.gf
Normal file
@@ -0,0 +1,24 @@
|
||||
|
||||
abstract SimpleAbs = {
|
||||
|
||||
cat
|
||||
S; VP; NP; V; N; D;
|
||||
|
||||
fun
|
||||
cyclic : S -> S;
|
||||
mkS : NP -> V -> S;
|
||||
mkVP : V -> NP -> VP;
|
||||
mkNP1 : D -> N -> NP;
|
||||
mkNP2 : N -> NP;
|
||||
|
||||
robin : NP;
|
||||
dog : N;
|
||||
child : N;
|
||||
love : V;
|
||||
hate : V;
|
||||
one : D;
|
||||
all : D;
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user