Skip to content
Snippets Groups Projects
Commit 7166525e authored by Simon Peyton Jones's avatar Simon Peyton Jones
Browse files

[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
parent bcfb56f6
No related merge requests found
# -----------------------------------------------------------------------------
# $Id: Makefile,v 1.74 2000/04/21 12:57:54 simonpj Exp $
# $Id: Makefile,v 1.75 2000/04/21 14:35:46 simonpj Exp $
TOP = ..
include $(TOP)/mk/boilerplate.mk
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment