Skip to content
Snippets Groups Projects
  1. Aug 16, 2000
    • Simon Marlow's avatar
      [project @ 2000-08-16 13:28:25 by simonmar] · 66644baa
      Simon Marlow authored
      Don't just pick the back edges ({-# SOURCE #-} imports) when
      collecting the list of imports for module initialisation.  It's
      entirely possible that a module is only reachable from Main via {-#
      SOURCE #-} imports.
      66644baa
  2. Aug 15, 2000
  3. Aug 10, 2000
  4. Aug 09, 2000
  5. Aug 08, 2000
  6. Aug 07, 2000
    • Marcin 'Qrczak' Kowalczyk's avatar
      [project @ 2000-08-07 23:37:19 by qrczak] · 4b172698
      Marcin 'Qrczak' Kowalczyk authored
      Now Char, Char#, StgChar have 31 bits (physically 32).
      "foo"# is still an array of bytes.
      
      CharRep represents 32 bits (on a 64-bit arch too). There is also
      Int8Rep, used in those places where bytes were originally meant.
      readCharArray, indexCharOffAddr etc. still use bytes. Storable and
      {I,M}Array use wide Chars.
      
      In future perhaps all sized integers should be primitive types. Then
      some usages of indexing primops scattered through the code could
      be changed to then-available Int8 ones, and then Char variants of
      primops could be made wide (other usages that handle text should use
      conversion that will be provided later).
      
      I/O and _ccall_ arguments assume ISO-8859-1. UTF-8 is internally used
      for string literals (only).
      
      Z-encoding is ready for Unicode identifiers.
      
      Ranges of intlike and charlike closures are more easily configurable.
      
      I've probably broken nativeGen/MachCode.lhs:chrCode for Alpha but I
      don't know the Alpha assembler to fix it (what is zapnot?). Generally
      I'm not sure if I've done the NCG changes right.
      
      This commit breaks the binary compatibility (of course).
      
      TODO:
      * is* and to{Lower,Upper} in Char (in progress).
      * Libraries for text conversion (in design / experiments),
        to be plugged to I/O and a higher level foreign library.
      * PackedString.
      * StringBuffer and accepting source in encodings other than ISO-8859-1.
      4b172698
    • Marcin 'Qrczak' Kowalczyk's avatar
      [project @ 2000-08-07 23:29:46 by qrczak] · 514da0a6
      Marcin 'Qrczak' Kowalczyk authored
      Use \{ \} in regex instead of { } for literal { }.
      Hope it should be OK in theory; needed in practice here.
      514da0a6
    • Reuben Thomas's avatar
      [project @ 2000-08-07 16:09:03 by rrt] · e415f297
      Reuben Thomas authored
      Add COMPILING_STDLIB symbol analagous to COMPILING_RTS for the extern vars
      in stgio.h.
      e415f297
    • Reuben Thomas's avatar
      [project @ 2000-08-07 16:07:53 by rrt] · 009c94a9
      Reuben Thomas authored
      Add gmp.h to boot target so that it gets copied during booting (otherwise
      make boot breaks down).
      009c94a9
    • Reuben Thomas's avatar
      [project @ 2000-08-07 16:06:38 by rrt] · e1ecea72
      Reuben Thomas authored
      Use $(MV) not mv.
      e1ecea72
    • Julian Seward's avatar
      [project @ 2000-08-07 14:15:43 by sewardj] · ef7cf7b0
      Julian Seward authored
      This is the program which generates bits of primop-related Haskell
      (and, soon, C) code from ghc/compiler/prelude/primops.txt.
      ef7cf7b0
    • Julian Seward's avatar
      [project @ 2000-08-07 14:11:48 by sewardj] · 014a3451
      Julian Seward authored
      Reorganise the way primops are done.  Most of the information about
      primops, their types and relevant attributes is in prelude/primops.txt.
      A supporting program in fptools/ghc/utils/genprimopcode reads this
      file and generates various bits of code which are #include'd into
      prelude/PrimOp.lhs.  Eventually this mechanism will be extended to
      generate PrelGHC.hi and C code for primops in the bytecode evaluator.
      
      Also, add a few primops for creating, reading and writing BCOs.
      014a3451
  7. Aug 06, 2000
  8. Aug 04, 2000
  9. Aug 03, 2000
Loading