Re: Naive DEFSYSTEM replacement

"Adam Weaver (as adam at cleversure dot com dot au)" <[email protected]>
Newsgroups gmane.lisp.lispworks.general
Message-ID <[email protected]>
On Fri, 2025-07-25 at 15:39 +0100, Martin Simmons wrote:

> The important thing missing from your defsystem* is that it doesn't
handle
> recompilation due to dependencies.  E.g. if "init" contains any
macros then
> you want the files using those macros to be compiled whenever "init"
changes.
>

Cheers Martin, so that's the point of the  ...

(:in-order-to :compile ("foo")
   (:caused-by (:compile "other file why do I have to tell you this"))
   (:requires (:load "other thing you should be able to work out")))

... craziness. It's due to macrology in subservient files. 

Right! I get it now! 

Thank you. Honestly I read the manual entry loads of times and
absolutely couldn't work what the :CAUSED-BY shenanigans was there for.

I just hadn't used LW:DEFSYSTEM other than for initial compilation-and-
loading of a system; I hadn't thought that I could use it to
selectively recompile the world when a key macro definition changed.

A

_______________________________________________
Lisp Hug - the mailing list for LispWorks users
[email protected]
http://www.lispworks.com/support/lisp-hug.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.