On Mar 15, 2005, at 1:41 PM, Marc Feeley wrote:
That makes sense. A small question arises from this. I am in the process of writing what, in time, will become a resonably large application. I take it that include is the way to make use of forms in another file. That said what happens when several files include a single other file and are then compiled to native code. Are the forms from that single file duplicated for every include?
Yes. This means that is is best to put syntax declarations in include files and function definitions in .scm files that are "load"ed or linked into an executable after being compiled. The current model is really very close to what is done in C/C++.
See also (declare (core)) and (declare (not core)).
Brad