Skip to content
Snippets Groups Projects
  1. Apr 21, 2000
    • Simon Peyton Jones's avatar
      [project @ 2000-04-21 15:07:45 by simonpj] · 677d7900
      Simon Peyton Jones authored
      Add loop test
      677d7900
    • Simon Peyton Jones's avatar
      [project @ 2000-04-21 14:40:48 by simonpj] · 0666c3bb
      Simon Peyton Jones authored
      Remove a way to make the simplifier go into an
      infinite loop.   This has been there for some weeks;
      and George's UniForm tickled it.  I'm amazed nothing
      else has done so.  I'll add a test.
      
      The bad case happened when you go
      
      	let xs = 1:xs
      	in
      	foldr k z xs
      
      Then we kept firing the foldr/cons rule.
      
      Solution: we don't attach an unfolding *at all* to
      loop breakers (Simplify.completeBinding)
      0666c3bb
    • Simon Peyton Jones's avatar
      [project @ 2000-04-21 14:35:46 by simonpj] · 7166525e
      Simon Peyton Jones authored
      First I forgot to commit all the files for the
      Java support.  Then I spoke the wrong CVS command.
      This commit just adds the log message!
      
      --------------------------
      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
      7166525e
    • Simon Peyton Jones's avatar
      [project @ 2000-04-21 12:59:13 by simonpj] · bcfb56f6
      Simon Peyton Jones authored
      And here is the commit for the driver
      bcfb56f6
    • Simon Peyton Jones's avatar
      [project @ 2000-04-21 12:57:54 by simonpj] · c30bd911
      Simon Peyton Jones authored
      /home/simonpj/tmp/msg
      c30bd911
  2. Apr 20, 2000
  3. Apr 19, 2000
  4. Apr 18, 2000
  5. Apr 17, 2000
Loading