Remove Language.Hi in favour of using the ghc-api directly, fix to work with GHC 6.8.2.

This is still *very* kludgey, and it needs lots of work which I'm not
entirely prepared for, seeing as I really don't know anything about
the ghc-api and how things are supposed to fit together. It is quite
conceivable that the code could be simplified much further by someone who
actually understands the ghc-api, and there may be bugs related to the fact
that I don't actually know what some things do. However, this builds
and does appear to work. Most of the testsuite is passing.
This commit is contained in:
cgibbard
2007-12-16 05:28:44 +00:00
parent 642bd3add6
commit b80977561c
13 changed files with 45 additions and 2560 deletions

View File

@ -5,12 +5,6 @@ License-file: LICENSE
author: Don Stewart
maintainer: dons@cse.unsw.edu.au
exposed-modules:
Language.Hi.Binary,
Language.Hi.FastMutInt,
Language.Hi.FastString,
Language.Hi.Parser,
Language.Hi.PrimPacked,
Language.Hi.Syntax,
System.Eval,
System.Eval.Haskell,
System.Eval.Utils,
@ -27,10 +21,8 @@ exposed-modules:
System.Plugins.Parser,
System.Plugins.Process,
System.Plugins.Utils
c-sources:
src/Language/Hi/hschooks.c
includes: Linker.h
extensions: CPP, ForeignFunctionInterface
Build-Depends: base, Cabal, haskell-src
Build-Depends: base, Cabal, haskell-src, containers, array, directory, random, process, ghc
ghc-options: -Wall -O -fasm -funbox-strict-fields -fno-warn-missing-signatures
hs-source-dir: src
hs-source-dirs: src