[racket] Racket VM in Racket
On Aug 6, 2014, at 4:33 PM, Jens Axel Søgaard <jensaxel at soegaard.net> wrote:
> 2014-08-06 16:10 GMT+02:00 Robby Findler <robby at eecs.northwestern.edu>:
>> I think this is awesome too!
>>
>> Is there some way we can use this to help make Racket better, do you think?
>
> That wasn't the motivation per se, but it might have some potential uses.
> A simple application would be to collect statistics of the bytecodes used.
> Another would be to add a tracer.
>
>> Would it be useful as a test oracle? Is there a way to maybe
>> re-interpret the function definitions (say put them into a different
>> "#lang") you've written to get some kind of a cool random bytecode
>> generator maybe?
>
> I am not sure what you mean here.
I think you could do a
#lang bc ; for byte code with it
that comes with a traditional stepper.
-- Matthias