(May) move passive to V's infl.table+rename opers

This commit is contained in:
Inari Listenmaa
2023-02-24 11:15:03 +08:00
parent a8b061926b
commit bfb016b3ea
4 changed files with 16 additions and 23 deletions
+8 -7
View File
@@ -214,7 +214,6 @@ oper
} ;
Verb2 : Type = Verb ** {
c2 : Preposition ;
passive : Str
} ;
Verb3 : Type = Verb2 ** {
@@ -223,22 +222,24 @@ oper
Verb4 : Type = Verb ** {
c2 : Preposition ;
passive : Str
} ;
-- VV : Type = Verb ** {vvtype : VVForm} ;
mkVerb : Str -> Prefix -> Verb = \str,p -> {
regVerb : Str -> Prefix -> Verb = \str,p ->
mkVerb str (prefix p str) ("di" + str) (str + "kan") ;
mkVerb : (makan, memakan, dimakan, makankan : Str) -> Verb = \rt,act,pass,imp -> {
s = table {
Root => str ;
Active => prefix p str ;
Imperative => str ++ BIND ++ "kan"
Root => rt ;
Active => act ;
Passive => pass ;
Imperative => imp
}
} ;
mkVerb2 : Verb -> Preposition -> Verb2 = \v,pr -> v ** {
c2 = pr ;
passive = "di" ++ BIND ++ v.s ! Root
} ;
mkVerb3 : Verb -> (p,q : Preposition) -> Verb3 = \v,p,q ->