[racket] evaluate some code in the REPL of the running program

60 views
Skip to first unread message

Răzvan Rotaru

unread,
Dec 19, 2011, 10:39:52 AM12/19/11
to us...@racket-lang.org
Hi,

Can I send an expression for evaluation to the REPL in Dr.Racket? (i.e. select some code, and evaluate it in the REPL of the running program)

Razvan

Sam Tobin-Hochstadt

unread,
Dec 19, 2011, 10:42:33 AM12/19/11
to Răzvan Rotaru, us...@racket-lang.org
DrRacket doesn't have a built-in keybinding for this, but thanks to
its extensibility features, you can build it yourself. It's worked
out as an example here:
http://docs.racket-lang.org/drracket/Keyboard_Shortcuts.html?q=keybinding#%28part._.Sending_.Program_.Fragments_to_the_.R.E.P.L%29

> _________________________________________________
>  For list-related administrative tasks:
>  http://lists.racket-lang.org/listinfo/users

--
sam th
sa...@ccs.neu.edu

_________________________________________________
For list-related administrative tasks:
http://lists.racket-lang.org/listinfo/users

Robby Findler

unread,
Dec 19, 2011, 10:43:06 AM12/19/11
to Răzvan Rotaru, us...@racket-lang.org
There are no built-in keybindings for this, but the documentation on
adding your own keybindings uses this as an example.

Robby

Răzvan Rotaru

unread,
Dec 20, 2011, 11:48:16 AM12/20/11
to Robby Findler, us...@racket-lang.org
Great. Thanks.
Reply all
Reply to author
Forward
0 new messages