mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-23 19:42:50 -06:00
Added no-functor version of Toy0Eng.gf
This commit is contained in:
16
examples/regulus/toy0/no-functor/Toy0Eng.gf
Normal file
16
examples/regulus/toy0/no-functor/Toy0Eng.gf
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
--# -path=..:present:api:prelude
|
||||||
|
concrete Toy0Eng of Toy0 =
|
||||||
|
open SyntaxEng, ParadigmsEng in {
|
||||||
|
|
||||||
|
flags language=en_US ;
|
||||||
|
|
||||||
|
lincat
|
||||||
|
Spec = Det ; Noun = CN ; NP = Utt ;
|
||||||
|
|
||||||
|
lin
|
||||||
|
SpecNoun s n = mkUtt (mkNP s n) ;
|
||||||
|
One = mkDet one_Quant ;
|
||||||
|
Two = mkDet n2_Numeral ;
|
||||||
|
Felis = mkCN (mkN "cat") ;
|
||||||
|
Canis = mkCN (mkN "dog") ;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user