mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-22 19:22:50 -06:00
working on resource doc and exx, fixing bugs
This commit is contained in:
12
lib/resource/doc/example/Animals.gf
Normal file
12
lib/resource/doc/example/Animals.gf
Normal file
@@ -0,0 +1,12 @@
|
||||
abstract Animals = {
|
||||
cat
|
||||
Phrase ; Animal ; Action ;
|
||||
fun
|
||||
Who : Action -> Animal -> Phrase ;
|
||||
Whom : Animal -> Action -> Phrase ;
|
||||
Answer : Animal -> Action -> Animal -> Phrase ;
|
||||
|
||||
Dog, Cat, Mouse, Lion, Zebra : Animal ;
|
||||
Chase, Eat, Like : Action ;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user