On 3/5/09, James Long longster@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.