Hi David,

Sorry for the late reply.

David Kastrup <d...@gnu.org> skribis:

> Previous attempts have mostly exploded around the problem that we have
> something like
>
> (for-each ly:load init-scheme-files)
>
> in our lily.scm file, and the auto-compiler attempts to compile all of
> those files independently as far as I understand.  Unfortunately, some
> of them contain macro definitions that other files rely on.

The order in which files get compiled does not matter; the semantics of
programs do not depend on whether code is being bytecode-interpreted or
just interpreted by (ice-9 eval).

The only reason you might want to compile files in topological order is
performance.

Does that answer your question?

Thanks,
Ludo’.


Reply via email to