simonpj [Mon, 16 Oct 2000 14:14:20 +0000 (14:14 +0000)]
[project @ 2000-10-16 14:14:20 by simonpj]
Remove ExportFlag
sewardj [Mon, 16 Oct 2000 13:57:43 +0000 (13:57 +0000)]
[project @ 2000-10-16 13:57:43 by sewardj]
Track Simon's Module changes.
sewardj [Mon, 16 Oct 2000 13:51:28 +0000 (13:51 +0000)]
[project @ 2000-10-16 13:51:28 by sewardj]
push along (RnEnv doesn't typecheck, tho)
sewardj [Mon, 16 Oct 2000 13:34:40 +0000 (13:34 +0000)]
[project @ 2000-10-16 13:34:40 by sewardj]
Nuked.
simonmar [Mon, 16 Oct 2000 13:30:25 +0000 (13:30 +0000)]
[project @ 2000-10-16 13:30:25 by simonmar]
isLocalModule ==> isModuleInThisPackage
simonmar [Mon, 16 Oct 2000 13:29:58 +0000 (13:29 +0000)]
[project @ 2000-10-16 13:29:58 by simonmar]
Modules now go back to just containing a flag saying which package
they belong to.
Rename the slightly cryptic "isLocalModule" to
"isModuleInThisPackage".
sewardj [Mon, 16 Oct 2000 13:29:14 +0000 (13:29 +0000)]
[project @ 2000-10-16 13:29:13 by sewardj]
make HscTypes and RnMonad compilable
sewardj [Mon, 16 Oct 2000 13:13:41 +0000 (13:13 +0000)]
[project @ 2000-10-16 13:13:41 by sewardj]
make compilable
sewardj [Mon, 16 Oct 2000 11:39:25 +0000 (11:39 +0000)]
[project @ 2000-10-16 11:39:25 by sewardj]
mkBuiltinSrcLoc -> builtinSrcLoc
sewardj [Mon, 16 Oct 2000 11:32:56 +0000 (11:32 +0000)]
[project @ 2000-10-16 11:32:56 by sewardj]
Fix up pprName. So much simpler than the original that it will
doubtless require fixing later.
sewardj [Mon, 16 Oct 2000 10:16:33 +0000 (10:16 +0000)]
[project @ 2000-10-16 10:16:33 by sewardj]
Don't try to import IOError non-abstractly (avoids a compiler warning).
sewardj [Mon, 16 Oct 2000 10:14:10 +0000 (10:14 +0000)]
[project @ 2000-10-16 10:14:10 by sewardj]
wibble
sewardj [Mon, 16 Oct 2000 10:05:01 +0000 (10:05 +0000)]
[project @ 2000-10-16 10:05:00 by sewardj]
Mostly typechecker stuff.
simonpj [Mon, 16 Oct 2000 08:24:20 +0000 (08:24 +0000)]
[project @ 2000-10-16 08:24:18 by simonpj]
Mainly renamer
simonpj [Fri, 13 Oct 2000 16:36:22 +0000 (16:36 +0000)]
[project @ 2000-10-13 16:36:21 by simonpj]
Small things
simonpj [Fri, 13 Oct 2000 16:00:45 +0000 (16:00 +0000)]
[project @ 2000-10-13 16:00:45 by simonpj]
Tidy up errors and warnings
simonpj [Fri, 13 Oct 2000 15:08:10 +0000 (15:08 +0000)]
[project @ 2000-10-13 15:08:10 by simonpj]
Mainly typechecking instance decls
sewardj [Fri, 13 Oct 2000 14:14:32 +0000 (14:14 +0000)]
[project @ 2000-10-13 14:14:31 by sewardj]
Fix some typechecker bits.
sewardj [Fri, 13 Oct 2000 13:43:47 +0000 (13:43 +0000)]
[project @ 2000-10-13 13:43:47 by sewardj]
Changes to get RnMonad to compile.
sewardj [Fri, 13 Oct 2000 10:26:38 +0000 (10:26 +0000)]
[project @ 2000-10-13 10:26:38 by sewardj]
Changes to make PrelInfo compile.
sewardj [Fri, 13 Oct 2000 10:20:26 +0000 (10:20 +0000)]
[project @ 2000-10-13 10:20:26 by sewardj]
Changes needed to make HscTypes compile.
simonmar [Fri, 13 Oct 2000 09:12:40 +0000 (09:12 +0000)]
[project @ 2000-10-13 09:12:40 by simonmar]
Disable -split-objs for way 'u'.
simonpj [Thu, 12 Oct 2000 16:41:48 +0000 (16:41 +0000)]
[project @ 2000-10-12 16:41:48 by simonpj]
Mainly TcModule plumbing
sewardj [Thu, 12 Oct 2000 16:26:41 +0000 (16:26 +0000)]
[project @ 2000-10-12 16:26:41 by sewardj]
Commit the rest of today's stuff
sewardj [Thu, 12 Oct 2000 16:10:39 +0000 (16:10 +0000)]
[project @ 2000-10-12 16:10:39 by sewardj]
Propagation.
sewardj [Thu, 12 Oct 2000 16:04:40 +0000 (16:04 +0000)]
[project @ 2000-10-12 16:04:40 by sewardj]
Propagation.
sewardj [Thu, 12 Oct 2000 15:59:34 +0000 (15:59 +0000)]
[project @ 2000-10-12 15:59:34 by sewardj]
FastInt/DynFlags propagation.
simonmar [Thu, 12 Oct 2000 15:50:14 +0000 (15:50 +0000)]
[project @ 2000-10-12 15:50:14 by simonmar]
remove kludge
simonmar [Thu, 12 Oct 2000 15:49:34 +0000 (15:49 +0000)]
[project @ 2000-10-12 15:49:34 by simonmar]
remove superfluous defns of index{Word,Ptr}OffClosure
rrt [Thu, 12 Oct 2000 15:41:12 +0000 (15:41 +0000)]
[project @ 2000-10-12 15:41:12 by rrt]
Put in their own directories to humour the build system.
rrt [Thu, 12 Oct 2000 15:39:41 +0000 (15:39 +0000)]
[project @ 2000-10-12 15:39:41 by rrt]
Moved into subdirectories to allow docs to be built by build system.
rrt [Thu, 12 Oct 2000 15:33:47 +0000 (15:33 +0000)]
[project @ 2000-10-12 15:33:47 by rrt]
#warning is not ANSI.
simonpj [Thu, 12 Oct 2000 15:26:48 +0000 (15:26 +0000)]
[project @ 2000-10-12 15:26:48 by simonpj]
Work on initialisation of persistent compiler state
sewardj [Thu, 12 Oct 2000 15:23:21 +0000 (15:23 +0000)]
[project @ 2000-10-12 15:23:21 by sewardj]
mkSysModuleFS -> mkSysModuleNameFS
rrt [Thu, 12 Oct 2000 15:21:36 +0000 (15:21 +0000)]
[project @ 2000-10-12 15:21:36 by rrt]
Simple fix for install of HTML: mimic recursive install with chmod and cp.
simonmar [Thu, 12 Oct 2000 15:17:55 +0000 (15:17 +0000)]
[project @ 2000-10-12 15:17:55 by simonmar]
isUnboundName moved
simonmar [Thu, 12 Oct 2000 15:17:21 +0000 (15:17 +0000)]
[project @ 2000-10-12 15:17:21 by simonmar]
mkWiredInName fixes
sewardj [Thu, 12 Oct 2000 15:17:08 +0000 (15:17 +0000)]
[project @ 2000-10-12 15:17:07 by sewardj]
FastInt fixes
simonmar [Thu, 12 Oct 2000 15:14:30 +0000 (15:14 +0000)]
[project @ 2000-10-12 15:12:06 by simonmar]
FastInt fixes; remove unused imports
simonmar [Thu, 12 Oct 2000 15:07:02 +0000 (15:07 +0000)]
[project @ 2000-10-12 15:07:02 by simonmar]
FastInt fixes
simonmar [Thu, 12 Oct 2000 15:06:22 +0000 (15:06 +0000)]
[project @ 2000-10-12 15:06:22 by simonmar]
RdrName->Name fix
simonpj [Thu, 12 Oct 2000 15:05:59 +0000 (15:05 +0000)]
[project @ 2000-10-12 15:05:59 by simonpj]
More of Simon
rrt [Thu, 12 Oct 2000 15:04:54 +0000 (15:04 +0000)]
[project @ 2000-10-12 15:04:54 by rrt]
Removed out-of-date Windows gumph. It's all in the installation notes, ad
naus.
simonmar [Thu, 12 Oct 2000 14:41:17 +0000 (14:41 +0000)]
[project @ 2000-10-12 14:41:15 by simonmar]
Remove wired-in names. Partially propogated.
simonmar [Thu, 12 Oct 2000 14:25:35 +0000 (14:25 +0000)]
[project @ 2000-10-12 14:25:35 by simonmar]
update FAST_INT names
simonpj [Thu, 12 Oct 2000 13:44:59 +0000 (13:44 +0000)]
[project @ 2000-10-12 13:44:59 by simonpj]
Simons work, mainly on the type checker
simonmar [Thu, 12 Oct 2000 13:11:46 +0000 (13:11 +0000)]
[project @ 2000-10-12 13:11:45 by simonmar]
Move FAST_INT and FAST_BOOL into their own module FastTypes, replacing
the macro definitions in HsVersions.h with real definitions. Change
most of the names in the process.
Now we don't get bogus imports of GlaExts all over the place, and
-fwarn-unused-imports is less noisy.
simonpj [Thu, 12 Oct 2000 12:32:12 +0000 (12:32 +0000)]
[project @ 2000-10-12 12:32:11 by simonpj]
Simons work, mainly on the type checker
simonmar [Thu, 12 Oct 2000 12:31:17 +0000 (12:31 +0000)]
[project @ 2000-10-12 12:31:17 by simonmar]
Most _RDR names are now proper Names.
The knownKeyRdrNames mapping from RdrNames to Uniques is now just a
list of knownKeyNames.
This change hasn't been propogated yet.
sewardj [Thu, 12 Oct 2000 12:31:11 +0000 (12:31 +0000)]
[project @ 2000-10-12 12:31:11 by sewardj]
Julians progress
sewardj [Thu, 12 Oct 2000 11:48:52 +0000 (11:48 +0000)]
[project @ 2000-10-12 11:48:52 by sewardj]
mkSrc* -> mk* (forgotten in last commit)
sewardj [Thu, 12 Oct 2000 11:47:27 +0000 (11:47 +0000)]
[project @ 2000-10-12 11:47:25 by sewardj]
Rename a bunch of mkSrc* things into mk*'s.
sewardj [Thu, 12 Oct 2000 11:32:34 +0000 (11:32 +0000)]
[project @ 2000-10-12 11:32:33 by sewardj]
Propagate recent changes in module/Module.lhs.
sewardj [Thu, 12 Oct 2000 10:48:04 +0000 (10:48 +0000)]
[project @ 2000-10-12 10:48:04 by sewardj]
Add ModuleEnv stuff.
sewardj [Thu, 12 Oct 2000 10:32:41 +0000 (10:32 +0000)]
[project @ 2000-10-12 10:32:40 by sewardj]
Changes to do with making Module and ModuleName into Uniquables.
sewardj [Thu, 12 Oct 2000 09:56:52 +0000 (09:56 +0000)]
[project @ 2000-10-12 09:56:52 by sewardj]
Rationalise Module/PackageInfo/ModLocation mess. Now we just have
Module and ModuleKind.
sewardj [Thu, 12 Oct 2000 09:15:42 +0000 (09:15 +0000)]
[project @ 2000-10-12 09:15:42 by sewardj]
TLA renaming.
sewardj [Thu, 12 Oct 2000 08:57:03 +0000 (08:57 +0000)]
[project @ 2000-10-12 08:57:03 by sewardj]
DynFlag plumbing.
simonmar [Thu, 12 Oct 2000 08:46:54 +0000 (08:46 +0000)]
[project @ 2000-10-12 08:46:53 by simonmar]
we're now at version 4.11, at Manuel's request. The next release will
be version 5.00 (yay!), and version 4.10 will never exist.
sewardj [Wed, 11 Oct 2000 16:45:53 +0000 (16:45 +0000)]
[project @ 2000-10-11 16:45:53 by sewardj]
Do most of the DynFlags plumbing. Also remove stuff pertaining to
search paths since the finder does all that now.
simonpj [Wed, 11 Oct 2000 16:31:27 +0000 (16:31 +0000)]
[project @ 2000-10-11 16:31:27 by simonpj]
Beginnings of renamer and typechecker stuff
simonmar [Wed, 11 Oct 2000 16:26:04 +0000 (16:26 +0000)]
[project @ 2000-10-11 16:26:04 by simonmar]
more progress; initial stab at calling hscMain from the driver
Summary:
* in normal mode, the driver calls hscMain directly. The
compilation manager is not involved at all. This bit is almost
there, just waiting for hscMain to catch up.
* in `ghc --make' mode, the driver will hand off control to the
compilation manager, and provide the `compile' interface. This
bit isn't there yet.
* in `ghc --interactive' mode, the driver will hand off control
to the user interface (which doesn't exist yet), which will in
turn invoke the compilation manager, which in turn invokes the
driver again through the `compile' interface. None of this
is there yet.
sewardj [Wed, 11 Oct 2000 16:15:32 +0000 (16:15 +0000)]
[project @ 2000-10-11 16:15:32 by sewardj]
Reinstate emptyPCS.
simonmar [Wed, 11 Oct 2000 16:06:38 +0000 (16:06 +0000)]
[project @ 2000-10-11 16:06:38 by simonmar]
dead code removal
simonmar [Wed, 11 Oct 2000 15:31:43 +0000 (15:31 +0000)]
[project @ 2000-10-11 15:31:43 by simonmar]
MkDependHS stuff separated into its own file.
sewardj [Wed, 11 Oct 2000 15:31:27 +0000 (15:31 +0000)]
[project @ 2000-10-11 15:31:27 by sewardj]
Move @compile@-related types to HscTypes.
simonmar [Wed, 11 Oct 2000 15:26:18 +0000 (15:26 +0000)]
[project @ 2000-10-11 15:26:18 by simonmar]
all compiles now; not quite hooked up to hscMain yet though.
simonpj [Wed, 11 Oct 2000 15:04:47 +0000 (15:04 +0000)]
[project @ 2000-10-11 15:04:47 by simonpj]
Moving on
sewardj [Wed, 11 Oct 2000 14:51:02 +0000 (14:51 +0000)]
[project @ 2000-10-11 14:51:02 by sewardj]
Renaming of various previously-TLA'd types.
simonmar [Wed, 11 Oct 2000 14:08:52 +0000 (14:08 +0000)]
[project @ 2000-10-11 14:08:52 by simonmar]
getting there...
simonmar [Wed, 11 Oct 2000 14:08:23 +0000 (14:08 +0000)]
[project @ 2000-10-11 14:08:23 by simonmar]
nuke all the search path cruft in this file
simonmar [Wed, 11 Oct 2000 14:07:52 +0000 (14:07 +0000)]
[project @ 2000-10-11 14:07:52 by simonmar]
add macro GLOBAL_VAR()
simonmar [Wed, 11 Oct 2000 13:27:35 +0000 (13:27 +0000)]
[project @ 2000-10-11 13:27:35 by simonmar]
- add prefixMatch & postfixMatch list comparison operators
- add 'global' for global vars
- remove unused cmpString
- remove unused imports
simonmar [Wed, 11 Oct 2000 11:54:58 +0000 (11:54 +0000)]
[project @ 2000-10-11 11:54:58 by simonmar]
Some progress:
- driver is split up into slightly more managable parts
- PreProces interface for use by the summariser
- flags stuff is taking shape
rrt [Wed, 11 Oct 2000 10:21:10 +0000 (10:21 +0000)]
[project @ 2000-10-11 10:21:10 by rrt]
Reuben puts the "pee" into "compeelation"
rrt [Wed, 11 Oct 2000 10:20:26 +0000 (10:20 +0000)]
[project @ 2000-10-11 10:20:26 by rrt]
Added missing </Para>. Ironic if you look at the last commit on this file.
rrt [Wed, 11 Oct 2000 10:17:32 +0000 (10:17 +0000)]
[project @ 2000-10-11 10:17:32 by rrt]
Don't read TMPDIR from the environment under mingwin; avoids / being
turned into \ in the env var, which then causes problems when this value
is written to a shell file and then executed.
simonmar [Tue, 10 Oct 2000 16:31:26 +0000 (16:31 +0000)]
[project @ 2000-10-10 16:31:26 by simonmar]
driver<->hsc deforestation continues; classifyOpts isn't needed any more
sewardj [Tue, 10 Oct 2000 16:21:33 +0000 (16:21 +0000)]
[project @ 2000-10-10 16:21:33 by sewardj]
Spadework for getting ModuleName -> Module maps in the right places.
Also start to expand short names (PCS) to PersistentCompilerState, etc.
simonpj [Tue, 10 Oct 2000 16:02:43 +0000 (16:02 +0000)]
[project @ 2000-10-10 16:02:43 by simonpj]
Back out changes to TcMonoType that didn't work right.
These changes are now done correctly on the before-ghci-branch,
and so will get merged in later.
simonmar [Tue, 10 Oct 2000 15:42:32 +0000 (15:42 +0000)]
[project @ 2000-10-10 15:42:32 by simonmar]
Define HscLang, the output format of hsc.
Remove opt_OutputLanguage, opt_OutputFile, and a few other flags which
we're going to do through DynFlags or directly as arguments to hscLang now.
simonmar [Tue, 10 Oct 2000 13:25:19 +0000 (13:25 +0000)]
[project @ 2000-10-10 13:25:19 by simonmar]
The driver, more or less verbatim copied from ghc/driver/Main.hs.
THE PLAN: the main body of the driver will eventually sit between the
compilation manager and HscMain, providing all the grotty services
like compilation of .hc files.
Some other parts of the driver, eg. flag parsing, will remain at the
front end.
simonmar [Tue, 10 Oct 2000 13:21:10 +0000 (13:21 +0000)]
[project @ 2000-10-10 13:21:10 by simonmar]
Temporary file management, broken out of the driver.
simonmar [Tue, 10 Oct 2000 13:20:38 +0000 (13:20 +0000)]
[project @ 2000-10-10 13:20:38 by simonmar]
Main is now HscMain: this will transform eventually into the
compiler's entry point.
CmdLineOpts now separates flags into static flags and dynamic flags;
dynamic flags will be passed around explicitly and can therefore
change from compilation to compilation. All the dump flags and a few
language flags (like -fglasgow-exts) are currently DynFlags.
NOTE: nothing will now compile, for a long while until we get all this
connected up. This commit is so that we start pulling in the same
direction.
simonmar [Tue, 10 Oct 2000 13:14:30 +0000 (13:14 +0000)]
[project @ 2000-10-10 13:14:30 by simonmar]
export getImports; mkdependHS will need it.
simonmar [Tue, 10 Oct 2000 13:13:17 +0000 (13:13 +0000)]
[project @ 2000-10-10 13:13:17 by simonmar]
Build main/Config.hs (cut-n-paste from driver/Makefile)
sewardj [Tue, 10 Oct 2000 12:20:46 +0000 (12:20 +0000)]
[project @ 2000-10-10 12:20:46 by sewardj]
* Get more of the compilation manager working, using a dummy compiler
and linker.
* When linking, figure out the set of packages which need to be linked.
* Redo package config plumbing to support the above. Some stuff has
moved from CmFind to CmStaticInfo.
* Get rid of FLAGS entirely.
simonmar [Tue, 10 Oct 2000 09:28:50 +0000 (09:28 +0000)]
[project @ 2000-10-10 09:28:50 by simonmar]
Loop in fill_up_line_buffer if read returns EINTR. The code
previously just returned in this case.
simonmar [Tue, 10 Oct 2000 09:12:19 +0000 (09:12 +0000)]
[project @ 2000-10-10 09:12:19 by simonmar]
debugging output wibbles
chak [Tue, 10 Oct 2000 04:55:28 +0000 (04:55 +0000)]
[project @ 2000-10-10 04:55:28 by chak]
Just for fun, perl v5.6.0 version info has a different syntax.
rrt [Mon, 9 Oct 2000 16:53:49 +0000 (16:53 +0000)]
[project @ 2000-10-09 16:53:49 by rrt]
Added a tip about using <Para> inside <ListItem>s.
rrt [Mon, 9 Oct 2000 16:51:01 +0000 (16:51 +0000)]
[project @ 2000-10-09 16:51:01 by rrt]
Many fixes to make it DocBook friendly.
simonmar [Mon, 9 Oct 2000 11:42:49 +0000 (11:42 +0000)]
[project @ 2000-10-09 11:42:49 by simonmar]
Fill in some gaps; add Float# and Double# reps
simonmar [Mon, 9 Oct 2000 11:41:43 +0000 (11:41 +0000)]
[project @ 2000-10-09 11:41:43 by simonmar]
fix heap check bogons in mci_make_constr*
daan [Mon, 9 Oct 2000 11:21:41 +0000 (11:21 +0000)]
[project @ 2000-10-09 11:18:46 by daan]
Lots of changes for Xmlambda. all changes are between
#ifdef XMLAMBDA blocks.
- new bytecodes for Inj constructors and witnesses
- new primops for rows
- code for calling foreign functions. This only works with
'dynamic.c' but that is not checked in yet.
simonmar [Mon, 9 Oct 2000 10:58:38 +0000 (10:58 +0000)]
[project @ 2000-10-09 10:58:38 by simonmar]
import Linker ( linkPrelude )
daan [Mon, 9 Oct 2000 10:28:33 +0000 (10:28 +0000)]
[project @ 2000-10-09 10:28:33 by daan]
removed references to 'splim' in code for the INTERPRETER.
simonmar [Mon, 9 Oct 2000 09:19:16 +0000 (09:19 +0000)]
[project @ 2000-10-09 09:19:16 by simonmar]
Re-add -fwarn-hi-shadowing now that we mostly remove duplicates from
the import path.
simonmar [Fri, 6 Oct 2000 15:50:44 +0000 (15:50 +0000)]
[project @ 2000-10-06 15:50:44 by simonmar]
Link the compiled prelude in, for testing the interpreter.
simonmar [Fri, 6 Oct 2000 15:49:41 +0000 (15:49 +0000)]
[project @ 2000-10-06 15:49:41 by simonmar]
Hack about in a major way, and get this thing linking interpreted code
to a compiled prelude.