With common lisp and I am assuming the introspection properties. How can I add code to common lisp code that will tell me when a function is called and when has finished executing. I want to take any lisp code and this particular modification to the code. I figure with lisp’s AST analysis, this should be possible.
Share
You can use
(trace function)for a simple mechanism. For something more involved, here is a good discussion from comp.lang.lisp.