[Larceny-users] procedure introspection
Jose A. Ortega Ruiz
jao at gnu.org
Sun Mar 15 16:24:32 EDT 2009
William D Clinger <will at ccs.neu.edu> writes:
> Larceny already retains the variable names, but we never
> extended src/Lib/Common/procinfo.sch to provide access to
> them. How about we add procedure-arguments to fix that?
That'd be nice indeed.
>> - is there (or could there be in future versions) a way to obtain a list
>> of callers and callees of a given procedure?
>
> Not really.
>
> In higher order languages like Scheme, the general problem
> is undecidable, so you'd have to settle for an approximation.
>
> Larceny's compiler computes a first-order approximation that's
> limited to the compilation unit, but I doubt whether that
> would be good enough for your purposes.
No, probably not. I guess i'll have to live without that feature.
Thanks!
jao
More information about the Larceny-users
mailing list