Re: Sourcing compiled modules
"Scott G. Miller" <[email protected]> Sun, 30 Mar 2008 11:23:40 -0500
| Newsgroups | gmane.comp.java.sisc.user |
|---|---|
| Message-ID | <[email protected]> |
On Sat, Mar 29, 2008 at 8:46 PM, Peter Danenberg <[email protected]> wrote: > > Given a trivial module defined in a.scm, its compiled form a.scc, and a > > driver Test.java; loading a.scc from Test throws the following error: > > > > Error in deserialize: got unexpected value sisc.exprs.EvalExp cannot > > be cast to sisc.data.Value > > Whoops; the actual question I had was: is this intended behaviour, and > is there another way to load compiled scheme modules from Java? Yes, you need to use the Scheme level "load" function. You can do this from Java using an eval call on the interpreter, or by evaling "load" to get the Scheme level procedure, and then using the eval(proc, args); Scott ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace