forked from GitHub/comp-syntax-gu-mlt
cp old labs to new folders
This commit is contained in:
19
old-labs/lab2/wikipedia-2022/Facts.gf
Normal file
19
old-labs/lab2/wikipedia-2022/Facts.gf
Normal 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 ;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user