Finding Dependencies Among Common Lisp Files

93 Views Asked by At

The straightforward way to define an ASDF system involves specifying the dependencies among the component files. Given a (moderately large) collection of common lisp files for a working program, is there a way to easily work out the interfile dependencies to put in an asdf:defsystem specification?

1

There are 1 best solutions below

0
On BEST ANSWER

Usually, you should invest some thought into the dependencies between files while writing them. This also helps to structure your code in general.

For most small programs, just bringing them into some working order and then specifying :serial t should be sufficient.

ASDF's package-inferred-system turns the system composition from files on its head, in a way. Anyway, some people seem to like it.