mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-19 17:59:32 -06:00
query language versions merged
This commit is contained in:
38
examples/query/TestQueryEng.gf
Normal file
38
examples/query/TestQueryEng.gf
Normal file
@@ -0,0 +1,38 @@
|
||||
--# -path=.:present
|
||||
|
||||
concrete TestQueryEng of TestQuery = QueryEng **
|
||||
open
|
||||
LexQueryEng,
|
||||
ParadigmsEng,
|
||||
IrregEng,
|
||||
SyntaxEng,
|
||||
ExtraEng,
|
||||
(L = LangEng),
|
||||
(M = MakeStructuralEng),
|
||||
Prelude
|
||||
in {
|
||||
|
||||
-- test lexicon
|
||||
|
||||
lin
|
||||
USA = mkCountry "USA" "American" ;
|
||||
Bulgaria = mkCountry "Bulgaria" "Bulgarian" ;
|
||||
California = mkCountry "California" "Californian" ;
|
||||
OblastSofiya = mkName "Oblast Sofiya" ;
|
||||
|
||||
CEO = mkCN (mkN "CEO") ;
|
||||
ChiefInformationOfficer = mkCN (mkN "Chief Information Officer") ;
|
||||
|
||||
Microsoft = mkName "Microsoft" ;
|
||||
Google = mkName "Google" ;
|
||||
|
||||
SergeyBrin = mkName "Sergey Brin" ;
|
||||
LarryPage = mkName "Larry Page" ;
|
||||
EricSchmidt = mkName "Eric Schmidt" ;
|
||||
MarissaMayer = mkName "Marissa Mayer" ;
|
||||
UdiManber = mkName "Udi Manber" ;
|
||||
CarlGustavJung = mkName "Carl Gustav Jung" ;
|
||||
Jung = mkName "Jung" ;
|
||||
BenFried = mkName "Ben Fried" ;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user