[gambit-list] limiting trace
Marc Feeley
feeley at iro.umontreal.ca
Sat Feb 21 00:08:46 EST 2009
On 20-Feb-09, at 11:44 PM, lowly coder wrote:
> So I'm looking more in lib/_repl.scm, in particular at:
>
> (define-prim (##interp-procedure-default-entry-hook proc)
> (let ((hook (##interp-procedure-entry-hook proc)))
> (if (and hook
> (##closure? hook)
> (##eq? (##subprocedure-parent (##closure-code hook))
> ##make-default-entry-hook))
> hook
> #f)))
>
>
> and I'm wondering two things:
>
> 1) in trace, where is the pp / display / write
>
> 2) after the proc is setup by ##interp-procedure-default-entry-hook,
> where in the interpreter is proc called?
I won't spoil your fun... in only 40 minutes you've learned a lot
about Gambit! I'll give you the answer tomorrow night if you can't
solve it yourself...
Marc
More information about the Gambit-list
mailing list