forked from GitHub/comp-syntax-gu-mlt
added wikipedia lab
This commit is contained in:
17
lab2/wikipedia/FactsSwe.gf
Normal file
17
lab2/wikipedia/FactsSwe.gf
Normal file
@@ -0,0 +1,17 @@
|
||||
concrete FactsSwe of Facts =
|
||||
open SyntaxSwe, SymbolicSwe, (E=ExtendSwe) in {
|
||||
|
||||
lincat
|
||||
Fact = Cl ;
|
||||
Object = NP ;
|
||||
Attribute = CN ;
|
||||
Value = NP ;
|
||||
Name = NP ;
|
||||
|
||||
lin
|
||||
AttributeFact attr obj val = mkCl (mkNP (E.GenNP obj) attr) val ;
|
||||
NameObject name = name ;
|
||||
NameValue name = name ;
|
||||
IntValue int = symb int ;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user