diff options
| author | simonpj <unknown> | 2000-04-20 16:45:16 +0000 |
|---|---|---|
| committer | simonpj <unknown> | 2000-04-20 16:45:16 +0000 |
| commit | 1abb301c708c5265c15b3f52fadb57d58299c0b4 (patch) | |
| tree | 88a317b5851cbc981c02d802abf1845c7d3683d1 /ghc/compiler/main/CodeOutput.lhs | |
| parent | 8f674b1c9bc152363650adb609f07b695eb9ecf2 (diff) | |
| download | haskell-1abb301c708c5265c15b3f52fadb57d58299c0b4.tar.gz | |
[project @ 2000-04-20 16:45:16 by simonpj]
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
Diffstat (limited to 'ghc/compiler/main/CodeOutput.lhs')
0 files changed, 0 insertions, 0 deletions
