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:
@ -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
|
||||
|
Reference in New Issue
Block a user