Is anyone aware of code to generate dependency information for defsystems.
Thanks,
Glen
*****************************************************************
* Glen Foy
* www.clairvaux.org
* Killing thousands of people in Iraq will not create world peace.
*****************************************************************
Glen Foy wrote:
> Is anyone aware of code to generate dependency information for defsystems.
The notion of "dependency" across files in Common Lisp is not an easy
thing to do.
In the C/C++, Java, etc etc world you can depend in #include and import
statements, but (unfortunately) you do not have anything like that in
Common Lisp.
Conceivably you could enforce some mapping of files and - quote -
packages - unquote - as in Java, by introducing some new and specialized
declaration in files. E.g.
(special-declarations:uses <some designator>)
Then you could come up with a dependency graph.
Otherwise you could rely on some information that your implementation
may maintain about the source file of your functions.
All in all there is some design to do before going ahead and do this.
> Thanks,
> Glen
>
>
> *****************************************************************
> * Glen Foy
> * www.clairvaux.org
> * Killing thousands of people in Iraq will not create world peace.
> *****************************************************************
No, but it will make the US right wingers extremely happy. What's next?
N. Korea? Iran? Cuba? France?
Cheers
--
Marco Antoniotti
>>>>> "Marco" == Marco Antoniotti <·······@cs.nyu.edu> writes:
Marco> Otherwise you could rely on some information that your implementation
Marco> may maintain about the source file of your functions.
There is the XREF package in the archives at CMU (part of the
Kantrowitz tools I think) which could be a usefull starting point.
------------------------+-----------------------------------------------------
Christian Lynbech | christian ··@ defun #\. dk
------------------------+-----------------------------------------------------
Hit the philistines three times over the head with the Elisp reference manual.
- ·······@hal.com (Michael A. Petonic)