forked from GitHub/gf-rgl
better MkConcrete and example in lib/resource/doc/example
This commit is contained in:
@@ -1,2 +1,2 @@
|
|||||||
concrete QuestionsEng of Questions = QuestionsI with
|
concrete QuestionsEng of Questions = QuestionsExI with
|
||||||
(Resource = ResourceEng) ;
|
(Resource = ResourceEng) ;
|
||||||
|
|||||||
15
resource/doc/example/QuestionsExI.gfe
Normal file
15
resource/doc/example/QuestionsExI.gfe
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
--# -resource=../../langeng.gfcm
|
||||||
|
|
||||||
|
-- to compile: gf -makeconcrete QuestionsExI.gfe
|
||||||
|
|
||||||
|
incomplete concrete QuestionsExI of Questions = open Resource in {
|
||||||
|
lincat
|
||||||
|
Phrase = Phr ;
|
||||||
|
Entity = N ;
|
||||||
|
Action = V2 ;
|
||||||
|
|
||||||
|
lin Who love_V2 man_N = in Phr "who loves the men?" ;
|
||||||
|
lin Whom man_N love_V2 = in Phr "whom does the man love?" ;
|
||||||
|
lin Answer woman_N love_V2 man_N = in Phr "the woman loves the man." ;
|
||||||
|
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user