[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
New MASTERSCOPE on <NEWLISP> - ANALYZEUSERFNS
- To: TEITELMAN, LISP
- Subject: New MASTERSCOPE on <NEWLISP> - ANALYZEUSERFNS
- From: KAPLAN
- Date: Wed, 21 Nov 1979 00:57:00 -8000
- Date: 21 NOV 1979 0057-PST
- Cc: MASINTER
I added a hook to the masterscope function analyzer so that the user
could specify his own computations.
After a function has been analyzed, masterscope looks at the variable
ANALYZEUSERFNS. If it is non-nil, it is assumed to be a list of functions.
Each of them is applied in turn to the function-name, function-definition,
and analysis data list for the function just analyzed. The function should
return a new data list (or perhaps just the old one if all that is intened
is side-effecting).
This is the hook that is needed to add various user defined relations to
masterscope. The MSHASH package will be able to store the argument
list of a function so that DESCRIBE won't have to rummage around for it
if the function is not loaded. Also, DECL will be able to store the
RETURNS declaration for a function so that inter-function declarations
can be checked.
--Ron
-------