mirror of
https://github.com/GrammaticalFramework/comp-syntax-gu-mlt.git
synced 2026-02-09 06:41:07 -07:00
cp labs to old-labs
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