<br><br><div class="gmail_quote">2012/6/27 Jeff Read <span dir="ltr"><<a href="mailto:bitwize@gmail.com" target="_blank">bitwize@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<p>Hi all,</p>
<p>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?</p></blockquote><div>Yes. </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<p> I don't want to change the expression before it hits the evaluator, just remember it.</p></blockquote><div>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 :)</div>

<div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<br>_______________________________________________<br>
Gambit-list mailing list<br>
<a href="mailto:Gambit-list@iro.umontreal.ca">Gambit-list@iro.umontreal.ca</a><br>
<a href="https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list" target="_blank">https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list</a><br>
<br></blockquote></div><br>