[gambit-list] Hooking the REPL reader
mikael.rcv at gmail.com
Sat Jun 30 10:50:37 EDT 2012
2012/6/27 Jeff Read <bitwize at gmail.com>
> Hi all,
> Is there a way to hook the reader of the REPL to capture and do something
> with the expression that's read before the evaluator evaluates it?
> I don't want to change the expression before it hits the evaluator, just
> remember it.
There's a hook that is invoked for any code that's eval:ed, you have a
reference to it at end of build.scm of legacy-branch BH. Taking only evals
coming in from the REPL should surely be doable too, _repl.scm ? Keep ML
posted of what you got to :)
> Gambit-list mailing list
> Gambit-list at iro.umontreal.ca
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Gambit-list