mirror of
https://github.com/GrammaticalFramework/comp-syntax-gu-mlt.git
synced 2026-02-09 23:01:06 -07:00
divide between lab 1 and 2
This commit is contained in:
19
lab2/wikipedia-2022/Facts.gf
Normal file
19
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