[racket] Developing DrRacket Extensions in the same process

From: Robby Findler (robby at eecs.northwestern.edu)
Date: Sat Apr 6 20:07:06 EDT 2013

On second thought, I think that you'd probably want to reload a file that
implements a tool and have that swap out the mixin, so I've added the
capability to do that with a commit just now.

hth,
Robby

On Fri, Apr 5, 2013 at 10:45 PM, Robby Findler
<robby at eecs.northwestern.edu>wrote:

> Okay, I've made a first attempt at this (just now pushed to git). I added
> the ability to add new mixins (via the drracket:get/extend:extend-*
> functions) at any time (as long as you call a function to explicitly enable
> that feature). DrRacket makes no attempt to adjust any existing objects
> that have been created but, for the most part, as long as you create a new
> frame after doing your new extensions, things should work, I think.
>
> Also, if you set the PLTDRRPEL environment variable then you'll get a
> REPL. There are docs here in this commit:
>
>
> http://git.racket-lang.org/plt/commit/77163fe8d16d48d98b3a6b47df2af571e8fbbdcc
>
> Please let me know if this seems helpful.
>
> Robby
>
>
>
> On Fri, Mar 22, 2013 at 1:41 PM, Nick Main <david.nick.main at gmail.com>wrote:
>
>> Is there a way to develop DrRacket extensions in the same process as the
>> primary DrRacket ?
>> The fact that the mixin extension mechanism has already been "sealed"
>> appears to prevent that.
>> Is there a way to create a new "context" for creating extended DrRacket
>> classes within the same process ?
>>
>> I also asked this question on Stackoverflow:
>> http://stackoverflow.com/questions/15561215/developing-drracket-extensions-within-the-same-process
>>
>>
>> --Nick Main
>>
>> ____________________
>>   Racket Users list:
>>   http://lists.racket-lang.org/users
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20130406/a3e4c1ef/attachment.html>

Posted on the users mailing list.