Java byte code library anyone?
Ashley Yakeley
ashley@semantic.org
Fri, 23 Aug 2002 16:28:33 -0700
At 2002-08-23 07:44, Sven Panne wrote:
>Has anybody already written a Haskell library for Java byte code manipulation
>(reading/writing class files, editing byte codes, etc.)? Something in the
>spirit of the Byte Code Engineering Library (http://jakarta.apache.org/bcel/)
>or the Jikes Bytecode Toolkit (http://www.alphaworks.ibm.com/tech/jikesbt/)
>would be extremely nice. It's not rocket science, but quite a bit of work.
There's code in JVM-Bridge for assembling Java class files. It does
things such as constant pooling, etc., for you. I use it to create
"callback" classes at run-time that have Haskell functions for methods.
<http://sourceforge.net/projects/jvm-bridge/>
--
Ashley Yakeley, Seattle WA