cp labs to old-labs

This commit is contained in:
Arianna Masciolini
2025-03-21 11:39:09 +01:00
parent 37b39176d9
commit 3d9659d987
70 changed files with 6357 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
concrete CountriesEng of Countries = FactsEng, CountryNamesEng **
open SyntaxEng, ParadigmsEng, SymbolicEng in {
lin
cName name = name ;
capital_Attribute = mkAttribute "capital" ;
area_Attribute = mkAttribute "area" ;
population_Attribute = mkAttribute "population" ;
continent_Attribute = mkAttribute "continent" ;
currency_Attribute = mkAttribute "currency" ;
populationFact cname int = mkCl cname have_V2 (mkNP <symb int : Card> (mkN "inhabitant")) ;
continentFact cname name = mkCl cname (SyntaxEng.mkAdv in_Prep name) ;
oper
mkAttribute : Str -> CN = \s -> mkCN (mkN s) ;
}