-----------------------------------------------------------------------------
--- $Id: Interpreter.hs,v 1.9 2000/12/18 12:43:04 sewardj Exp $
+-- $Id: Interpreter.hs,v 1.10 2000/12/18 15:18:11 simonmar Exp $
--
-- Interpreter subsystem wrapper
--
#else
ClosureEnv, emptyClosureEnv,
ItblEnv, emptyItblEnv,
- linkIModules,
- stgExprToInterpSyn, stgBindsToInterpSyn,
+ byteCodeGen,
HValue,
- UnlinkedIBind, UnlinkedIExpr,
+ UnlinkedBCO, UnlinkedBCOExpr,
loadObjs, resolveObjs,
#endif
) where
#ifdef GHCI
----------------------------------------------
--- YES! We have an interpreter
----------------------------------------------
+-- ------------------------------------------------------------
+-- YES! We have an interpreter
+-- ------------------------------------------------------------
import ByteCodeGen
import Linker
import Outputable
----------------------------------------------
--- NO! No interpreter; generate stubs for all the bits
-
----------------------------------------------
+-- ------------------------------------------------------------
+-- NO! No interpreter; generate stubs for all the bits
+-- ------------------------------------------------------------
type ClosureEnv = ()
emptyClosureEnv = ()
type ItblEnv = ()
emptyItblEnv = ()
-type HValue = ()
-data UnlinkedIBind = UnlinkedIBind
-data UnlinkedIExpr = UnlinkedIExpr
+type HValue = ()
+data UnlinkedBCO = UnlinkedBCO
+data UnlinkedBCOExpr = UnlinkedBCOExpr
-instance Outputable UnlinkedIBind where
- ppr x = text "Can't output UnlinkedIBind"
+instance Outputable UnlinkedBCO where
+ ppr x = text "Can't output UnlinkedBCO"
-linkIModules = error "linkIModules"
-stgExprToInterpSyn = error "stgToInterpSyn"
-stgBindsToInterpSyn = error "stgBindsToInterpSyn"
-loadObjs = error "loadObjs"
-resolveObjs = error "loadObjs"
-interactiveUI = error "interactiveUI"
+byteCodeGen = error "stgBindsToInterpSyn"
+loadObjs = error "loadObjs"
+resolveObjs = error "loadObjs"
+interactiveUI = error "interactiveUI"
#endif
{-# OPTIONS -fno-warn-incomplete-patterns #-}
-----------------------------------------------------------------------------
--- $Id: Main.hs,v 1.39 2000/12/12 14:42:43 simonmar Exp $
+-- $Id: Main.hs,v 1.40 2000/12/18 15:18:11 simonmar Exp $
--
-- GHC Driver program
--
-- No more "Enter your Haskell program, end with ^D (on a line of its own):"
-- consistency checking removed (may do this properly later)
-- removed -noC
--- no hi diffs (could be added later)
-- no -Ofile
-----------------------------------------------------------------------------