- Feb 22, 2000
-
-
Simon Marlow authored
Ignore SIGPIPE, since our I/O library handles EPIPE properly and SIGPIPE tends to cause the Haskell program to exit silently and mysteriously. Found-by: furiously pressing the refresh button in a browser connected to my Haskell web server :-)
-
- Feb 21, 2000
-
-
sven.panne@aedion.de authored
Extended interface mangler with deprecations handling. NOTE: Whoever wrote this part of the driver without adding a HUGE warning in MkIface.lhs to keep both files in synch deserves the most severe punishment imaginable (huge stick, etc.)! >:-( The seemingly magical random rearrangement of the interface file outside Haskell's realm can drive you mad if you forget this...
-
sven.panne@aedion.de authored
Fixed typo in deprecations parsing
-
sven.panne@aedion.de authored
Write deprecations into interface files.
-
- Feb 20, 2000
-
-
sven.panne@aedion.de authored
Get deprecation info out of the renamer again
-
- Feb 18, 2000
-
-
sven.panne@aedion.de authored
Now deprecations can be read from interface files. To avoid a lookahead of 2, the syntax for interface files has been liberated slightly: They can end in as many freely mixed rule pragmas or deprecation pragmas as you like. Note: Parsing the deprecation pragma uses the same Lazy Technology (tm) as the one for rules. Don't know if this makes sense, but it is convenient here.
-
Simon Marlow authored
put SRTs in the text section.
-
Simon Marlow authored
Add copyright & Id
-
Simon Marlow authored
Module size wasn't taking into account the data section.
-
- Feb 17, 2000
-
-
Simon Marlow authored
Fitst cut at XML-style profiling logs. Time/allocation profiling only for now, and the new flag '+RTS -px' enables the new log file format.
-
sven.panne@aedion.de authored
Result of my daily DEPRECATED-hour: Now it's possible to use the pragma without harm, but nothing spectacular happens yet, only the usual renamer checks (duplication, var in scope).
-
Simon Marlow authored
clean up: some parallel stuff had escaped from #ifdef PAR (Hans???)
-
Simon Marlow authored
sync with reality slightly.
-
- Feb 16, 2000
-
-
sven.panne@aedion.de authored
Fixed pretty printing of DEPRECATED
-
sven.panne@aedion.de authored
Fixed pretty printing of RULES
-
- Feb 15, 2000
-
-
sven.panne@aedion.de authored
First steps towards DEPRECATED before Rosebank (12yrs) takes its toll. Nothing very functional yet, but at least hsc can be compiled and it still compiles the Prelude. Parsing the pragma turned out to be a little bit more complicated than expected, here the comment from Parser.y: The place for module deprecation is really too restrictive, but if it was allowed at its natural place just before 'module', we get an ugly s/r conflict with the second alternative. Another solution would be the introduction of a new pragma DEPRECATED_MODULE, but this is not very nice, either, and DEPRECATED is only expected to be used by people who really know what they are doing. :-) Net result: Module deprecation is allowed exactly behind the module's name and nowhere else. I probably have to think a little bit more about this some day...
-
Julian Seward authored
Implement CONST_INT_big and CONST_ADDR_big.
-
Julian Seward authored
Backend interop fixes: -- Make Hugs use the same constructor tag numbering as GHC, viz, starting at zero. -- Evaluator.c: when unwinding the stack on entering a constructor, return to the scheduler if a RET_{VEC_}{SMALL|BIG} is found on the stack.
-
Julian Seward authored
In hugsprimRunIO_toplevel, use catchException instead of catch. At least exceptions can then be caught, although Hugs then goes on to die with an assertion failure in unblockAsyncExceptionszh_ret_entry, probably caused by wrongly entering it twice in immediate succession.
-
- Feb 14, 2000
-
-
Julian Seward authored
Build parser/ctypes.o with $(HC), not $(CC).
-
Julian Seward authored
wibble
-
Julian Seward authored
cosmetic wibbles
-
Julian Seward authored
Remove fromDouble from class Fractional, and make it standalone. This matches GHC. I don't think this is strictly necessary, but Hugs refers to fromDouble during desugaring and I prefer to avoid possible mishaps.
-
Julian Seward authored
Paranoia: barf if enterBCO_primop1 or enterBCO_primop2 are called in combined mode (since GHC should handle all primops in that case).
-
Julian Seward authored
Add a debugging version of the mini-interpreter for Hugs.
-
Julian Seward authored
Tart up printStackChunk a bit./
-
Julian Seward authored
initStorage: remove #ifdef COMPILER around call to mp_set_memory_functions.
-
Julian Seward authored
PUSH_N for 0 regs available: also push stack tag to aid debugging
-
- Feb 11, 2000
-
-
Simon Peyton Jones authored
Add pprFSInCStyle
-
Simon Peyton Jones authored
Add a few functions to Outputable
-
- Feb 10, 2000
-
-
Jeff Lewis authored
Fix a couple of Implicit Param wibbles.
-
Simon Peyton Jones authored
A few comments about RnIfaces.lookupFixity
-
- Feb 09, 2000
-
-
Jeff Lewis authored
Misc. fixes to implicit parameters support.
-
Julian Seward authored
More bug fixes resulting from trying to load small programs into Hugs using the GHC Prelude: -- Better handling of kinds on class method types. It's still a kludge (I reckon) but works well enough to correctly handle methods in Monad and Functor. See comment in startGHCClass() in interface.c. -- Add hugsprimReadField and hugsprimShowField. -- Make error be exported from the Prelude. For some reason, PrelErr.hi doesn't give a signature for error, so we have to fake it by copying that of hugsprimError. -- Handle fixity declarations read from interfaces. -- Set nameListMonad so that list comprehensions can be translated.
-
- Feb 08, 2000
-
-
Julian Seward authored
-- finishGHCClass(): fill in the .number fields for members in the correct order. -- Let nullary constructors be called via their _closure labels so they don't get heap-allocated.
-
Julian Seward authored
Add hugsprimError, hugsprimCompAux.
-
Julian Seward authored
Many bug fixes for object loading: -- create class symbol table entries more correctly -- find GHC-created info tables for names which are constructors -- add debugging machinery: :d <entity> and symbol-table printers
-
- Feb 07, 2000
-
-
Simon Marlow authored
I'm utterly bemused, but it seems that someone called simonpj disabled the virtual timer in rev 1.25: + #if 0 /* tmp--SDM */ initialize_virtual_timer(TICK_MILLISECS); + #endif and tried to blame it on me by putting my name in the comment :-) (Simon - perhaps you copied this file out of my working tree and committed it by mistake or something?)
-
- Feb 04, 2000
-
-
Julian Seward authored
Remove various -fvia-Cs, leaving the minimal required set (4 of them).
-
Julian Seward authored
GSQRT, GSIN, GCOS, GTAN: if result size is float (as opposed to double), truncate the result to that length by writing it into memory and getting it back again (duh!), since that's what gcc does.
-