[Ecls-list] TRACE should now work
Juan Jose Garcia Ripoll
worm at arrakis.es
Mon Mar 10 06:09:06 UTC 2003
Hi,
I have fixed a stupid typo in trace.lsp which prevented anyone from tracing
functions.
> (defun fac (n) (if (<= n 0) 1 (* n (fac (1- n))))) (trace fac) (fac 3)
FAC
> (FAC)
> 1> (FAC 3)
| 2> (FAC 2)
| 3> (FAC 1)
| | 4> (FAC 0)
| | <4 (FAC 1)
| <3 (FAC 1)
| <2 (FAC 2)
<1 (FAC 6)
6
STEP does not work yet, though, and I think it is not easy to write a good
substitute when the evaluation model is based on a bytecodes compiler and
interpreter. Suggestions are welcome.
Juanjo
More information about the ecl-devel
mailing list