summaryrefslogtreecommitdiff
path: root/gf.cabal
diff options
context:
space:
mode:
authorhallgren <hallgren@chalmers.se>2014-12-11 16:08:36 +0000
committerhallgren <hallgren@chalmers.se>2014-12-11 16:08:36 +0000
commit2eaf46f6104d02f25c5a0551af08114dac6b63e9 (patch)
treee2fa8d146d7908497165f1a96c9397a11b6b7bd8 /gf.cabal
parent9be0c216769b7ba31e7f6e7dca28de3c9cecd4a3 (diff)
Work in progress on translating linearization functions to Haskell
The translation is currently good enough to translate all concrete syntaxes of the Foods and Letter grammars, and some concrete syntaxes of the Phrasebook grammar (e.g. PhrasebookEng & PhrasebookSpa works, but there are problems with e.g. PhrasebookSwe and PhrasebookChi) This functionality is enabled by running gf -make -output-format=haskell -haskell=concrete ... TODO: - variants - pre { ... } - eta expansion of linearization functions - record subtyping can still cause type errors in the Haskell code in some cases - reduce code large tables
Diffstat (limited to 'gf.cabal')
-rw-r--r--gf.cabal1
1 files changed, 1 insertions, 0 deletions
diff --git a/gf.cabal b/gf.cabal
index 00eb5654d..351842ac1 100644
--- a/gf.cabal
+++ b/gf.cabal
@@ -175,6 +175,7 @@ Library
GF.Compile.Multi
GF.Compile.Optimize
GF.Compile.PGFtoHaskell
+ GF.Compile.ConcreteToHaskell
GF.Compile.PGFtoJS
GF.Compile.PGFtoLProlog
GF.Compile.PGFtoProlog