It would be neat if Janino used ASM's backend for bytecode
generation. Then you could feed its output into the class
transformations or use Janino's Java syntax tree object model to
construct code and convert it into the bytecode after that.

  regards,
  Eugene


On Dec 17, 11:52 am, Matt Fowles <[email protected]> wrote:
> Charlie~
>
> We use Janino for that exact purpose.  I am currently toying with the idea
> of making it into a mildly optimizing compiler (simply to reduce the size of
> the emitted bytecode and as an interesting exercise).  Would you find any
> value in that?
>
> Matt
>
> On Thu, Dec 17, 2009 at 11:42 AM, Charles Oliver Nutter <[email protected]
>
> > wrote:
> > On Thu, Dec 17, 2009 at 8:58 AM, Matt Fowles <[email protected]>
> > wrote:
> > > I am interested in this technique, can you provide a pointer to some
> > > starting point where I can see how you do this?  I thought javac didn't
> > > expose these classes.
>
> > Yeah, I'd like to hear more as well. I would use it in at least Duby's
> > JVM backend, and potentially for other things. I've hacked javac
> > internals, but never tried to feed it valid trees and make it spit out
> > bytecode.
>
> > - Charlie
>
> > --
>
> > You received this message because you are subscribed to the Google Groups
> > "JVM Languages" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> > [email protected]<jvm-languages%[email protected]>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/jvm-languages?hl=en.

--

You received this message because you are subscribed to the Google Groups "JVM 
Languages" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/jvm-languages?hl=en.


Reply via email to