Looking to write a new Bytecode back-end (Gen) for microcontroller VM
niels.brouwers at gmail.com
Tue Jul 8 22:04:41 PDT 2008
I hope that this mailing list is the correct medium for asking this
question. If not, please forgive my intrusion.
I'm writing a Java virtual machine for microcontrollers, and since the
Java instruction set is not suitable for such platforms (32-bit stack
width is the main problem) I would like to build my own bytecode
I've been hacking the compiler a bit today, but found it extremely
difficult to extend or change the behavior of Javac in a non-intrusive
way. I would basically like to re-use all of Javac, and simply drop in
my own bytecode generator visitor.
Before I go further with this I was wondering what the best approach
would be. Can I keep most of the Javac functionality or do I need to
write most of it from scratch?
Thanks in advance,
More information about the compiler-dev