[gambit-list] Compiling programs that use syntax-case macros
Marc Feeley
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:
> Hi,
> 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
or
gsc -e '(include "~~lib/syntax-case.scm")' foo.scm
For the interpreter you can also do
gsi -:s
or
gsi -e '(include "~~lib/syntax-case.scm")' -
Marc
More information about the Gambit-list
mailing list