With the latest changes to syntax-case, it is now required to load syntax-case.scm (or use the -:s runtime option) when loading files which were compiled with the -:s option.
Marc
On 2013-09-20, at 7:56 AM, Sven Hartrumpf hartrumpf@gmx.net wrote:
Hi.
I have a large program that runs fine in the interpreter. But when compiled with these options (latest gambit from git) (declare (r5rs-scheme) (constant-fold) (inline) (inlining-limit 500) (standard-bindings) (extended-bindings) (safe) (mostly-generic)) the compiled program crashes as follows:
*** ERROR IN | n| -- Operator is not a PROCEDURE (#!unbound '#(syntax-object change-directory ((top) #(ribcage #(change-directory) #((top)) #(change-directory)))) '(global . change-directory) '*top*)
change-directory is from a simple Scheme portability layer:
(define (change-directory path) (current-directory path))
Sven _______________________________________________ Gambit-list mailing list Gambit-list@iro.umontreal.ca https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list