[gambit-list] define-syntax and loading files
taylor at metasyntax.net
Sat Jun 13 11:49:42 EDT 2009
On Fri, Jun 12, 2009 at 12:39:24PM -0400, Marc Feeley wrote:
> Remember that "load" is a procedure that is called at run time, i.e.
> **when your program is executing**.
> Macros are expanded at expansion time, which is something that happens
> before run time.
> The bottom line is that you should not "load" files with macros to
> access those macros. You have to "include" those files.
> If you know the C world, the following analogy may help you understand:
> (include "foo") ==> #include "foo"
> (load "foo") ==> dlopen("foo",...)
Ah, I see; I understand the difference now. Thanks much for your
Taylor Christopher Venable
More information about the Gambit-list