Trying to use slib

Steven Buroff <[email protected]> Sun, 04 May 2008 09:53:41 -0400
Newsgroups gmane.comp.java.sisc.user
Organization Steven Buroff
Message-ID <000001c8adee$435f7450$50d4c044@rambo>
This is a multi-part message in MIME format.

--===============0917841591==
Content-type: multipart/alternative;
	boundary="Boundary_(ID_p5hRXcuGZTdIrHFAshCk7A)"

This is a multi-part message in MIME format.

--Boundary_(ID_p5hRXcuGZTdIrHFAshCk7A)
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT

I'm trying to use slib because I need a sort and sisc apparently doesn't
support SRFI 95.
 
Here is what I did:

1.	Installed slib in C:\libs\slib.
2.	Created a file sisc.properties with the following contents:

sisc.home=C:\sisc\sisc-1.16.6
sisc.slib=C:\libs\slib

3.	Modified my sisc.bat file to be as follows:

@echo off
C:\sisc\sisc-1.16.6\sisc.bat -p C:\sjb\sisc.properties C:\sjb\sisc_init.scm
%*

4.	I then run sisc and enter:

 (require-library 'sisc/libs/slib)

and it bombs. I have included the first part of the stack trace below.

Can anyone see what I have done wrong? Also, if there is any way to use SRFI
95
I'd rather do that since its standard. Thanks for your help.
 
Steve Buroff
 
SISC (1.16.6)
#;> (sort)
Error: undefined variable 'sort'.
---------------------------
?:?:?: <indeterminate call>
---------------------------
sisc.modules.Primitives/with-failure-continuation:?:?: <indeterminate call>
?:?:?: <from call to with/fc>
2 repetitions of ...
  ?:?:?: <indeterminate call>
---------------------------
3 repetitions of ...
  ?:?:?: <indeterminate call>
---------------------------
sisc.modules.Primitives/with-failure-continuation:?:?: <indeterminate call>
?:?:?: <from call to with/fc>
2 repetitions of ...
  ?:?:?: <indeterminate call>
sisc.modules.Primitives/call-with-current-continuation:?:?: <indeterminate
call>
 
?:?:?: <indeterminate call>
?:?:?: <from call to call/cc>
---------------------------
?:?:?: <indeterminate call>
sisc.modules.Primitives/with-failure-continuation:?:?: <indeterminate call>
?:?:?: <from call to with/fc>
?:?:?: <indeterminate call>
sisc.interpreter.Interpreter/eval:?:?: <indeterminate call>
#;> ^Z
 

C:\sjb\src\scheme\MIT_6.001\Project3>sisc
SISC (1.16.6)
#;> (require-library 'sisc/libs/slib)
Error in load: evaluation error at
jar:file:/C:/sisc/sisc-1.16.6/sisc-lib.jar!/s
isc/libs/slib.scm:337:1
---------------------------
2 repetitions of ...
  ?:?:?: <indeterminate call>
sisc.modules.Primitives/with-failure-continuation:?:?: <indeterminate call>
?:?:?: <from call to with-failure-continuation>
---------------------------
?:?:?: <indeterminate call>
---------------------------
?:?:?: <from call to load>
---------------------------
?:?:?: <indeterminate call>
---------------------------
sisc.modules.Primitives/with-failure-continuation:?:?: <indeterminate call>
?:?:?: <from call to with/fc>
sisc.modules.Primitives/call-with-values:?:?: <indeterminate call>
---------------------------
?:?:?: <from call to call-with-values>
3 repetitions of ...
  ?:?:?: <indeterminate call>
?:?:?: <from call to dynamic-wind>
5 repetitions of ...
  ?:?:?: <indeterminate call>
sisc.modules.Primitives/with-failure-continuation:?:?: <indeterminate call>
?:?:?: <from call to with/fc>
sisc.modules.Primitives/call-with-values:?:?: <indeterminate call>
---------------------------
?:?:?: <from call to call-with-values>
3 repetitions of ...
  ?:?:?: <indeterminate call>
?:?:?: <from call to dynamic-wind>
?:?:?: <from call to @threading-pretypes::mutex/synchronize>
?:?:?: <from call to @threading-pretypes::synchronized>
console:1:1: <from call to @libraries::require-library>
?:?:?: <indeterminate call>
---------------------------
sisc.modules.Primitives/with-failure-continuation:?:?: <indeterminate call>
?:?:?: <from call to with/fc>
2 repetitions of ...
  ?:?:?: <indeterminate call>
---------------------------
3 repetitions of ...
  ?:?:?: <indeterminate call>
---------------------------
sisc.modules.Primitives/with-failure-continuation:?:?: <indeterminate call>
?:?:?: <from call to with/fc>
2 repetitions of ...
  ?:?:?: <indeterminate call>
sisc.modules.Primitives/call-with-current-continuation:?:?: <indeterminate
call>
 
?:?:?: <indeterminate call>
?:?:?: <from call to call/cc>
---------------------------
?:?:?: <indeterminate call>
sisc.modules.Primitives/with-failure-continuation:?:?: <indeterminate call>
?:?:?: <from call to with/fc>
?:?:?: <indeterminate call>
sisc.interpreter.Interpreter/eval:?:?: <indeterminate call>
===========================
Caused by Error in load: error opening 'file:C:libsslib/require.scm'.
---------------------------
2 repetitions of ...
  ?:?:?: <indeterminate call>
sisc.modules.Primitives/with-failure-continuation:?:?: <indeterminate call>
?:?:?: <from call to with-failure-continuation>
---------------------------
?:?:?: <indeterminate call>
---------------------------
jar:file:/C:/sisc/sisc-1.16.6/sisc-lib.jar!/sisc/libs/slib.scm:327:30: <from
cal
l to load>
jar:file:/C:/sisc/sisc-1.16.6/sisc-lib.jar!/sisc/libs/slib.scm:337:1: <from
call
 to slib:load>
sisc.modules.Primitives/_with-environment:?:?: <indeterminate call>
?:?:?: <from call to _with-environment>
sisc.modules.Primitives/with-failure-continuation:?:?: <indeterminate call>
?:?:?: <from call to with/fc>
sisc.modules.Primitives/call-with-values:?:?: <indeterminate call>
---------------------------
?:?:?: <from call to call-with-values>
3 repetitions of ...
  ?:?:?: <indeterminate call>
?:?:?: <from call to dynamic-wind>
?:?:?: <indeterminate call>
?:?:?: <from call to with-environment>
2 repetitions of ...
  ?:?:?: <indeterminate call>
sisc.interpreter.Interpreter/eval:?:?: <indeterminate call>
#;> ^Z


--Boundary_(ID_p5hRXcuGZTdIrHFAshCk7A)
Content-type: text/html; charset=us-ascii
Content-transfer-encoding: 7BIT

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16640" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=031364513-04052008><FONT face=Arial size=2>I'm trying to use 
slib because I need a sort and sisc apparently doesn't support SRFI 
95.</FONT></SPAN></DIV>
<DIV><SPAN class=031364513-04052008><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=031364513-04052008><FONT face=Arial size=2>Here is what I 
did:</FONT></SPAN></DIV>
<OL>
  <LI><SPAN class=031364513-04052008><FONT face=Arial size=2>Installed slib in 
  C:\libs\slib.</FONT></SPAN></LI>
  <LI><SPAN class=031364513-04052008><FONT face=Arial size=2>Created a file 
  sisc.properties with the following 
  contents:<BR><BR>sisc.home=C:\sisc\sisc-1.16.6<BR>sisc.slib=C:\libs\slib<BR></FONT></SPAN></LI>
  <LI><SPAN class=031364513-04052008><FONT face=Arial size=2>Modified my 
  sisc.bat file to be as follows:<BR><BR>@echo 
  off<BR>C:\sisc\sisc-1.16.6\sisc.bat -p C:\sjb\sisc.properties 
  C:\sjb\sisc_init.scm %*<BR></FONT></SPAN></LI>
  <LI><SPAN class=031364513-04052008><FONT face=Arial size=2>I then run sisc and 
  enter:<BR><BR>&nbsp;(require-library 'sisc/libs/slib)<BR><BR>and it bombs. I 
  have included the first part of the stack trace below.</FONT></SPAN></LI></OL>
<DIV><SPAN class=031364513-04052008><FONT face=Arial size=2>Can anyone see what 
I have done wrong? Also, if there is any way to use SRFI 95</FONT></SPAN></DIV>
<DIV><SPAN class=031364513-04052008><FONT face=Arial size=2>I'd rather do that 
since its standard. Thanks for your help.</FONT></SPAN></DIV>
<DIV><SPAN class=031364513-04052008><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=031364513-04052008><FONT face=Arial size=2>Steve 
Buroff</FONT></SPAN></DIV>
<DIV><SPAN class=031364513-04052008><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=031364513-04052008><FONT face=Arial size=2>SISC 
(1.16.6)<BR>#;&gt; (sort)<BR>Error: undefined variable 
'sort'.<BR>---------------------------<BR>?:?:?: &lt;indeterminate 
call&gt;<BR>---------------------------<BR>sisc.modules.Primitives/with-failure-continuation:?:?: 
&lt;indeterminate call&gt;<BR>?:?:?: &lt;from call to with/fc&gt;<BR>2 
repetitions of ...<BR>&nbsp; ?:?:?: &lt;indeterminate 
call&gt;<BR>---------------------------<BR>3 repetitions of ...<BR>&nbsp; ?:?:?: 
&lt;indeterminate 
call&gt;<BR>---------------------------<BR>sisc.modules.Primitives/with-failure-continuation:?:?: 
&lt;indeterminate call&gt;<BR>?:?:?: &lt;from call to with/fc&gt;<BR>2 
repetitions of ...<BR>&nbsp; ?:?:?: &lt;indeterminate 
call&gt;<BR>sisc.modules.Primitives/call-with-current-continuation:?:?: 
&lt;indeterminate call&gt;</FONT></SPAN></DIV>
<DIV>&nbsp;</DIV>
<DIV><SPAN class=031364513-04052008><FONT face=Arial size=2>?:?:?: 
&lt;indeterminate call&gt;<BR>?:?:?: &lt;from call to 
call/cc&gt;<BR>---------------------------<BR>?:?:?: &lt;indeterminate 
call&gt;<BR>sisc.modules.Primitives/with-failure-continuation:?:?: 
&lt;indeterminate call&gt;<BR>?:?:?: &lt;from call to with/fc&gt;<BR>?:?:?: 
&lt;indeterminate call&gt;<BR>sisc.interpreter.Interpreter/eval:?:?: 
&lt;indeterminate call&gt;<BR>#;&gt; ^Z</FONT></SPAN></DIV>
<DIV>&nbsp;</DIV><SPAN class=031364513-04052008><FONT face=Arial size=2>
<DIV><BR>C:\sjb\src\scheme\MIT_6.001\Project3&gt;sisc<BR>SISC (1.16.6)<BR>#;&gt; 
(require-library 'sisc/libs/slib)<BR>Error in load: evaluation error at 
jar:file:/C:/sisc/sisc-1.16.6/sisc-lib.jar!/s<BR>isc/libs/slib.scm:337:1<BR>---------------------------<BR>2 
repetitions of ...<BR>&nbsp; ?:?:?: &lt;indeterminate 
call&gt;<BR>sisc.modules.Primitives/with-failure-continuation:?:?: 
&lt;indeterminate call&gt;<BR>?:?:?: &lt;from call to 
with-failure-continuation&gt;<BR>---------------------------<BR>?:?:?: 
&lt;indeterminate call&gt;<BR>---------------------------<BR>?:?:?: &lt;from 
call to load&gt;<BR>---------------------------<BR>?:?:?: &lt;indeterminate 
call&gt;<BR>---------------------------<BR>sisc.modules.Primitives/with-failure-continuation:?:?: 
&lt;indeterminate call&gt;<BR>?:?:?: &lt;from call to 
with/fc&gt;<BR>sisc.modules.Primitives/call-with-values:?:?: &lt;indeterminate 
call&gt;<BR>---------------------------<BR>?:?:?: &lt;from call to 
call-with-values&gt;<BR>3 repetitions of ...<BR>&nbsp; ?:?:?: &lt;indeterminate 
call&gt;<BR>?:?:?: &lt;from call to dynamic-wind&gt;<BR>5 repetitions of 
...<BR>&nbsp; ?:?:?: &lt;indeterminate 
call&gt;<BR>sisc.modules.Primitives/with-failure-continuation:?:?: 
&lt;indeterminate call&gt;<BR>?:?:?: &lt;from call to 
with/fc&gt;<BR>sisc.modules.Primitives/call-with-values:?:?: &lt;indeterminate 
call&gt;<BR>---------------------------<BR>?:?:?: &lt;from call to 
call-with-values&gt;<BR>3 repetitions of ...<BR>&nbsp; ?:?:?: &lt;indeterminate 
call&gt;<BR>?:?:?: &lt;from call to dynamic-wind&gt;<BR>?:?:?: &lt;from call to 
@threading-pretypes::mutex/synchronize&gt;<BR>?:?:?: &lt;from call to 
@threading-pretypes::synchronized&gt;<BR>console:1:1: &lt;from call to 
@libraries::require-library&gt;<BR>?:?:?: &lt;indeterminate 
call&gt;<BR>---------------------------<BR>sisc.modules.Primitives/with-failure-continuation:?:?: 
&lt;indeterminate call&gt;<BR>?:?:?: &lt;from call to with/fc&gt;<BR>2 
repetitions of ...<BR>&nbsp; ?:?:?: &lt;indeterminate 
call&gt;<BR>---------------------------<BR>3 repetitions of ...<BR>&nbsp; ?:?:?: 
&lt;indeterminate 
call&gt;<BR>---------------------------<BR>sisc.modules.Primitives/with-failure-continuation:?:?: 
&lt;indeterminate call&gt;<BR>?:?:?: &lt;from call to with/fc&gt;<BR>2 
repetitions of ...<BR>&nbsp; ?:?:?: &lt;indeterminate 
call&gt;<BR>sisc.modules.Primitives/call-with-current-continuation:?:?: 
&lt;indeterminate call&gt;</DIV>
<DIV>&nbsp;</DIV>
<DIV>?:?:?: &lt;indeterminate call&gt;<BR>?:?:?: &lt;from call to 
call/cc&gt;<BR>---------------------------<BR>?:?:?: &lt;indeterminate 
call&gt;<BR>sisc.modules.Primitives/with-failure-continuation:?:?: 
&lt;indeterminate call&gt;<BR>?:?:?: &lt;from call to with/fc&gt;<BR>?:?:?: 
&lt;indeterminate call&gt;<BR>sisc.interpreter.Interpreter/eval:?:?: 
&lt;indeterminate call&gt;<BR>===========================<BR>Caused by Error in 
load: error opening 
'file:C:libsslib/require.scm'.<BR>---------------------------<BR>2 repetitions 
of ...<BR>&nbsp; ?:?:?: &lt;indeterminate 
call&gt;<BR>sisc.modules.Primitives/with-failure-continuation:?:?: 
&lt;indeterminate call&gt;<BR>?:?:?: &lt;from call to 
with-failure-continuation&gt;<BR>---------------------------<BR>?:?:?: 
&lt;indeterminate 
call&gt;<BR>---------------------------<BR>jar:file:/C:/sisc/sisc-1.16.6/sisc-lib.jar!/sisc/libs/slib.scm:327:30: 
&lt;from cal<BR>l to 
load&gt;<BR>jar:file:/C:/sisc/sisc-1.16.6/sisc-lib.jar!/sisc/libs/slib.scm:337:1: 
&lt;from call<BR>&nbsp;to 
slib:load&gt;<BR>sisc.modules.Primitives/_with-environment:?:?: 
&lt;indeterminate call&gt;<BR>?:?:?: &lt;from call to 
_with-environment&gt;<BR>sisc.modules.Primitives/with-failure-continuation:?:?: 
&lt;indeterminate call&gt;<BR>?:?:?: &lt;from call to 
with/fc&gt;<BR>sisc.modules.Primitives/call-with-values:?:?: &lt;indeterminate 
call&gt;<BR>---------------------------<BR>?:?:?: &lt;from call to 
call-with-values&gt;<BR>3 repetitions of ...<BR>&nbsp; ?:?:?: &lt;indeterminate 
call&gt;<BR>?:?:?: &lt;from call to dynamic-wind&gt;<BR>?:?:?: &lt;indeterminate 
call&gt;<BR>?:?:?: &lt;from call to with-environment&gt;<BR>2 repetitions of 
...<BR>&nbsp; ?:?:?: &lt;indeterminate 
call&gt;<BR>sisc.interpreter.Interpreter/eval:?:?: &lt;indeterminate 
call&gt;<BR>#;&gt; ^Z<BR></FONT></SPAN></DIV></BODY></HTML>

--Boundary_(ID_p5hRXcuGZTdIrHFAshCk7A)--


--===============0917841591==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
--===============0917841591==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Sisc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sisc-users

--===============0917841591==--