[gambit-list] include, load and macros

Atticus atticus0 at posteo.org
Fri May 29 14:57:22 EDT 2015


Is it possible to "dynamicly" *include* a file?

For example:

(include (locate-file "file-with-macros.scm"))

or

(let ((f (locate-file "file.scm")))
  (include f))

How to handle macros in gambit? The documentation says that macros are
only accesible with *include*. This means I cannot mix procedures and
macros in a file if I want to use *load* unless I use syntax-case. Is
that right?

Out of sheer curiosity, why is syntax-rules/syntax-case handled
seperately in gambit?



More information about the Gambit-list mailing list