divide between lab 1 and 2

This commit is contained in:
Arianna Masciolini
2025-03-24 21:18:25 +01:00
parent a8d4c1e062
commit f1bf418200
65 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
concrete CountriesGer of Countries = FactsGer, CountryNamesGer **
open SyntaxGer, ParadigmsGer, SymbolicGer in {
lin
cName name = name ;
capital_Attribute = mkAttribute (mkN "Hauptstadt" "Hauptstädte" feminine) ;
area_Attribute = mkAttribute (mkN "Fläche") ;
population_Attribute = mkAttribute (mkN "Einwohnerzahl" feminine) ;
continent_Attribute = mkAttribute (mkN "Kontinent" "Kontinente" masculine) ;
currency_Attribute = mkAttribute (mkN "Währung") ;
populationFact cname int = mkCl cname have_V2 (mkNP <symb int : Card> (mkN "Einwohner")) ;
continentFact cname name = mkCl cname (mkVP (mkVP (mkV "liegen")) (SyntaxGer.mkAdv in_Prep name)) ;
oper
mkAttribute : N -> CN = \n -> mkCN n ;
}