Language.{Java,JVM} ?

We have Language.Haskell and Language.C - is there something similar for Java as well? For JVM Bytecode? Any hints appreciated - J.W.

On 11/10/08, Johannes Waldmann
We have Language.Haskell and Language.C - is there something similar for Java as well? For JVM Bytecode? Any hints appreciated - J.W.
There's some code for manipulating JVM bytecode in lambdavm. http://www.cs.rit.edu/~bja8464/lambdavm/ It is inconveniently licensed (GPL) and depends on a massive great big utils package by the author, so probably not the most useful of references, but maybe it's a suitable start. :-)

On Tue, Nov 11, 2008 at 01:33:33AM +0000, David MacIver wrote:
http://www.cs.rit.edu/~bja8464/lambdavm/
It is inconveniently licensed (GPL) and depends on a massive great big utils package by the author, so probably not the most useful of references, but maybe it's a suitable start. :-)
Hey, I like my massive utils package. :) Here is the darcs repo: http://darcs.brianweb.net/hsjava/ (and the masstive utils repo: http://darcs.brianweb.net/hsutils/) I wouldn't mind relicensing it under the BSD license if necessary. -Brian

Here is the darcs repo: http://darcs.brianweb.net/hsjava/
Thanks, will look into it. I just need some AST representation of JVM code (as the target language for a toy/educational compiler) with a way to emit spec-conformant .class files. J.W.
participants (3)
-
Brian Alliet
-
David MacIver
-
Johannes Waldmann