mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-26 04:52:51 -06:00
prepared mini syntax example
This commit is contained in:
@@ -8,6 +8,9 @@ resource MorphoEng = open Prelude in {
|
||||
oper
|
||||
Noun, Verb : Type = {s : Number => Str} ;
|
||||
|
||||
NP = {s : Str ; n : Number} ;
|
||||
VP = {s : Bool => Bool => Number => Str * Str} ; -- decl, pol
|
||||
|
||||
mkNoun : Str -> Str -> Noun = \x,y -> {
|
||||
s = table {
|
||||
Sg => x ;
|
||||
|
||||
Reference in New Issue
Block a user