1. 20 Apr, 2000 13 commits
    • simonpj's avatar
      [project @ 2000-04-20 16:45:16 by simonpj] · 1abb301c
      simonpj authored
      Add support for Java generation, written in
      a lightning day with Erik Meijer
      
      	ghc -J Foo.hs
      
      will do the business, generating Foo.java
      
      The code is in a new directory, javaGen/, so
      you'll need to cvs update -d.
      
      I've reorganised main/CodeOutput quite a bit; it
      is now much much tidier, and will accommodate new
      languages quite easily.
      
      I've also fiddled with the flags that communicate
      between the driver and hsc.
      
      GONE:	-S=  -C=
      
      NEW:	-olang=xxx	output language xxx
      			xxx can be: C, asm, java
      
      	-ofile=xxx	put the output code in file xxx
      
      
      BEWARE that I might have broken some of the more
      cryptic stuff in ghc.lprl.
      
      Simon
      1abb301c
    • simonpj's avatar
      [project @ 2000-04-20 16:31:47 by simonpj] · 8f674b1c
      simonpj authored
      Finish TcClassDecl
      8f674b1c
    • panne's avatar
      [project @ 2000-04-20 16:28:39 by panne] · c5b20ebe
      panne authored
      To avoid potential collisions between different modules, prefix the
      names of the C stubs with the module name.
      c5b20ebe
    • panne's avatar
      [project @ 2000-04-20 16:22:46 by panne] · d8c19062
      panne authored
      I'm not sure if the last commit of MkId.lhs was incorrect or
      incomplete. Anyway, to build hsc I've commented out the now
      superfluous parameter for mkDictSelId (marked with "SUP:???").
      d8c19062
    • panne's avatar
      [project @ 2000-04-20 15:49:21 by panne] · 13ceb098
      panne authored
      Package util now depends on package posix, too.
      NOTE: To get Readline up and working, -lreadline and one of
      -lncurses/-lcurses/-ltermcap has to be inserted, too, but this has to
      be autoconf-ed somehow (later...)
      13ceb098
    • simonmar's avatar
      [project @ 2000-04-20 15:48:20 by simonmar] · 94cb5943
      simonmar authored
      Update this file to the one on the web site, and add Simon's latest
      notes about using the cvs- lists for bug reports about the cvs
      sources.
      94cb5943
    • simonmar's avatar
      [project @ 2000-04-20 15:34:17 by simonmar] · f54f4297
      simonmar authored
      Print out cost centre names as C strings (using proper escaping for
      special characters etc.).
      f54f4297
    • panne's avatar
      [project @ 2000-04-20 15:22:54 by panne] · 969bf5de
      panne authored
      Improved rules for stubs. Not perfect yet, but better than before.
      969bf5de
    • simonmar's avatar
      [project @ 2000-04-20 15:18:58 by simonmar] · 952a3281
      simonmar authored
      add	pprStringInCStyle :: String -> SDoc
      (we already have a FAST_STRING version but not one for plain Strings).
      952a3281
    • simonmar's avatar
      [project @ 2000-04-20 13:20:31 by simonmar] · 1dcb0eec
      simonmar authored
      Fix for initModules when unregisterised.
      1dcb0eec
    • simonpj's avatar
      [project @ 2000-04-20 12:50:18 by simonpj] · d74118a7
      simonpj authored
      Dont strip directory prefix when printing src-locs
      d74118a7
    • simonpj's avatar
      [project @ 2000-04-20 10:56:05 by simonpj] · 074d99bd
      simonpj authored
      - Fix bug in TcExpr.tcMonoExpr (RecordUpd ...), where I hadn't
        propagated the recent change (to be H98ish) that record selectors
        for types with a context are overloaded:
      	data Eq a => T a { f1 :: a }
      
        Here	f1 :: Eq a => T a -> a
      
        I don't like this, but Mark persuaded me that this was the
        Right Thing if we are to have contexts in data decls at all
        (which we should not)
      074d99bd
    • simonpj's avatar
      [project @ 2000-04-20 07:02:37 by simonpj] · e6177a67
      simonpj authored
      wibble
      e6177a67
  2. 19 Apr, 2000 10 commits
  3. 18 Apr, 2000 9 commits
  4. 17 Apr, 2000 8 commits