[gambit-list] Hooking the REPL reader

Mikael 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
> https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://webmail.iro.umontreal.ca/pipermail/gambit-list/attachments/20120630/a8ddcb4b/attachment.html 

More information about the Gambit-list mailing list