[project @ 2000-04-21 14:35:46 by simonpj]
authorsimonpj <unknown>
Fri, 21 Apr 2000 14:35:46 +0000 (14:35 +0000)
committersimonpj <unknown>
Fri, 21 Apr 2000 14:35:46 +0000 (14:35 +0000)
commit7166525ede2720138bced419e1070ad9245a90f5
tree54b5104d2d5e5e9f616b8ad544b8576f599a6d3f
parentbcfb56f67f90f5b28cbfb162beca9accd3e3e531
[project @ 2000-04-21 14:35:46 by simonpj]
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
ghc/compiler/Makefile