If you `eval` an form containing eval-when in a scheme program it fails with a syntax-violation with respect to definitions. Specifically there is a syntax-violation that isn't present in REPL usage: "definition in expression context, where definitions are not allowed in form ~a". This is present even with a begin before all the definitions. I will attach the offending code to this email also.
swat-assembler.tgz
Description: application/compressed-tar