[cl-ppcre-devel] debugging of RE matching
Philipp Marek
philipp at marek.priv.at
Mon Oct 1 07:10:50 UTC 2012
Hello Edi,
hello Hans,
thank you very much for your feedback.
I've done nearly all of the requested changes, and wrote some
documentation, too.
The points that are still open are
* I can't get the (with-trace-output) macro working (see last commit on
my branch) - does (eval-when) stop working as expected when it's
not in a top-level form?
* In practical use I've seen a few errors - wrong indizes, and
some other error. Will try to fix, but help is appreciated, of course.
>> your change seems useful, but I wonder why you added an extra lambda
>> layer instead of doing the binding in the function returned by
>> create-scanner-aux match-fn. Is there a reason for that?
Is this question about the
(let ((scanner (create-scanner-aux match-fn
line? If it is, then I put the (lambda) below to get a minimal diff.
If the question is "why is that not in (create-matcher-aux)" - because
*debug-results* and *ppcre-debug-depth* have to be bound _outside_ the
create-matcher-aux calls, and not re-bound within.
Or am I misunderstanding your question, still? Then please clarify.
Thank you very much!
Regards,
Phil
More information about the Cl-ppcre-devel
mailing list