summaryrefslogtreecommitdiff
path: root/compiler/ghc.cabal.in
diff options
context:
space:
mode:
authorAustin Seipp <austin@well-typed.com>2013-09-22 18:47:35 -0500
committerAustin Seipp <austin@well-typed.com>2013-09-22 18:47:38 -0500
commit6f799899aa7cd9c59c9ebf9c9709f9423d93d307 (patch)
treebed11393db25e594d9525471a01c69dd98a9b355 /compiler/ghc.cabal.in
parentea2af9b21d6e772e3adc8806044557b504b84795 (diff)
downloadhaskell-6f799899aa7cd9c59c9ebf9c9709f9423d93d307.tar.gz
Restructure compilation pipeline to allow hooks
This commit exposes GHC's internal compiler pipeline through a `Hooks` module in the GHC API. It currently allows you to hook: * Foreign import/exports declarations * The frontend up to type checking * The one shot compilation mode * Core compilation, and the module iface * Linking and the phases in DriverPhases.hs * Quasiquotation Authored-by: Luite Stegeman <stegeman@gmail.com> Authored-by: Edsko de Vries <edsko@well-typed.com> Signed-off-by: Austin Seipp <austin@well-typed.com>
Diffstat (limited to 'compiler/ghc.cabal.in')
-rw-r--r--compiler/ghc.cabal.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/ghc.cabal.in b/compiler/ghc.cabal.in
index a0f3e642f5..1ed7e2310e 100644
--- a/compiler/ghc.cabal.in
+++ b/compiler/ghc.cabal.in
@@ -134,6 +134,7 @@ Library
Demand
Exception
GhcMonad
+ Hooks
Id
IdInfo
Literal
@@ -276,6 +277,7 @@ Library
Constants
DriverMkDepend
DriverPhases
+ PipelineMonad
DriverPipeline
DynFlags
ErrUtils