added wikipedia lab

This commit is contained in:
Aarne Ranta
2022-05-30 15:01:30 +02:00
parent 01a52021b2
commit 1332d550cd
19 changed files with 3174 additions and 0 deletions

19
lab2/wikipedia/Facts.gf Normal file
View File

@@ -0,0 +1,19 @@
abstract Facts = {
flags startcat = Fact ;
cat
Fact ;
Object ;
Attribute ;
Value ;
Name ;
fun
AttributeFact : Attribute -> Object -> Value -> Fact ;
NameObject : Name -> Object ;
NameValue : Name -> Value ;
IntValue : Int -> Value ;
}