- Jan 12, 2000
-
-
Simon Marlow authored
Add 'par' and sparking support to the SMP implementation.
-
Julian Seward authored
Clear up confusion regarding names of tuple types. -- (), coded as Z0T, is the unit. -- (,), coded as Z1T, is the pair type. -- (,,,N commas,,,) coded as ZNT, is the (N+1)-tuple type. -- There is no 1-ary type type.
-
Julian Seward authored
readScripts(), combined mode: minor hack so that current eval module is Prelude rather than PrelHugs, once the Prelude is loaded.
-
Simon Marlow authored
mark INDirections as non-sparkable.
-
Julian Seward authored
Make hugsprimUnpackString :: Addr -> String available to Hugs' desugarer in both modes.
-
Julian Seward authored
Link nameInd to "_indirect". Haven't a clue what this is for but it seems necessary.
-
- Jan 11, 2000
-
-
Julian Seward authored
Handle tuple types (,,,) --> Z3T in enZcodeThenFindText().
-
Julian Seward authored
Connect PrelBase.[] to PrelBase_ZMZN_closure, and (:) likewise.
-
Julian Seward authored
Supply correct kinds for tycons created by addWiredInBoxingTycon().
-
Julian Seward authored
Remember to set name(n).arity when n is a class method
-
Julian Seward authored
nameFromOPtr(): don't try to search object sym tables for source modules lookupSection(): ditto, plus don't forget to also look in module(m).objectExtras
-
Julian Seward authored
Add nameShow and namePutStr as hooks for said fns so that evaluator() in hugs.c can refer to them in a style consistent with the way the rest of Hugs refers to specific symbol names.
-
Julian Seward authored
startGHCInstance: allocate a name() entry for the instance builder fn, and store the name in the instance's .builder field. Without this, it's impossible to generate any code which uses an instance builder :-(
-
Julian Seward authored
A module for use with the combined GHC-Hugs system. Contains various small helper functions referred to which Hugs' desugarer emits references. The same functions are implemented in ghc/interpreter/lib/Prelude.hs for use in standalone Hugs. The two versions should correspond exactly.
-
- Jan 10, 2000
-
-
Julian Seward authored
Back out previous commit.
-
Julian Seward authored
This is the missing log message for the commit by sewardj at 2000/01/10 08:23:33 PST for these files: Some names in the standalone Prelude are referred to during desugaring in Hugs. These functions therefore need to be supplied from the GHC world in combined mode. Rename the relevant functions from primXYZ to hugsprimXYZ to distinguish them, in preparation for create of ghc/lib/std/PrelHugs.lhs. ---------------------------------------------------------------------
-
Julian Seward authored
nameRunIO --> nameRunIO_toplevel
-
Julian Seward authored
-
Julian Seward authored
ocGetNames: sort the acquired symbol table by symbol name, so that ocLookupSym can then use a fast binary search to find symbols.
-
Reuben Thomas authored
Retagged <Literal>s into <Filename>, <Option>, <Command>, &c.
-
Simon Marlow authored
fix more breakage
-
Simon Marlow authored
ordering matters when you're using ':='...
-
- Jan 07, 2000
-
-
Julian Seward authored
type.c: implement typechecker(POSTPREL), so that initialisation of the typechecker is completed correctly in combined mode. storage.c(addTupleTycon): create a name table entry for () so that nameUnit in the above can be bound to something.
-
Simon Marlow authored
import Float# from PrelGHC
-
Simon Marlow authored
set $(HC)=$(GHC_INPLACE)
-
Simon Marlow authored
- set directories using ':=' because the value of $(TOP) can change - remove some old cruft
-
Simon Marlow authored
A few fixups: - correct some addresses - update the mail archive pointers to point to the new archives on mail-archive.com - use <email> tag for email addresses.
-
Julian Seward authored
storage.c: unZcode tuple types (eg Z4T) correctly (off by one) interface.c(startGHCClass): remember to do dictapsToQualtype on class member types (processInterfaces): return a Bool if Prelude.hi was processed, so we can know when to do everybody(POSTPREL)
-
Simon Marlow authored
Add $(SGML_DOC).tex to $(CLEAN_FILES).
-
Julian Seward authored
finishGHCModule: correctly create export list entries for non-Names importEntity: allow TUPLE as a kind of TYCON (am dubious about this)
-
Julian Seward authored
Add a few more symbols to EXTERN_SYMS to track recent GHC Prelude changes.
-
Julian Seward authored
Remove _fast from macro name gcdIntegerIntzh_fast.
-
- Jan 06, 2000
-
-
Julian Seward authored
Update Hugs' knowledge of the GHC Prelude to track recent Prelude changes.
-
Julian Seward authored
Reinstate debug printing, but only only for combined mode.
-
Julian Seward authored
Remove #ifdef COMPILER, since the contents of this file is now needed by the combined system.
-
Julian Seward authored
Change NUM_TUPLES to 37, to match GHC.
-
Simon Marlow authored
Fix a bug in inlining that gave unresolved references whenever you compile without -O. Silly me.
-
- Jan 05, 2000
-
-
AndyGill authored
Commenting out the debugging messages for in the new interface code.
-
Julian Seward authored
Fix more interface-reading bugs: -- Qualtypes were not being generated from DICTAPs for overloaded non-class values. New function dictapsToQualtype to handle this. -- Incorrect construction of constructor result type in startGHCDataDecl for parameterised types eg Just :: a -> Maybe a. Changed meaning of DICTAP, so that the construction is ap(DICTAP, (QConId, Type)) rather than ap(DICTAP, (QConId, [Type])). Will have to undo this if we want to support multiparam type classes.
-
Simon Marlow authored
Add test for unterminated ``.
-