sewardj [Tue, 31 Oct 2000 13:01:46 +0000 (13:01 +0000)]
[project @ 2000-10-31 13:01:46 by sewardj]
* Stop pipeline when recompilation not needed.
* Check OPTIONS pragmas for non-dynamic flags.
* Misc wibbles.
simonpj [Tue, 31 Oct 2000 12:07:44 +0000 (12:07 +0000)]
[project @ 2000-10-31 12:07:43 by simonpj]
Improve MkIface; get ready for NameEnv.lhs
simonmar [Tue, 31 Oct 2000 11:16:30 +0000 (11:16 +0000)]
[project @ 2000-10-31 11:16:30 by simonmar]
display unknown flags with a leading dash.
simonmar [Tue, 31 Oct 2000 11:16:12 +0000 (11:16 +0000)]
[project @ 2000-10-31 11:16:12 by simonmar]
remove extra leading dash from isStaticFlag predicate
simonmar [Tue, 31 Oct 2000 11:13:29 +0000 (11:13 +0000)]
[project @ 2000-10-31 11:13:29 by simonmar]
- fix the way flags, don't complain about non-static way flags
- reset the dyn flags before each compilation cycle
simonmar [Tue, 31 Oct 2000 10:52:04 +0000 (10:52 +0000)]
[project @ 2000-10-31 10:52:04 by simonmar]
GHC_INPLACE is in ghc/compiler now.
simonpj [Tue, 31 Oct 2000 10:04:41 +0000 (10:04 +0000)]
[project @ 2000-10-31 10:04:41 by simonpj]
Error in TcDeriv
simonpj [Tue, 31 Oct 2000 09:58:13 +0000 (09:58 +0000)]
[project @ 2000-10-31 09:58:13 by simonpj]
Make it work again!
simonpj [Tue, 31 Oct 2000 08:08:39 +0000 (08:08 +0000)]
[project @ 2000-10-31 08:08:38 by simonpj]
More tidying up; esp of isLocallyDefined
sewardj [Mon, 30 Oct 2000 18:13:16 +0000 (18:13 +0000)]
[project @ 2000-10-30 18:13:15 by sewardj]
Move readIface from RnM to IO, and commensurate changes. Also, add a
field to ModuleLocation to hold preprocessed source locations.
rrt [Mon, 30 Oct 2000 17:37:05 +0000 (17:37 +0000)]
[project @ 2000-10-30 17:37:05 by rrt]
cp and chmod during install switched over in case we're copying from a
read-only medium or something.
simonpj [Mon, 30 Oct 2000 17:18:28 +0000 (17:18 +0000)]
[project @ 2000-10-30 17:18:26 by simonpj]
Renamer tidying up
sewardj [Mon, 30 Oct 2000 13:46:24 +0000 (13:46 +0000)]
[project @ 2000-10-30 13:46:24 by sewardj]
Only pass a ModuleLocation into hscMain, not a ModSummary, so as to
facilitate Main.main not necessarily being in Main.hs.
sewardj [Mon, 30 Oct 2000 11:36:09 +0000 (11:36 +0000)]
[project @ 2000-10-30 11:36:09 by sewardj]
Don't be so promiscuous about hoovering up any and all files into the
home/package directory caches.
sewardj [Mon, 30 Oct 2000 11:18:14 +0000 (11:18 +0000)]
[project @ 2000-10-30 11:18:14 by sewardj]
Tmp hacks to allow source-unchangedness to work in one-shot compilation.
simonpj [Mon, 30 Oct 2000 11:01:58 +0000 (11:01 +0000)]
[project @ 2000-10-30 11:01:58 by simonpj]
wibble
simonpj [Mon, 30 Oct 2000 10:04:51 +0000 (10:04 +0000)]
[project @ 2000-10-30 10:04:51 by simonpj]
Fix Name
simonpj [Mon, 30 Oct 2000 09:52:16 +0000 (09:52 +0000)]
[project @ 2000-10-30 09:52:14 by simonpj]
First steps to making it work
simonpj [Fri, 27 Oct 2000 16:43:25 +0000 (16:43 +0000)]
[project @ 2000-10-27 16:43:24 by simonpj]
Wibble
simonmar [Fri, 27 Oct 2000 16:30:02 +0000 (16:30 +0000)]
[project @ 2000-10-27 16:30:02 by simonmar]
build as ghc-$(ProjectVersion), link to ghc (as per driver)
simonmar [Fri, 27 Oct 2000 16:25:01 +0000 (16:25 +0000)]
[project @ 2000-10-27 16:25:01 by simonmar]
don't need GHC_HSC_DIR and GHC_HSC any more.
simonmar [Fri, 27 Oct 2000 16:24:31 +0000 (16:24 +0000)]
[project @ 2000-10-27 16:24:31 by simonmar]
hsc ==> ghc
simonmar [Fri, 27 Oct 2000 16:24:08 +0000 (16:24 +0000)]
[project @ 2000-10-27 16:24:08 by simonmar]
remove interfaceFileVersion, this comes in through Config.hs now.
simonpj [Fri, 27 Oct 2000 15:40:01 +0000 (15:40 +0000)]
[project @ 2000-10-27 15:40:01 by simonpj]
Win32 hacks.
simonmar [Fri, 27 Oct 2000 15:34:30 +0000 (15:34 +0000)]
[project @ 2000-10-27 15:34:30 by simonmar]
fix location of .hi file for packages
sewardj [Fri, 27 Oct 2000 15:11:37 +0000 (15:11 +0000)]
[project @ 2000-10-27 15:11:37 by sewardj]
Fix various platform-dependent bogons.
sewardj [Fri, 27 Oct 2000 14:56:00 +0000 (14:56 +0000)]
[project @ 2000-10-27 14:56:00 by sewardj]
Avoid circularity between these two on Win32.
simonmar [Fri, 27 Oct 2000 14:55:01 +0000 (14:55 +0000)]
[project @ 2000-10-27 14:55:01 by simonmar]
don't fake the processID
simonmar [Fri, 27 Oct 2000 14:46:37 +0000 (14:46 +0000)]
[project @ 2000-10-27 14:46:37 by simonmar]
remove traces
simonmar [Fri, 27 Oct 2000 14:45:18 +0000 (14:45 +0000)]
[project @ 2000-10-27 14:45:18 by simonmar]
fix some obvious bogons
simonmar [Fri, 27 Oct 2000 14:40:40 +0000 (14:40 +0000)]
[project @ 2000-10-27 14:40:40 by simonmar]
create ghc-inplace
simonmar [Fri, 27 Oct 2000 14:36:36 +0000 (14:36 +0000)]
[project @ 2000-10-27 14:36:36 by simonmar]
wibbles
simonmar [Fri, 27 Oct 2000 14:36:16 +0000 (14:36 +0000)]
[project @ 2000-10-27 14:36:16 by simonmar]
s/allocMemory__/malloc
simonmar [Fri, 27 Oct 2000 14:31:55 +0000 (14:31 +0000)]
[project @ 2000-10-27 14:31:55 by simonmar]
fix imports
sewardj [Fri, 27 Oct 2000 14:22:34 +0000 (14:22 +0000)]
[project @ 2000-10-27 14:22:34 by sewardj]
Final mods to make it compile with 4.08.1. You don't get an interpreter
like that, tho.
simonmar [Fri, 27 Oct 2000 14:04:21 +0000 (14:04 +0000)]
[project @ 2000-10-27 14:04:21 by simonmar]
typo
sewardj [Fri, 27 Oct 2000 13:50:26 +0000 (13:50 +0000)]
[project @ 2000-10-27 13:50:25 by sewardj]
Half-way through versioning so it will compile, sans interpreter, with 4.08.1
simonmar [Fri, 27 Oct 2000 11:51:13 +0000 (11:51 +0000)]
[project @ 2000-10-27 11:51:13 by simonmar]
remove unneeded exports
sewardj [Fri, 27 Oct 2000 11:48:56 +0000 (11:48 +0000)]
[project @ 2000-10-27 11:48:54 by sewardj]
Track changes to the finder (now is a global variable and not passed
around). Also some fixes to flag handling.
simonmar [Fri, 27 Oct 2000 11:11:44 +0000 (11:11 +0000)]
[project @ 2000-10-27 11:11:44 by simonmar]
Don't pass the finder around any more. Instead, its state lives in
the I/O monad.
module Finder (
newFinder, -- :: PackageConfigInfo -> IO (),
findModule, -- :: ModuleName -> IO (Maybe (Module, ModuleLocation))
ModuleLocation(..),
mkHomeModuleLocn,
) where
sewardj [Fri, 27 Oct 2000 11:02:05 +0000 (11:02 +0000)]
[project @ 2000-10-27 11:02:05 by sewardj]
baseRegOffset: handle long-regs correctly.
simonmar [Fri, 27 Oct 2000 10:59:55 +0000 (10:59 +0000)]
[project @ 2000-10-27 10:59:55 by simonmar]
fill in the package cache on the first lookup too.
simonmar [Fri, 27 Oct 2000 10:52:05 +0000 (10:52 +0000)]
[project @ 2000-10-27 10:52:05 by simonmar]
Change the finder so that it doesn't fill in the home cache until it
is first used.
sewardj [Fri, 27 Oct 2000 09:39:35 +0000 (09:39 +0000)]
[project @ 2000-10-27 09:39:35 by sewardj]
Remove some redundant -fvia-Cs, wot offend mine eye.
sewardj [Fri, 27 Oct 2000 09:36:39 +0000 (09:36 +0000)]
[project @ 2000-10-27 09:36:39 by sewardj]
No longer needed. Bye bye Argv!
sewardj [Fri, 27 Oct 2000 09:17:20 +0000 (09:17 +0000)]
[project @ 2000-10-27 09:17:20 by sewardj]
Don't link happy-generated objects twice.
sewardj [Thu, 26 Oct 2000 16:51:44 +0000 (16:51 +0000)]
[project @ 2000-10-26 16:51:44 by sewardj]
Final changes to get it to compile.
sewardj [Thu, 26 Oct 2000 16:21:02 +0000 (16:21 +0000)]
[project @ 2000-10-26 16:21:02 by sewardj]
Compile everything up to Main. The Really Entertaining News (tm) is that
there are still modules beyond Main to fix up :-)
simonmar [Thu, 26 Oct 2000 14:38:42 +0000 (14:38 +0000)]
[project @ 2000-10-26 14:38:42 by simonmar]
Simon's stuff
sewardj [Thu, 26 Oct 2000 14:34:58 +0000 (14:34 +0000)]
[project @ 2000-10-26 14:34:57 by sewardj]
Make HscMain compile. Hurrah!
simonmar [Thu, 26 Oct 2000 10:27:32 +0000 (10:27 +0000)]
[project @ 2000-10-26 10:27:32 by simonmar]
Fix up
sewardj [Thu, 26 Oct 2000 10:23:37 +0000 (10:23 +0000)]
[project @ 2000-10-26 10:23:37 by sewardj]
So Simon can proceed with driver hacks.
simonpj [Thu, 26 Oct 2000 07:19:53 +0000 (07:19 +0000)]
[project @ 2000-10-26 07:19:52 by simonpj]
wibbles
sewardj [Wed, 25 Oct 2000 16:44:28 +0000 (16:44 +0000)]
[project @ 2000-10-25 16:44:28 by sewardj]
Wibbles from Julian
simonpj [Wed, 25 Oct 2000 15:57:33 +0000 (15:57 +0000)]
[project @ 2000-10-25 15:57:33 by simonpj]
writeIface stuff
sewardj [Wed, 25 Oct 2000 14:42:32 +0000 (14:42 +0000)]
[project @ 2000-10-25 14:42:31 by sewardj]
Compile up to HscMain. Again :)
simonpj [Wed, 25 Oct 2000 13:51:52 +0000 (13:51 +0000)]
[project @ 2000-10-25 13:51:50 by simonpj]
Wibbles
simonpj [Wed, 25 Oct 2000 12:56:23 +0000 (12:56 +0000)]
[project @ 2000-10-25 12:56:20 by simonpj]
Tons of stuff for the mornings work
sewardj [Wed, 25 Oct 2000 12:47:43 +0000 (12:47 +0000)]
[project @ 2000-10-25 12:47:43 by sewardj]
Sort out linking of interpreted code a bit.
sewardj [Wed, 25 Oct 2000 10:23:57 +0000 (10:23 +0000)]
[project @ 2000-10-25 10:23:57 by sewardj]
HscMain: more details on parsing and codegen, and handle parse/rename/tc
failure correctly.
simonpj [Wed, 25 Oct 2000 07:09:54 +0000 (07:09 +0000)]
[project @ 2000-10-25 07:09:52 by simonpj]
More renamer stuff; still in flight
simonpj [Tue, 24 Oct 2000 17:09:44 +0000 (17:09 +0000)]
[project @ 2000-10-24 17:09:44 by simonpj]
Stuff to do with Rules; may not compile
sewardj [Tue, 24 Oct 2000 16:33:02 +0000 (16:33 +0000)]
[project @ 2000-10-24 16:33:02 by sewardj]
More bitz n pieces.
simonmar [Tue, 24 Oct 2000 16:08:16 +0000 (16:08 +0000)]
[project @ 2000-10-24 16:08:16 by simonmar]
StgToDo done
simonmar [Tue, 24 Oct 2000 15:58:02 +0000 (15:58 +0000)]
[project @ 2000-10-24 15:58:02 by simonmar]
Compiles up to DriverFlags
simonpj [Tue, 24 Oct 2000 15:55:36 +0000 (15:55 +0000)]
[project @ 2000-10-24 15:55:35 by simonpj]
More renamer
sewardj [Tue, 24 Oct 2000 15:40:19 +0000 (15:40 +0000)]
[project @ 2000-10-24 15:40:19 by sewardj]
First shot at revised hscMain.
sewardj [Tue, 24 Oct 2000 13:23:33 +0000 (13:23 +0000)]
[project @ 2000-10-24 13:23:33 by sewardj]
Compile everything needed by main/HscMain.
sewardj [Tue, 24 Oct 2000 12:36:04 +0000 (12:36 +0000)]
[project @ 2000-10-24 12:36:03 by sewardj]
Changes to make CodeOutput compile.
simonpj [Tue, 24 Oct 2000 10:36:09 +0000 (10:36 +0000)]
[project @ 2000-10-24 10:36:08 by simonpj]
Wibbles
sewardj [Tue, 24 Oct 2000 10:12:17 +0000 (10:12 +0000)]
[project @ 2000-10-24 10:12:16 by sewardj]
Make the back-end world compile.
simonpj [Tue, 24 Oct 2000 09:44:18 +0000 (09:44 +0000)]
[project @ 2000-10-24 09:44:18 by simonpj]
More renamer; move stuff into (new) RnHiFiles.lhs
simonpj [Tue, 24 Oct 2000 08:40:11 +0000 (08:40 +0000)]
[project @ 2000-10-24 08:40:09 by simonpj]
Small wibbles
simonpj [Tue, 24 Oct 2000 07:35:35 +0000 (07:35 +0000)]
[project @ 2000-10-24 07:35:35 by simonpj]
Remove HsPragmas; hasnt been used for ages
simonpj [Tue, 24 Oct 2000 07:35:03 +0000 (07:35 +0000)]
[project @ 2000-10-24 07:35:00 by simonpj]
Mainly MkIface
simonpj [Mon, 23 Oct 2000 16:43:42 +0000 (16:43 +0000)]
[project @ 2000-10-23 16:43:42 by simonpj]
A tiny bit more
simonpj [Mon, 23 Oct 2000 16:39:12 +0000 (16:39 +0000)]
[project @ 2000-10-23 16:39:11 by simonpj]
More renamer stuff
sewardj [Mon, 23 Oct 2000 12:55:31 +0000 (12:55 +0000)]
[project @ 2000-10-23 12:55:31 by sewardj]
Plumb a function :: Name -> Maybe Fixity into the depths of the deriver
for deriving Show and Read. This information is in the ModIFaces, not
the ModDetails, and we don't want to send complete ModIFaces into the
typechecker.
simonpj [Mon, 23 Oct 2000 12:26:39 +0000 (12:26 +0000)]
[project @ 2000-10-23 12:26:39 by simonpj]
Put early-exit code in Rename.lhs
sewardj [Mon, 23 Oct 2000 12:00:22 +0000 (12:00 +0000)]
[project @ 2000-10-23 12:00:21 by sewardj]
Track renaming of typecheck/TcInstUtil to types/InstEnv.
sewardj [Mon, 23 Oct 2000 11:56:20 +0000 (11:56 +0000)]
[project @ 2000-10-23 11:56:20 by sewardj]
****** renamed from typecheck/TcInstUtil.lhs to types/InstEnv.lhs ******
sewardj [Mon, 23 Oct 2000 11:50:42 +0000 (11:50 +0000)]
[project @ 2000-10-23 11:50:40 by sewardj]
Small cleanups.
simonmar [Mon, 23 Oct 2000 11:08:22 +0000 (11:08 +0000)]
[project @ 2000-10-23 11:08:22 by simonmar]
GHC Build System Police.
simonpj [Mon, 23 Oct 2000 09:03:30 +0000 (09:03 +0000)]
[project @ 2000-10-23 09:03:26 by simonpj]
Mainly renamer
sewardj [Fri, 20 Oct 2000 15:38:43 +0000 (15:38 +0000)]
[project @ 2000-10-20 15:38:42 by sewardj]
Latest hacks.
sewardj [Thu, 19 Oct 2000 15:00:17 +0000 (15:00 +0000)]
[project @ 2000-10-19 15:00:16 by sewardj]
Stagger dazedly towards getting the renamer to compile.
sewardj [Thu, 19 Oct 2000 10:06:47 +0000 (10:06 +0000)]
[project @ 2000-10-19 10:06:46 by sewardj]
Fix simplifier stuff.
sewardj [Wed, 18 Oct 2000 14:04:12 +0000 (14:04 +0000)]
[project @ 2000-10-18 14:04:12 by sewardj]
Make the desugarer compile.
sewardj [Wed, 18 Oct 2000 12:47:56 +0000 (12:47 +0000)]
[project @ 2000-10-18 12:47:55 by sewardj]
Finish getting the typechecker to compile. Wahey!
simonmar [Wed, 18 Oct 2000 09:40:18 +0000 (09:40 +0000)]
[project @ 2000-10-18 09:40:17 by simonmar]
- Dynamicise another couple of options (-fgenerics & -freport-compile)
The rest look awkward to move into DynFlags.
- Move opt_UseVanillaRegs & friends to CgRetConv, since they aren't
real options.
sewardj [Wed, 18 Oct 2000 09:38:17 +0000 (09:38 +0000)]
[project @ 2000-10-18 09:38:17 by sewardj]
Make TcDeriv compile, after much argument with the typechecker.
simonmar [Wed, 18 Oct 2000 09:30:19 +0000 (09:30 +0000)]
[project @ 2000-10-18 09:30:19 by simonmar]
whitespace only
sewardj [Tue, 17 Oct 2000 15:57:57 +0000 (15:57 +0000)]
[project @ 2000-10-17 15:57:57 by sewardj]
Fix enough renamer bits to get going again on the typechecker.
HACK ALERT: RnIfaces is almost completely #ifdef'd out!
sewardj [Tue, 17 Oct 2000 14:40:26 +0000 (14:40 +0000)]
[project @ 2000-10-17 14:40:26 by sewardj]
Make RnEnv compile.
simonmar [Tue, 17 Oct 2000 13:22:12 +0000 (13:22 +0000)]
[project @ 2000-10-17 13:22:10 by simonmar]
Flags hacking:
- `dopt_GlasgowExts' is now written `dopt Opt_GlasgowExts'
- convert all the warning options into DynFlags
sewardj [Tue, 17 Oct 2000 12:48:35 +0000 (12:48 +0000)]
[project @ 2000-10-17 12:48:34 by sewardj]
More thrills and spills with the typechecker.
simonmar [Tue, 17 Oct 2000 11:52:10 +0000 (11:52 +0000)]
[project @ 2000-10-17 11:52:10 by simonmar]
- remove CmCompile; all its contents have moved to HscTypes and
DriverPipeline.
- export Unlinked(..) from CmLink
- update CompManager w.r.t. new CmSummarise
simonmar [Tue, 17 Oct 2000 11:50:20 +0000 (11:50 +0000)]
[project @ 2000-10-17 11:50:20 by simonmar]
add code to implement "compile".
simonmar [Tue, 17 Oct 2000 11:44:05 +0000 (11:44 +0000)]
[project @ 2000-10-17 11:44:05 by simonmar]
- export CompResult & HscResult
- add (Maybe [UnlinkedIBind]) to HscResult, in case it is returning
interpreted code
- bring HscResult in to line with CompResult w.r.t. warnings/errors
sewardj [Tue, 17 Oct 2000 11:34:46 +0000 (11:34 +0000)]
[project @ 2000-10-17 11:34:46 by sewardj]
Changes needed to get TcExpr to compile.