On 16-10-2022 16:07, Jean Abou Samra wrote: > >> Is there some way to make this work?  In my real code, >> the expression is read from a file, where it might be a macro >> definition or anything else, and it's evaluated in a different module >> from the current one. > > > You cannot byte-compile code in advance if it uses macros that > are only known dynamically. [...] Possibly in Paul Jarc's case, while they the macros might be computed, they might also be the same between runs of "guile -l do-something.scm". If that's the case (i.e., the expression read from the file remains unchanged), byte compiling is possible, just use eval-when, see my reply. Greetings, Maxime.