This is the mail archive of the kawa@sourceware.org mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: disassembling functions


* Per Bothner [2009-09-29 09:44+0200] writes:

> On 09/26/2009 11:21 AM, Helmut Eller wrote:
>> BTW, it would be useful if Kawa had a disassemble function which takes
>> procedures as argument.  That would be much more convenient than
>> compiling to a class file and calling javap on it.
>
> Your wish is my command - within reason.

Hehe, will keep my wishes in check.

This is really cool.  Who would have thought that length returns an
unboxed integer without disassembling it?  The output looks also
prettier than javap's.

I'm guessing that cases like
   (disassemble (lambda (x) x))
or
   (disassemble cdr)
could be handled with a bit of extra work.

Anyway, thank you for the good work!

Helmut



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]