From a27e502233490d841f465bd89c3adc7e652f049a Mon Sep 17 00:00:00 2001 From: Aarne Ranta Date: Fri, 30 Sep 2022 11:50:15 +0200 Subject: [PATCH] Hrv compiles with make install (but with lots of functions from MissingHrv) --- languages.csv | 14 +------------- src/croatian/AllHrv.gf | 3 ++- src/croatian/MissingHrv.gf | 17 +++++++++++------ 3 files changed, 14 insertions(+), 20 deletions(-) diff --git a/languages.csv b/languages.csv index 5f502ad2..b01e6a3b 100644 --- a/languages.csv +++ b/languages.csv @@ -1,17 +1,4 @@ Code,Name,Directory,Functor,Unlexer,Present,All,Try,Symbolic,Compatibility,Synopsis -Afr,Afrikaans,afrikaans,,,,,,n,,y -Amh,Amharic,amharic,,,,,n,n,,n -Ara,Arabic,arabic,,,,,,y,,y -Bul,Bulgarian,bulgarian,,,y,,,,,y -Cat,Catalan,catalan,Romance,,y,,,,y,y -Cgg,Rukiga,rukiga,,,y,y,n,n,y,y -Chi,Chinese (simplified),chinese,,,,,,,,y -Cze,Czech,czech,,,,,,n,,y -Dan,Danish,danish,Scand,,y,,,,,y -Dut,Dutch,dutch,,,y,,,,,y -Eng,English,english,,,y,,,,y,y -Est,Estonian,estonian,,,,,,,,y -Eus,Basque,basque,,,,,,,,y Fin,Finnish,finnish,,,y,,,,y,y Fre,French,french,Romance,,y,,,,y,y Ger,German,german,,,y,,,,,y @@ -19,6 +6,7 @@ Grc,Ancient Greek,ancient_greek,,,y,,n,n,,n Gre,Greek,greek,,,,,,,,y Heb,Hebrew,hebrew,,,,,n,n,,n Hin,Hindi,hindi,Hindustani,to_devanagari,y,,,,,y +Hrv,Croatian,croatian,,,,,,y,,n Hun,Hungarian,hungarian,,,n,y,y,y,n,n Ice,Icelandic,icelandic,,,,,,n,,y Ina,Interlingua,interlingua,,,y,,n,n,,n diff --git a/src/croatian/AllHrv.gf b/src/croatian/AllHrv.gf index ebd7e114..7996a9c8 100644 --- a/src/croatian/AllHrv.gf +++ b/src/croatian/AllHrv.gf @@ -2,6 +2,7 @@ concrete AllHrv of AllHrvAbs = LangHrv, - ExtendHrv + ExtendHrv, + MissingHrv ; diff --git a/src/croatian/MissingHrv.gf b/src/croatian/MissingHrv.gf index 5b8300f7..827b976f 100644 --- a/src/croatian/MissingHrv.gf +++ b/src/croatian/MissingHrv.gf @@ -1,4 +1,4 @@ -resource MissingHrv = open GrammarHrv, Prelude in { +resource MissingHrv = open GrammarHrv, SymbolHrv, Prelude, PredefCnc in { -- temporary definitions to enable the compilation of RGL API oper AAnter : Ant = notYet "AAnter" ; @@ -47,7 +47,6 @@ oper OrdSuperl : A -> Ord = notYet "OrdSuperl" ; oper PPartNP : NP -> V2 -> NP = notYet "PPartNP" ; oper PassV2 : V2 -> VP = notYet "PassV2" ; oper PositAdvAdj : A -> Adv = notYet "PositAdvAdj" ; -oper PossPron : Pron -> Quant = notYet "PossPron" ; oper PredSCVP : SC -> VP -> Cl = notYet "PredSCVP" ; oper PredetNP : Predet -> NP -> NP = notYet "PredetNP" ; oper PrepIP : Prep -> IP -> IAdv = notYet "PrepIP" ; @@ -90,13 +89,19 @@ oper UttImpSg : Pol -> Imp -> Utt = notYet "UttImpSg" ; oper UttQS : QS -> Utt = notYet "UttQS" ; oper UttVP : VP -> Utt = notYet "UttVP" ; oper by8agent_Prep : Prep = notYet "by8agent_Prep" ; -oper it_Pron : Pron = notYet "it_Pron" ; -oper they_Pron : Pron = notYet "they_Pron" ; -oper we_Pron : Pron = notYet "we_Pron" ; oper whatSg_IP : IP = notYet "whatSg_IP" ; oper which_IQuant : IQuant = notYet "which_IQuant" ; oper whoSg_IP : IP = notYet "whoSg_IP" ; -oper youPl_Pron : Pron = notYet "youPl_Pron" ; oper youPol_Pron : Pron = notYet "youPol_Pron" ; +oper BaseSymb : Symb -> Symb -> [Symb] = notYet "BaseSymb" ; +oper CNIntNP : CN -> PredefCnc.Int -> NP = notYet "CNIntNP" ; +oper CNNumNP : CN -> Card -> NP = notYet "CNumNP" ; +oper CNSymbNP : Det -> CN -> [Symb] -> NP = notYet "CNSymbNP" ; +oper ConsSymb : Symb -> [Symb] -> [Symb] = notYet "ConsSymb" ; +oper FloatPN : PredefCnc.Float -> PN = notYet "FloatPN" ; +oper NumPN : Card -> PN = notYet "NumPN" ; +oper SymbOrd : Symb -> Ord = notYet "SymbOrd" ; +oper SymbS : Symb -> S = notYet "SymbS" ; + }