[gambit-list] Syntax visibility in eval (discrepancy between interpreter/compiler behaviour)
Kirill Zorin
k.zorin at me.com
Thu Apr 19 15:04:38 EDT 2012
Hi all,
The following program runs correctly in the interpreter, but fails when run with a generated executable.
(define-syntax foo (syntax-rules () ((_) "hi!\n")))
(display (eval '(foo)))
Running the generated executable fails with "*** ERROR -- Unbound variable: foo".
Am I doing something wrong?
More information about the Gambit-list
mailing list