You can subscribe to this list here.
2002 |
Jan
|
Feb
|
Mar
|
Apr
(39) |
May
(41) |
Jun
(20) |
Jul
(8) |
Aug
(15) |
Sep
(18) |
Oct
(15) |
Nov
(6) |
Dec
(48) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
(28) |
Feb
(6) |
Mar
(23) |
Apr
(13) |
May
(3) |
Jun
(12) |
Jul
(26) |
Aug
(1) |
Sep
|
Oct
(14) |
Nov
(2) |
Dec
(18) |
2004 |
Jan
(10) |
Feb
(5) |
Mar
(24) |
Apr
(7) |
May
(79) |
Jun
(25) |
Jul
|
Aug
(2) |
Sep
(11) |
Oct
(5) |
Nov
|
Dec
(1) |
2005 |
Jan
(1) |
Feb
(2) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2006 |
Jan
(2) |
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2007 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
(1) |
Aug
|
Sep
(6) |
Oct
|
Nov
|
Dec
|
From: Ken A. <kan...@bb...> - 2003-02-04 22:54:54
|
At 02:07 PM 2/3/2003, david may wrote: >A number of things to start the week off with. > >My web app seems to be working okay now. I ended up using a >function that I do not understand. What is .isDefined ? >It looks like a java method, but it is used without >an instance as an argument. It is used to see if a global variable is bound or not: > (.isDefined 'x) #f >Also, I am thinking of using sexps as a input format for the >database. I used to do something like this in tcl letting >the tcl parser handle the input for me. Are there tricks >for reading sexps something on the order of > >(question "what is the capital of oregon" > (("salem" true) > ("portland") > ("eugene"))) you can use string->expr to read a string. Also look at jscheme.REPL class >this should map to xml pretty easilly and later I can build >a gui if it is required. > >one more thing.. I started getting these messages in the tomcat logs >after building from CVS. Maybe Tim can address this. This is related to new code. However, the problem seems to be that jsint.DynamicVariable is not serializable. It probably could be made serializable, but that may lead to other problems. For example, while Pair is serializable, the expression '(david) is not serializable because the car and cdr of '() is '(). We can fix this problem if we're willing to only using a more recent JVM, which i'm willing to do. But we'll loose JDK 1.02 customers, and maybe others. But perhaps it's time. k >thanks.. >davud > > >2003-01-30 12:09:29 StandardManager[/exam] Exception loading sessions from persistent storage >java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: jsint.DynamicVariable > at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1278) > at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1603) > at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1271) > at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1603) > at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1271) > at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845) > at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769) > at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646) > at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274) > at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1603) > at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1271) > at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845) > at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769) > at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646) > at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274) > at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324) > at org.apache.catalina.session.StandardSession.readObject(StandardSession.java:1357) > at org.apache.catalina.session.StandardSession.readObjectData(StandardSession.java:852) > at org.apache.catalina.session.StandardManager.load(StandardManager.java:411) > at org.apache.catalina.session.StandardManager.start(StandardManager.java:626) > at org.apache.catalina.core.StandardContext.start(StandardContext.java:3496) > at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188) > at org.apache.catalina.core.StandardHost.start(StandardHost.java:738) > at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188) > at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347) > at org.apache.catalina.core.StandardService.start(StandardService.java:497) > at org.apache.catalina.core.StandardServer.start(StandardServer.java:2189) > at org.apache.catalina.startup.Catalina.start(Catalina.java:510) > at org.apache.catalina.startup.Catalina.execute(Catalina.java:400) > at org.apache.catalina.startup.Catalina.process(Catalina.java:180) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:324) > at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203) >Caused by: java.io.NotSerializableException: jsint.DynamicVariable > at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1054) > at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1224) > at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1050) > at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1224) > at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1050) > at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1330) > at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1302) > at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1245) > at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052) > at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1224) > at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1050) > at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1330) > at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1302) > at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1245) > at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052) > at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278) > at org.apache.catalina.session.StandardSession.writeObject(StandardSession.java:1427) > at org.apache.catalina.session.StandardSession.writeObjectData(StandardSession.java:869) > at org.apache.catalina.session.StandardManager.unload(StandardManager.java:507) > at org.apache.catalina.session.StandardManager.stop(StandardManager.java:662) > at org.apache.catalina.core.StandardContext.stop(StandardContext.java:3591) > at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:1036) > at org.apache.catalina.core.StandardHostDeployer.remove(StandardHostDeployer.java:420) > at org.apache.catalina.core.StandardHost.remove(StandardHost.java:852) > at org.apache.catalina.startup.HostConfig.undeployApps(HostConfig.java:919) > at org.apache.catalina.startup.HostConfig.stop(HostConfig.java:899) > at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:370) > at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166) > at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1221) > at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1233) > at org.apache.catalina.core.StandardService.stop(StandardService.java:554) > at org.apache.catalina.core.StandardServer.stop(StandardServer.java:2224) > at org.apache.catalina.startup.Catalina.start(Catalina.java:541) > ... 7 more > > >------------------------------------------------------- >This SF.NET email is sponsored by: >SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! >http://www.vasoftware.com >_______________________________________________ >Jscheme-devel mailing list >Jsc...@li... >https://lists.sourceforge.net/lists/listinfo/jscheme-devel |
From: <da...@da...> - 2003-02-04 08:16:26
|
A number of things to start the week off with. My web app seems to be working okay now. I ended up using a function that I do not understand. What is .isDefined ? It looks like a java method, but it is used without an instance as an argument. Also, I am thinking of using sexps as a input format for the database. I used to do something like this in tcl letting the tcl parser handle the input for me. Are there tricks for reading sexps something on the order of (question "what is the capital of oregon" (("salem" true) ("portland") ("eugene"))) this should map to xml pretty easilly and later I can build a gui if it is required. one more thing.. I started getting these messages in the tomcat logs after building from CVS. thanks.. davud 2003-01-30 12:09:29 StandardManager[/exam] Exception loading sessions from persistent storage java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: jsint.DynamicVariable at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1278) at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1603) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1271) at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1603) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1271) at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274) at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1603) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1271) at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324) at org.apache.catalina.session.StandardSession.readObject(StandardSession.java:1357) at org.apache.catalina.session.StandardSession.readObjectData(StandardSession.java:852) at org.apache.catalina.session.StandardManager.load(StandardManager.java:411) at org.apache.catalina.session.StandardManager.start(StandardManager.java:626) at org.apache.catalina.core.StandardContext.start(StandardContext.java:3496) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188) at org.apache.catalina.core.StandardHost.start(StandardHost.java:738) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347) at org.apache.catalina.core.StandardService.start(StandardService.java:497) at org.apache.catalina.core.StandardServer.start(StandardServer.java:2189) at org.apache.catalina.startup.Catalina.start(Catalina.java:510) at org.apache.catalina.startup.Catalina.execute(Catalina.java:400) at org.apache.catalina.startup.Catalina.process(Catalina.java:180) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203) Caused by: java.io.NotSerializableException: jsint.DynamicVariable at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1054) at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1224) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1050) at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1224) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1050) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1330) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1302) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1245) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052) at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1224) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1050) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1330) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1302) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1245) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278) at org.apache.catalina.session.StandardSession.writeObject(StandardSession.java:1427) at org.apache.catalina.session.StandardSession.writeObjectData(StandardSession.java:869) at org.apache.catalina.session.StandardManager.unload(StandardManager.java:507) at org.apache.catalina.session.StandardManager.stop(StandardManager.java:662) at org.apache.catalina.core.StandardContext.stop(StandardContext.java:3591) at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:1036) at org.apache.catalina.core.StandardHostDeployer.remove(StandardHostDeployer.java:420) at org.apache.catalina.core.StandardHost.remove(StandardHost.java:852) at org.apache.catalina.startup.HostConfig.undeployApps(HostConfig.java:919) at org.apache.catalina.startup.HostConfig.stop(HostConfig.java:899) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:370) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166) at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1221) at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1233) at org.apache.catalina.core.StandardService.stop(StandardService.java:554) at org.apache.catalina.core.StandardServer.stop(StandardServer.java:2224) at org.apache.catalina.startup.Catalina.start(Catalina.java:541) ... 7 more |
From: Timothy J. H. <tim...@us...> - 2003-02-03 17:59:45
|
Update of /cvsroot/jscheme/jscheme/src/jlib In directory sc8-pr-cvs1:/tmp/cvs-serv17526/src/jlib Modified Files: JLIB.scm Swing.scm Log Message: added radiobutton menuitems to Swing.scm |
From: Ken A. <kan...@us...> - 2003-01-29 15:38:01
|
Update of /cvsroot/jscheme/jscheme/src/using In directory sc8-pr-cvs1:/tmp/cvs-serv5546 Modified Files: run.scm Log Message: Fix bug in example. |
From: Ken A. <kan...@us...> - 2003-01-27 14:27:16
|
Update of /cvsroot/jscheme/jscheme/src/jsint/compiler In directory sc8-pr-cvs1:/tmp/cvs-serv30823/src/jsint/compiler Modified Files: Reflect.scm Log Message: InputPort.java - some cleanup. Reflect.scm - Use Import.forName rather than Class.forName to get the right class loader. |
From: Ken A. <kan...@us...> - 2003-01-27 14:27:15
|
Update of /cvsroot/jscheme/jscheme/src/jsint In directory sc8-pr-cvs1:/tmp/cvs-serv30823/src/jsint Modified Files: InputPort.java Log Message: InputPort.java - some cleanup. Reflect.scm - Use Import.forName rather than Class.forName to get the right class loader. |
From: Timothy J. H. <tim...@us...> - 2003-01-25 21:48:26
|
Update of /cvsroot/jscheme/jscheme/src/build In directory sc8-pr-cvs1:/tmp/cvs-serv31890/src/build Modified Files: jscheme-bootstrap.scm Log Message: changed javadoc so it generates documentation about packages in addition to classes |
From: Timothy J. H. <tim...@us...> - 2003-01-25 21:48:04
|
Update of /cvsroot/jscheme/jscheme/doc In directory sc8-pr-cvs1:/tmp/cvs-serv31716 Added Files: java-packages.txt Log Message: changed javadoc so it generates documentation about packages in addition to classes |
From: Timothy J. H. <tim...@us...> - 2003-01-25 21:12:21
|
Update of /cvsroot/jscheme/jscheme/src/build In directory sc8-pr-cvs1:/tmp/cvs-serv10211/src/build Modified Files: jscheme-bootstrap.scm Log Message: fixed bootstrap bug for jdk1.4, added javadoc overview.html file |
From: Timothy J. H. <tim...@us...> - 2003-01-25 21:12:20
|
Update of /cvsroot/jscheme/jscheme/doc In directory sc8-pr-cvs1:/tmp/cvs-serv10211/doc Added Files: overview.html Log Message: fixed bootstrap bug for jdk1.4, added javadoc overview.html file |
From: Timothy J. H. <tim...@us...> - 2003-01-25 17:16:23
|
Update of /cvsroot/jscheme/jscheme/src/jsint In directory sc8-pr-cvs1:/tmp/cvs-serv12966/src/jsint Modified Files: Import.java Log Message: fixed initializer error in Java Web Start applications |
From: Timothy H. <tim...@ma...> - 2003-01-25 16:16:30
|
I've just checked in Derek Upham's module systems for JScheme (with some minor bug fixes) and bumped the JScheme version to 6.0.0. This change should be backward compatible. If you don't use modules you should notice any difference. If you do notice a difference please tell us! You can always check out the earlier version of Jscheme with cvs -d:pserver:ano...@cv...:/cvsroot/jscheme login cvs -z3 -d:pserver:ano...@cv...:/cvsroot/jscheme co -r v5 jscheme where the "-r v5" specifies the "v5" rtagged version. The module system is accessed via two primitives: (environment-import FILE [PREFIX]) (language-import FILE) where [PREFIX] is optional. Both primitives create a new environment containing only the initial jscheme environment which is temporarily set to be the interaction environment. They then load the file in this new environment. The environment is then locked to prevent any changes to it, and the variables in the environment are copied into the previous interaction environment (with or without a prefix). Importing is recursive, so imported files can themselves import files. The environment-import copies in all non-macro values and the language-import copies in only the macro-values. More details are available in doc/modules.html |
From: Timothy J. H. <tim...@us...> - 2003-01-25 15:28:07
|
Update of /cvsroot/jscheme/jscheme/src/jlib In directory sc8-pr-cvs1:/tmp/cvs-serv8636/src/jlib Modified Files: JLIB.scm Swing.scm Log Message: added Derek Upham's module system to Jscheme |
From: Timothy J. H. <tim...@us...> - 2003-01-25 15:28:07
|
Update of /cvsroot/jscheme/jscheme/src/jsint/compiler In directory sc8-pr-cvs1:/tmp/cvs-serv8636/src/jsint/compiler Modified Files: Compiler.scm Log Message: added Derek Upham's module system to Jscheme |
From: Timothy J. H. <tim...@us...> - 2003-01-25 15:28:07
|
Update of /cvsroot/jscheme/jscheme/src/jscheme In directory sc8-pr-cvs1:/tmp/cvs-serv8636/src/jscheme Modified Files: JS.java Log Message: added Derek Upham's module system to Jscheme |
From: Timothy J. H. <tim...@us...> - 2003-01-25 15:28:07
|
Update of /cvsroot/jscheme/jscheme/src/jlib/demo In directory sc8-pr-cvs1:/tmp/cvs-serv8636/src/jlib/demo Modified Files: SchemeEval.scm Log Message: added Derek Upham's module system to Jscheme |
From: Timothy J. H. <tim...@us...> - 2003-01-25 15:28:06
|
Update of /cvsroot/jscheme/jscheme/src/jsint In directory sc8-pr-cvs1:/tmp/cvs-serv8636/src/jsint Modified Files: BacktraceException.java Closure.java Generic.java JavaConstructor.java JavaField.java JavaMethod.java Macro.java Primitive.java Procedure.java Scheme.java StaticReflector.java Symbol.java primitives.scm Added Files: DynamicEnvironment.java DynamicVariable.java LexicalEnvironment.java Log Message: added Derek Upham's module system to Jscheme |
From: Timothy J. H. <tim...@us...> - 2003-01-25 15:28:06
|
Update of /cvsroot/jscheme/jscheme/doc In directory sc8-pr-cvs1:/tmp/cvs-serv8636/doc Modified Files: refman.html whatsnew.html Added Files: modules.html Log Message: added Derek Upham's module system to Jscheme |
From: Ken A. <kan...@bb...> - 2003-01-15 14:23:37
|
At 09:15 PM 1/14/2003, Geoffrey Knauth wrote: >On Tuesday, Jan 14, 2003, at 20:54 US/Eastern, Ken Anderson wrote: >>While Scheme's built in string handling is minimal, did you do this to be portable among Scheme's or because JScheme's Scheme + Java did not provide what you wanted? > >I confess I did not have a concrete plan, I was just mucking around. I had a "/path/to/a/FILE.ext", and I had to pull out just the "FILE" part [1], and I thought, gee, I bet MIT Scheme has string stuff I could use. If you already have the file, f, you can get the FILE part by doing something like: (.substring (.getName f) 0 (- (.length (.getName f)) (.length ".ext"))) or (car (crack (.getName f) ".")) which is shorter but does a bit more work. See using/run.scm for examples of file hacking. >Well, it worked, but after I did it, I realized I probably had to pull over more MIT Scheme than I strictly needed, and Java has String search/index functions already, and I could have done it that way. In fact, over lunch today I was telling a colleague I should time my FILE extraction with the code I've got, and compare it against doing it with Java String methods. This would be interesting to profile. I've found that if JScheme is used as a wrapper around Java, the performance difference is pretty low. For example, JScheme is well suited for GUI layout, system bulding, or JDK 1.4 regular expression manipulation. >Geoffrey > >[1] (I have other JScheme routines that return the nnn number given a demand stream's name, which you get by first looking up the filename given an MInvocID, for ICIS JChem.) |
From: Geoffrey K. <gk...@ma...> - 2003-01-15 02:15:57
|
On Tuesday, Jan 14, 2003, at 20:54 US/Eastern, Ken Anderson wrote: > While Scheme's built in string handling is minimal, did you do this to > be portable among Scheme's or because JScheme's Scheme + Java did not > provide what you wanted? I confess I did not have a concrete plan, I was just mucking around. I had a "/path/to/a/FILE.ext", and I had to pull out just the "FILE" part [1], and I thought, gee, I bet MIT Scheme has string stuff I could use. Well, it worked, but after I did it, I realized I probably had to pull over more MIT Scheme than I strictly needed, and Java has String search/index functions already, and I could have done it that way. In fact, over lunch today I was telling a colleague I should time my FILE extraction with the code I've got, and compare it against doing it with Java String methods. Geoffrey [1] (I have other JScheme routines that return the nnn number given a demand stream's name, which you get by first looking up the filename given an MInvocID, for ICIS JChem.) |
From: Ken A. <kan...@bb...> - 2003-01-15 01:55:12
|
At 04:28 PM 1/13/2003, Geoffrey Knauth wrote: >I needed some string handling functions, so I looked at MIT Scheme's src/runtime/string.scm, cannibalized what I needed, and it worked fine in JScheme. I had to change "fix:" arithmetic function calls to ordinary ones, and decide if I wanted to adopt `guarantee-string'. While Scheme's built in string handling is minimal, did you do this to be portable among Scheme's or because JScheme's Scheme + Java did not provide what you wanted? There is good Scheme code out there, but i've tended to get what i wanted from Java. For example, while SLIB provides a lot of useful tools, the only thing i've used so far is the pretty printer, simply because Java provided whatever else i needed. Perhaps Scheme code could be more easily converted to JScheme if we implemented some of the SRFI's, but there hasn't been much discussion of this so far. k |
From: Geoffrey K. <ge...@kn...> - 2003-01-13 21:28:34
|
I needed some string handling functions, so I looked at MIT Scheme's src/runtime/string.scm, cannibalized what I needed, and it worked fine in JScheme. I had to change "fix:" arithmetic function calls to ordinary ones, and decide if I wanted to adopt `guarantee-string'. |
From: Ken A. <kan...@us...> - 2003-01-06 16:17:24
|
Update of /cvsroot/jscheme/jscheme/src/jsint In directory sc8-pr-cvs1:/tmp/cvs-serv30337/src/jsint Modified Files: Queue.java Log Message: Put tests for Queue into unit tests. |
From: Ken A. <kan...@us...> - 2003-01-06 16:17:24
|
Update of /cvsroot/jscheme/jscheme/src/jscheme In directory sc8-pr-cvs1:/tmp/cvs-serv30337/src/jscheme Modified Files: SchemeTests.scm Log Message: Put tests for Queue into unit tests. |
From: Ken A. <kan...@bb...> - 2003-01-06 15:12:06
|
Yes. This is another difference between Scheme and JScheme. We seem to use string-append a lot, so it seemed convenient to turn each argument into its string representation. It may be unnecessary work, but it simplifies the code you right. Rather than: > (string-append "It is now " (.toString (Date.))) "It is now Mon Jan 06 10:07:41 EST 2003" > You just say: > (string-append "It is now " (Date.)) "It is now Mon Jan 06 10:10:27 EST 2003" In fact, we use string-append so much, we made an alternative syntax for it: > {It is now [(Date.)]} "It is now Mon Jan 06 10:03:38 EST 2003" > At 11:26 PM 1/5/2003, Geoffrey Knauth wrote: >I found these anomalies when using string-append with JScheme 4.2.2/5.0: > >> (string-append "a" "b" '()) >"ab()" >> (string-append "a" "b" #f) >"ab#f" > >DrScheme detects the 3rd argument is not a string and reports an error. > >Not a show-stopper for me, just something I noticed. > >Geoffrey > > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Jscheme-devel mailing list >Jsc...@li... >https://lists.sourceforge.net/lists/listinfo/jscheme-devel |