(May) WIP relative clauses

This commit is contained in:
Inari Listenmaa
2020-08-18 21:36:04 +02:00
parent 53eb8ab9df
commit 095f11abb7
5 changed files with 39 additions and 22 deletions
+9
View File
@@ -156,6 +156,12 @@ oper
Clause : Type = {subj, pred : Str} ;
RClause : Type = {
subj : Str ;
pred : Person => Str} ;
ClSlash : Type = Clause ** {c2 : Preposition} ;
Sentence : Type = {s : Str} ;
predVP : NounPhrase -> VerbPhrase -> Clause = \np,vp -> {
@@ -163,6 +169,9 @@ oper
pred = vp.s ! Active ; -- TODO
} ;
predVPSlash : NounPhrase -> VPSlash -> ClSlash = \np,vps ->
predVP np <vps : VerbPhrase> ** {c2 = vps.c2} ;
--------------------------------------------------------------------------------
-- linrefs