From: Glen Foy
Subject: Automated Dependency Generation
Date: 
Message-ID: <3d486df.0303181056.6b37fc6@posting.google.com>
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.
*****************************************************************

From: Marco Antoniotti
Subject: Re: Automated Dependency Generation
Date: 
Message-ID: <VT6ea.86$oj7.9611@typhoon.nyu.edu>
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
From: Christian Lynbech
Subject: Re: Automated Dependency Generation
Date: 
Message-ID: <86znnlbyqp.fsf@ted.ericsson.se>
>>>>> "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)