Re: Reset an interpreter instance
Matthias Radestock <[email protected]>
| Newsgroups | gmane.comp.java.sisc.user |
|---|---|
| Message-ID | <[email protected]> |
"Marco Bakera" <[email protected]> writes: > After compiling some sources a.scm into a.scc and loading it with > (load "a.scc") I got an exception by evaluating some function inside > the compiled code: > > sisc.interpreter.SchemeException: ((message . "undefined variable > 'lset-difference'.")) > > lset-difference is in srfi-1 and a.scm does require it with > (require-extension (srfi 1)). However the compiled version of a.scm > does not know about this. > > Is this a bug or did I use something wrong? It's a bug. Please file it on sourceforge. As a workaround, replace (require-extension (srfi 1)) with (require-library 'sisc/libs/srfi/srfi-1) (import srfi-1) Matthias. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642