[gambit-list] Compiling programs that use syntax-case macros
feeley at iro.umontreal.ca
Thu Sep 26 11:34:40 EDT 2013
On 2013-09-26, at 11:29 AM, Panicz Maciej Godek <godek.maciek at gmail.com> wrote:
> is there any way to use the Gambit compiler to compile programs that use syntax-case macros?
> I see that one needs to (load "~~lib/syntax-case.scm") in order to use them, but that only seems to work with the interpreter.
You can either
gsc -:s foo.scm
gsc -e '(include "~~lib/syntax-case.scm")' foo.scm
For the interpreter you can also do
gsi -e '(include "~~lib/syntax-case.scm")' -
More information about the Gambit-list