moved Names to Construction, to make the structure simpler ; use months and weeks as PN's as well

This commit is contained in:
aarne
2014-06-18 09:27:57 +00:00
parent 401f23398b
commit 6ffdf419e7
24 changed files with 477 additions and 475 deletions
+3
View File
@@ -142,6 +142,7 @@ oper
mkPN : overload {
mkPN : Str -> PN ; -- default gender utrum
mkPN : Str -> Gender -> PN ; -- set other gender
mkPN : N -> PN ; -- get inflection and gender from a noun
-- In the worst case, the genitive form is irregular.
@@ -505,6 +506,8 @@ oper
mkPN = overload {
mkPN : Str -> PN = regPN ;
mkPN : Str -> Gender -> PN = regGenPN ;
mkPN : N -> PN = \n ->
{s = n.s ! Sg ! Indef ; g = n.g ; lock_PN = <>} ;
mkPN : (jesus,jesu : Str) -> Gender -> PN = \jesus,jesu,g ->
{s = table {Nom => jesus ; Gen => jesu} ; g = g ; lock_PN = <>} ;
} ;