forked from GitHub/gf-core
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) ;
|
||||
|
||||
15
lib/resource/doc/example/QuestionsExI.gfe
Normal file
15
lib/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