mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-06 01:32:50 -06:00
changed names of resource-1.3; added a note on homepage on release
This commit is contained in:
15
old-examples/regulus/toy0/example-based/Toy0.gf
Normal file
15
old-examples/regulus/toy0/example-based/Toy0.gf
Normal file
@@ -0,0 +1,15 @@
|
||||
-- toy0 grammar from Chapter 2 of the Regulus book
|
||||
abstract Toy0 = {
|
||||
|
||||
flags startcat=NP ;
|
||||
|
||||
cat
|
||||
NP ;
|
||||
Noun ;
|
||||
Spec ;
|
||||
|
||||
fun
|
||||
SpecNoun : Spec -> Noun -> NP ;
|
||||
One, Two : Spec ;
|
||||
Felis, Canis : Noun ;
|
||||
}
|
||||
Reference in New Issue
Block a user