prepared mini syntax example

This commit is contained in:
aarne
2007-08-16 09:41:00 +00:00
parent 09e69820b4
commit 912cbb3bf3
8 changed files with 421 additions and 299 deletions

View File

@@ -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 ;