1 -----------------------------------------------------------------------------
2 -- $Id: Interpreter.hs,v 1.11 2000/12/19 12:36:12 sewardj Exp $
4 -- Interpreter subsystem wrapper
6 -- (c) The University of Glasgow 2000
8 -----------------------------------------------------------------------------
15 ClosureEnv, emptyClosureEnv,
16 ItblEnv, emptyItblEnv,
19 UnlinkedBCO, UnlinkedBCOExpr,
20 loadObjs, resolveObjs,
26 -- ------------------------------------------------------------
27 -- YES! We have an interpreter
28 -- ------------------------------------------------------------
37 -- ------------------------------------------------------------
38 -- NO! No interpreter; generate stubs for all the bits
39 -- ------------------------------------------------------------
48 data UnlinkedBCO = UnlinkedBCO
49 data UnlinkedBCOExpr = UnlinkedBCOExpr
51 instance Outputable UnlinkedBCO where
52 ppr x = text "Can't output UnlinkedBCO"
54 byteCodeGen = error "byteCodeGen"
55 loadObjs = error "loadObjs"
56 resolveObjs = error "resolveObjs"
57 interactiveUI = error "interactiveUI"