[gambit-list] define-syntax in Gambit-C mode
Nguyen Thai Ngoc Duy
pclouds at gmail.com
Tue Mar 10 01:20:54 EDT 2009
On 3/5/09, James Long <longster at gmail.com> wrote:
> The LOAD procedure doesn't execute until run-time. Macros are expanded
> before then. The command line parameter is meant to address this. It's
> essentially the same as doing:
>
> gsi -e '(load "~~/lib/syntax-case")' file.scm
This works. Thanks, though the same way can't be applied for gsc (segfault).
>
> What is the problem you are having with the -:s option and open-process?
It used to report error, something about open-process being unknown.
I can not reproduce now though. Maybe it's my fault.
>
> You might be able to get away with something like this:
>
> (define-macro (load-at-expand-time name)
> (load name))
>
> (load-at-expand-time "~~/lib/syntax-case")
This does not work.
--
Duy
More information about the Gambit-list
mailing list