[Haskell-cafe] GSOC idea: Haskell JVM bytecode library

Chris Eidhof chris at eidhof.nl
Fri Mar 26 17:27:26 EDT 2010


We've used this library to generate a prototype JVM backend for UHC about a year ago, and it Just Worked. That was probably on 6.10 or 6.8.

-chris

On 26 mrt 2010, at 21:33, Brian Alliet wrote:

> On Fri, Mar 26, 2010 at 08:01:57PM +0000, Alexandru Scvortov wrote:
>> I'm thinking of writing a library for analyzing/generating/manipulating JVM 
>> bytecode.  To be clear, this library would allow one to load and work with JVM 
>> classfiles; it wouldn't be a compiler, interpretor or a GHC backend.
> 
> I wrote a JVM classfile library as part of LambdaVM (which is actually
> a JVM backend for GHC, it is a bit bit-rotted though, I need to get
> back into it):
> 
> http://darcs.brianweb.net/hsjava/
> 
> It requires my hsutils library (also available on darcs.brianweb.net).
> I haven't touched the code in a while and it might need a tweak or two
> with recent GHC versions. Drop me a line if you have any trouble
> getting it working (and patches are certainly welcome).
> 
> There isn't much documentation, besides the code and a few example
> programs that dump a pretty printed version of the data structure. I'd
> be more than happy to give anybody who is interested in using it some
> pointers though.
> 
> -Brian
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe



More information about the Haskell-Cafe mailing list