From 9fdcaed802d7b1ee16350e1c472179b653677c44 Mon Sep 17 00:00:00 2001 From: hallgren Date: Thu, 2 Jun 2016 13:56:19 +0000 Subject: [PATCH] Enable compilation of Ancient Greek in Setup.hs Also adjust the -path pragmas in a few places in lib/src/ancient_greek --- Setup.hs | 3 ++- lib/src/ancient_greek/AllGrc.gf | 4 ++-- lib/src/ancient_greek/CombinatorsGrc.gf | 2 +- lib/src/ancient_greek/ConstructorsGrc.gf | 2 +- lib/src/ancient_greek/LangGrc.gf | 2 +- lib/src/ancient_greek/SyntaxGrc.gf | 2 +- 6 files changed, 8 insertions(+), 7 deletions(-) diff --git a/Setup.hs b/Setup.hs index 97d755007..f16f901aa 100644 --- a/Setup.hs +++ b/Setup.hs @@ -209,6 +209,7 @@ langsCoding = [ (("estonian", "Est"),""), (("finnish", "Fin"),""), (("french", "Fre"),""), + (("ancient_greek","Grc"),""), (("greek", "Gre"),""), (("hebrew", "Heb"),""), (("hindi", "Hin"),"to_devanagari"), @@ -250,7 +251,7 @@ langsPresent = langsLang `except` ["Afr","Chi","Gre","Heb","Jpn","Mlt","Mon","Ne -- languages for which to compile Try langsAPI = langsLang `except` langsIncomplete -- ["Ina","Amh","Ara"] -langsIncomplete = ["Amh","Ara","Heb","Ina","Lat","Tur"] +langsIncomplete = ["Amh","Ara","Grc","Heb","Ina","Lat","Tur"] -- languages for which to compile Symbolic langsSymbolic = langsAPI `except` ["Afr","Jpn","Mon","Nep"] diff --git a/lib/src/ancient_greek/AllGrc.gf b/lib/src/ancient_greek/AllGrc.gf index 8be3a5855..7bbf93cfe 100644 --- a/lib/src/ancient_greek/AllGrc.gf +++ b/lib/src/ancient_greek/AllGrc.gf @@ -1,5 +1,5 @@ ---# -path=.:../../gf/lib/src/abstract:../common:../prelude --- --# -path=.:../abstract:../common:../prelude +-- --# -path=.:../../gf/lib/src/abstract:../common:../prelude +--# -path=.:../abstract:../common:../prelude concrete AllGrc of AllGrcAbs = LangGrc, diff --git a/lib/src/ancient_greek/CombinatorsGrc.gf b/lib/src/ancient_greek/CombinatorsGrc.gf index d74c86e49..7d1d14875 100644 --- a/lib/src/ancient_greek/CombinatorsGrc.gf +++ b/lib/src/ancient_greek/CombinatorsGrc.gf @@ -1,4 +1,4 @@ ---# -path=.:alltenses:prelude +-- --# -path=.:alltenses:prelude resource CombinatorsGrc = Combinators - [appCN, appCNc] with (Cat = CatGrc), diff --git a/lib/src/ancient_greek/ConstructorsGrc.gf b/lib/src/ancient_greek/ConstructorsGrc.gf index 11b302ed3..84fcba4fe 100644 --- a/lib/src/ancient_greek/ConstructorsGrc.gf +++ b/lib/src/ancient_greek/ConstructorsGrc.gf @@ -1,3 +1,3 @@ ---# -path=.:alltenses:prelude +-- --# -path=.:alltenses:prelude resource ConstructorsGrc = Constructors with (Grammar = GrammarGrc) ; diff --git a/lib/src/ancient_greek/LangGrc.gf b/lib/src/ancient_greek/LangGrc.gf index 363e3d0a9..17304a079 100644 --- a/lib/src/ancient_greek/LangGrc.gf +++ b/lib/src/ancient_greek/LangGrc.gf @@ -1,5 +1,5 @@ ---# -path=.:../../gf/lib/src/abstract:../common:../prelude ---# -path=.:abstract:../common:../prelude +--# -path=../abstract:../common:../prelude concrete LangGrc of Lang = GrammarGrc, diff --git a/lib/src/ancient_greek/SyntaxGrc.gf b/lib/src/ancient_greek/SyntaxGrc.gf index d1a7d9f20..421ebc79c 100644 --- a/lib/src/ancient_greek/SyntaxGrc.gf +++ b/lib/src/ancient_greek/SyntaxGrc.gf @@ -1,4 +1,4 @@ ---# -path=.:alltenses:prelude +-- --# -path=.:alltenses:prelude instance SyntaxGrc of Syntax = ConstructorsGrc, CatGrc, StructuralGrc, CombinatorsGrc ;