<div dir="ltr">IMO, DrRacket-like functionality would be nice to have in an Emacs setting and probably using a sandbox is the way to get it. You'd want to not use the default settings for the sandbox, tho, but give more permissions for file access (and probably a few other things).<div>
<br></div><div>Robby</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Feb 11, 2013 at 1:07 AM, Eli Barzilay <span dir="ltr"><<a href="mailto:eli@barzilay.org" target="_blank">eli@barzilay.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">9 hours ago, Greg Hendershott wrote:<br>
> I'm inclined to add a new command to XREPL that takes that approach,<br>
> to experiment. I was spelunking in DrRacket source but I'm slow to<br>
> isolate that from what else is going on. It sounds like you<br>
> understand it; is there a code sample you could share?<br>
<br>
</div>I'm not sure what exactly you're after, but you can get most of that<br>
using a ,switch command to create a new namespace, then using it with<br>
a "!" flag to reset it.<br>
<div class="im HOEnZb"><br>
--<br>
((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay:<br>
<a href="http://barzilay.org/" target="_blank">http://barzilay.org/</a> Maze is Life!<br>
</div><div class="HOEnZb"><div class="h5">_________________________<br>
Racket Developers list:<br>
<a href="http://lists.racket-lang.org/dev" target="_blank">http://lists.racket-lang.org/dev</a><br>
</div></div></blockquote></div><br></div>