>>>>> "Brian" == Brian Denheyer <firstname.lastname@example.org> writes:
Brian> As usual, I always figure things out 10 min after I post.
Brian> It looks as though "loading" a file with syntax definitions doesn't
Brian> seem to work as I would expect.
Brian> The exact same code works just fine if I load the macros using :
Brian> #!/usr/local/bin/scsh \
Brian> -l ~/src/scheme/lib/r5rs-macros.scm -e main -s
Brian> instead of :
Brian> (load "~/src/scheme/lib/r5rs-macros.scm")
Brian> Does this make sense ?
No, since -l calls LOAD.
I also cannot reproduce your problem:
aubisque cat when.scm
((when test body ...)
(if test (begin body ...)))))
Welcome to scsh 0.6.0 (Chinese Democracy)
Type ,? for help.
> (load "when.scm")
> (when #f 3)
> (when #t 3)