Cool... I wrote a similar little disassembler for ClojureCLR a few weeks
ago:
https://github.com/aaronc/ClojureClrEx/blob/master/src/clojure/clr/ildasm.clj
It uses Mono.Reflection to interpret the byte codes.
On Saturday, March 30, 2013 9:06:25 AM UTC-4, Gary Trakhman wrote:
>
> I made a littl
Ritz's debugger approach looks much more thorough and doesn't require
invasive extra dependencies as far as I can tell. If I had known it
existed, I probably wouldn't have bothered :-). One major weakness of my
approach is it doesn't take into account class-unloading through garbage
collectio
Gary Trakhman writes:
> I made a little proof of concept last night. You could always look at
> bytecode that clojure emits in few ways, you can either hack the compiler
> yourself, or force AOT in your project and use javap. The first approach
> is a bit intrusive, and the second has a some
2013/3/30 Gary Trakhman
> Potential use cases:
>
> Writing fast code faster.
> Proving to newbies that clojure is not interpreted, further evidence of
> eval's coolness.
> Checking to make sure primitives are being used where you expect.
>
Great idea. This kind of information is very valuable wh
On Sat, Mar 30, 2013 at 9:06 AM, Gary Trakhman wrote
:
>
> Potential use cases:
>
> Writing fast code faster.
> Proving to newbies that clojure is not interpreted, further evidence of
> eval's coolness.
> Checking to make sure primitives are being used where you expect.
>
Scaring the bejesus out o
https://github.com/gtrak/no.disassemble/
On Saturday, March 30, 2013 9:06:25 AM UTC-4, Gary Trakhman wrote:
>
> I made a little proof of concept last night. You could always look at
> bytecode that clojure emits in few ways, you can either hack the compiler
> yourself, or force AOT in your proj
I made a little proof of concept last night. You could always look at
bytecode that clojure emits in few ways, you can either hack the compiler
yourself, or force AOT in your project and use javap. The first approach
is a bit intrusive, and the second has a somewhat annoying turnaround time,