Warm tip: This article is reproduced from serverfault.com, please click

Finding Dependencies Among Common Lisp Files

发布于 2020-12-05 00:53:52

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?

Questioner
davypough
Viewed
0
Svante 2020-12-05 09:39:55

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.