You can subscribe to this list here.
2002 |
Jan
|
Feb
|
Mar
|
Apr
(4) |
May
(10) |
Jun
(6) |
Jul
(1) |
Aug
(10) |
Sep
(20) |
Oct
(5) |
Nov
(2) |
Dec
(4) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
(25) |
Feb
(6) |
Mar
(59) |
Apr
(9) |
May
(3) |
Jun
(13) |
Jul
(6) |
Aug
(16) |
Sep
(14) |
Oct
(12) |
Nov
(4) |
Dec
(10) |
2004 |
Jan
(16) |
Feb
(12) |
Mar
(53) |
Apr
(16) |
May
(43) |
Jun
(40) |
Jul
(48) |
Aug
(20) |
Sep
(23) |
Oct
(27) |
Nov
(33) |
Dec
(8) |
2005 |
Jan
(2) |
Feb
(20) |
Mar
(7) |
Apr
(9) |
May
(2) |
Jun
(6) |
Jul
(5) |
Aug
|
Sep
|
Oct
(3) |
Nov
(3) |
Dec
(6) |
2006 |
Jan
(6) |
Feb
(6) |
Mar
(1) |
Apr
(4) |
May
|
Jun
(1) |
Jul
|
Aug
(2) |
Sep
(1) |
Oct
|
Nov
|
Dec
|
2007 |
Jan
(1) |
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(2) |
Aug
(1) |
Sep
(8) |
Oct
|
Nov
|
Dec
|
2008 |
Jan
(5) |
Feb
|
Mar
|
Apr
|
May
(2) |
Jun
(2) |
Jul
(2) |
Aug
|
Sep
(1) |
Oct
(2) |
Nov
|
Dec
(2) |
2009 |
Jan
(2) |
Feb
|
Mar
(1) |
Apr
|
May
(4) |
Jun
(2) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2010 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
2015 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: jeffbz <je...@co...> - 2008-01-08 00:43:29
|
Thanks for the reply. The code is written as intended. And indeed, this problem is confined to the compiler; in the REPL everything is fine. I'll try moving some definitions to another file to see if (load ...) helps. In general this wouldn't help too much though, since I'd like to be able to run an arbitrary portion of my code during macroexpansion. -Jeff Kyle R. Burton wrote: > >> I'm getting an error that seems to indicate the compiler can't see my >> toplevel function definitions during macroexpansion. I have a function >> foo, >> and a macro M that uses it. I get an error compiling function bar, which >> uses M, saying undefined variable "foo". How can I make my definitions >> visible during compilation? >> Example code that exhibits this issue: >> (define (foo x) (+ 1 x)) >> (define-macro (M y) (foo y)) >> (define (bar z) (M 3)) >> >> output: >> first pass of compiler >> (compiling foo) >> (compiling bar) >> (Error while compiling SchemeException: ERROR: undefined variable "foo") >> SchemeException: ERROR: undefined variable "foo" >> at jsint.E.error(E.java:14) >> >> thank you, and thank you for JScheme, which I am greatly enjoying!! > > Do you want foo to be part of the expansoin? In other words, do you > want M to expand to the call to foo, or do you want it to be 'compiled > away'? > > eg, do you want bar to be equivalent to: > > (define (bar z) (foo 3)) > > Or do you want it to be > > (define (bar z) 4) > > ? > > If it is the former, then M should probably look like: > > (define-macro (M y) `(foo ,y)) > > Either way, when I type in your expressions, I receive no error with > jscheme 7.2: > > $ java -jar jscheme-7.2.jar > JScheme 7.2 (2/2/06 9:47 PM) http://jscheme.sourceforge.net >> (define (foo x) (+ 1 x)) > $1 = (lambda foo (x)...) >> (foo 3) > $2 = 4 >> (define-macro (M y) (foo y)) > $3 = (macro M (y)...) >> (define (bar z) (M 3)) > $4 = (lambda bar (z)...) >> (bar 1) > $5 = 4 >> (bar 2) > $6 = 4 >> > > If you're after constant math (making bar be the integer 4), actually > regardless, it looks like if you put the macro definition in a > separate file and load it, it succeeds: > > $ cat mac.scm > (define-macro (M y) (foo y)) > > kburton@lap0029 ~/projects/sandbox/jscheme > $ cat Foo.scm > (load "mac.scm") > (define (foo x) (+ 1 x)) > (define (bar z) (M 3)) > > (define (main args) > (write "bar ") (write (bar 10)) (newline)) > > I'm not very familiar with the compiler...I hope this helps. > > Regards, > > Kyle Burton > -- View this message in context: http://www.nabble.com/definitions-available-at-compile-time--tp14673314p14679936.html Sent from the JScheme - User mailing list archive at Nabble.com. |
From: Kyle R. B. <kyl...@gm...> - 2008-01-07 22:16:21
|
> I'm getting an error that seems to indicate the compiler can't see my > toplevel function definitions during macroexpansion. I have a function foo, > and a macro M that uses it. I get an error compiling function bar, which > uses M, saying undefined variable "foo". How can I make my definitions > visible during compilation? > Example code that exhibits this issue: > (define (foo x) (+ 1 x)) > (define-macro (M y) (foo y)) > (define (bar z) (M 3)) > > output: > first pass of compiler > (compiling foo) > (compiling bar) > (Error while compiling SchemeException: ERROR: undefined variable "foo") > SchemeException: ERROR: undefined variable "foo" > at jsint.E.error(E.java:14) > > thank you, and thank you for JScheme, which I am greatly enjoying!! Do you want foo to be part of the expansoin? In other words, do you want M to expand to the call to foo, or do you want it to be 'compiled away'? eg, do you want bar to be equivalent to: (define (bar z) (foo 3)) Or do you want it to be (define (bar z) 4) ? If it is the former, then M should probably look like: (define-macro (M y) `(foo ,y)) Either way, when I type in your expressions, I receive no error with jscheme 7.2: $ java -jar jscheme-7.2.jar JScheme 7.2 (2/2/06 9:47 PM) http://jscheme.sourceforge.net > (define (foo x) (+ 1 x)) $1 = (lambda foo (x)...) > (foo 3) $2 = 4 > (define-macro (M y) (foo y)) $3 = (macro M (y)...) > (define (bar z) (M 3)) $4 = (lambda bar (z)...) > (bar 1) $5 = 4 > (bar 2) $6 = 4 > If you're after constant math (making bar be the integer 4), actually regardless, it looks like if you put the macro definition in a separate file and load it, it succeeds: $ cat mac.scm (define-macro (M y) (foo y)) kburton@lap0029 ~/projects/sandbox/jscheme $ cat Foo.scm (load "mac.scm") (define (foo x) (+ 1 x)) (define (bar z) (M 3)) (define (main args) (write "bar ") (write (bar 10)) (newline)) I'm not very familiar with the compiler...I hope this helps. Regards, Kyle Burton |
From: jeffbz <je...@co...> - 2008-01-07 18:58:42
|
Hi, I'm getting an error that seems to indicate the compiler can't see my toplevel function definitions during macroexpansion. I have a function foo, and a macro M that uses it. I get an error compiling function bar, which uses M, saying undefined variable "foo". How can I make my definitions visible during compilation? Example code that exhibits this issue: (define (foo x) (+ 1 x)) (define-macro (M y) (foo y)) (define (bar z) (M 3)) output: first pass of compiler (compiling foo) (compiling bar) (Error while compiling SchemeException: ERROR: undefined variable "foo") SchemeException: ERROR: undefined variable "foo" at jsint.E.error(E.java:14) thank you, and thank you for JScheme, which I am greatly enjoying!! -Jeff -- View this message in context: http://www.nabble.com/definitions-available-at-compile-time--tp14673314p14673314.html Sent from the JScheme - User mailing list archive at Nabble.com. |
From: Mitchell W. <wa...@cc...> - 2007-09-28 17:49:41
|
On behalf of the Steering Committee and the Editors Committee, I am extremely pleased to announce that the R6RS is now available in pdf format at http://www.r6rs.org . An HTML version will be available shortly. The editors have asked me to include the following statement. The editors would like to make the following suggestion to the steering committee and, by extension, the Scheme community. Among the differences between the R6RS and its predecessors, the sheer size of the report is the most obvious. This difference can be explained by the primary goal that drove the R6RS effort, which was to enable a new level of portability among Scheme implementations. Given that goal, many language constructs that implementations supply out of practical necessity---including modules, records, expressive macro systems, byte vectors, hash tables, and exceptions---fell under the purview of the new report, instead of individual implementations. The result is a significantly larger report. The expanded scope and size of the report make its compromises and flaws more keenly felt than before; quite simply, there are more details to get wrong. Compromises and flaws are inherent in a standardization process, just as they are inherent in the production of software artifacts (at least given our current technology). As with software, the clearest way forward is a process of continual refinement. We therefore suggest that the standardization process be refined to accommodate a series of incremental reports (R6.1RS, R6.2RS, etc.) to address problems in R6RS as flaws and their solutions become clear. On behalf of the Steering Committee, I would like to thank all the editors for their efforts over the last four years. The scale and length of this process is unprecedented in our community. I would also to like to thank the many people who contributed to the discussion and participated in the R6RS process. I will be giving a report on the process at the Scheme Workshop on Sunday. I look forward to seeing many of you there. Sincerely, --Mitch Wand for the Steering Committee: Alan Bawden Guy Steele Mitch Wand _______________________________________________ Scheme-announcements mailing list Sch...@li... https://lists.ccs.neu.edu/bin/listinfo/scheme-announcements |
From: Frank Hu <fra...@gm...> - 2007-09-13 21:00:51
|
Checked out the source from CVS. Everything works fine. Thanks, Geoffrey and Tim. Frank On Sep 13, 2007, at 8:15 AM, Timothy J Hickey wrote: > Nice work Geooffrey!! > > I've committed your changes into CVS. > There was also another problem with the code base > (which has been corrected in CVS) -- > > You need to delete the 18th line of src/jsint/primitives.scm > (tail 1) "return U.tail((Pair)x);" > With these two changes everything is compiling nicely for me on > Mac OS X 10.4 using java 1.5.0_07-87 > > I haven't tried it on Windows yet. I'll have to wait until tomorrow > when I have access to a Windows machine. > > Happy Rosh Hashanah, > ---Tim--- > > > On Sep 13, 2007, at 6:28 AM, Geoffrey S. Knauth wrote: > >> On Sep 11, 2007, at 23:47, Frank Hu wrote: >>> I'm trying to build version 7.2 on a Mac OS X 10.4.10 system. Got >>> the following error message when doing "sh bin/make" >>> [...] >>> SchemeException: java.io.FileNotFoundException: path_to_jscheme-7.2/ >>> src:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/ >>> Classes/.compatibility/src/jsint/version.txt (No such file or >>> directory) >> >> I found a way to build JScheme on Mac OS X 10.4.10. >> I believe this fix should be valid for all platforms. >> >> Geoffrey >> >> In src/build/make.scm, I replaced: >> >> --->8---snip--->8--- >> ;;; Assumes a subdirectory is the only thing on classpath. >> (define appDir (.getCanonicalFile >> (.getParentFile >> (.getCanonicalFile >> (File. ($ "java.class.path")))))) >> --->8---snip--->8--- >> >> with: >> >> --->8---snip--->8--- >> ;;; No longer assumes a subdirectory is the only thing on classpath. >> ;;; Now assumes first thing on classpath is what should be used. >> (define appDir >> (let* ((cp ($ "java.class.path")) >> (i (.indexOf cp (System.getProperty "path.separator"))) >> (subdir (cond ((= i -1) cp) >> ((> i 0) (substring cp 0 i)) >> (else (error (string-append >> "appDir: can't create File >> object " >> "from classpath " >> "\"" cp "\"\n")))))) >> (.getCanonicalFile (.getParentFile (.getCanonicalFile (File. >> subdir)))))) >> >> --->8---snip--->8--- >> >> >> --------------------------------------------------------------------- >> ---- >> This SF.net email is sponsored by: Microsoft >> Defy all challenges. Microsoft(R) Visual Studio 2005. >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >> _______________________________________________ >> Jscheme-user mailing list >> Jsc...@li... >> https://lists.sourceforge.net/lists/listinfo/jscheme-user > |
From: Timothy J H. <tjh...@br...> - 2007-09-13 12:15:36
|
Nice work Geooffrey!! I've committed your changes into CVS. There was also another problem with the code base (which has been corrected in CVS) -- You need to delete the 18th line of src/jsint/primitives.scm (tail 1) "return U.tail((Pair)x);" With these two changes everything is compiling nicely for me on Mac OS X 10.4 using java 1.5.0_07-87 I haven't tried it on Windows yet. I'll have to wait until tomorrow when I have access to a Windows machine. Happy Rosh Hashanah, ---Tim--- On Sep 13, 2007, at 6:28 AM, Geoffrey S. Knauth wrote: > On Sep 11, 2007, at 23:47, Frank Hu wrote: >> I'm trying to build version 7.2 on a Mac OS X 10.4.10 system. Got >> the following error message when doing "sh bin/make" >> [...] >> SchemeException: java.io.FileNotFoundException: path_to_jscheme-7.2/ >> src:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/ >> Classes/.compatibility/src/jsint/version.txt (No such file or >> directory) > > I found a way to build JScheme on Mac OS X 10.4.10. > I believe this fix should be valid for all platforms. > > Geoffrey > > In src/build/make.scm, I replaced: > > --->8---snip--->8--- > ;;; Assumes a subdirectory is the only thing on classpath. > (define appDir (.getCanonicalFile > (.getParentFile > (.getCanonicalFile > (File. ($ "java.class.path")))))) > --->8---snip--->8--- > > with: > > --->8---snip--->8--- > ;;; No longer assumes a subdirectory is the only thing on classpath. > ;;; Now assumes first thing on classpath is what should be used. > (define appDir > (let* ((cp ($ "java.class.path")) > (i (.indexOf cp (System.getProperty "path.separator"))) > (subdir (cond ((= i -1) cp) > ((> i 0) (substring cp 0 i)) > (else (error (string-append > "appDir: can't create File > object " > "from classpath " > "\"" cp "\"\n")))))) > (.getCanonicalFile (.getParentFile (.getCanonicalFile (File. > subdir)))))) > > --->8---snip--->8--- > > > ---------------------------------------------------------------------- > --- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Jscheme-user mailing list > Jsc...@li... > https://lists.sourceforge.net/lists/listinfo/jscheme-user |
From: Geoffrey S. K. <ge...@kn...> - 2007-09-13 10:29:09
|
On Sep 11, 2007, at 23:47, Frank Hu wrote: > I'm trying to build version 7.2 on a Mac OS X 10.4.10 system. Got > the following error message when doing "sh bin/make" > [...] > SchemeException: java.io.FileNotFoundException: path_to_jscheme-7.2/ > src:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/ > Classes/.compatibility/src/jsint/version.txt (No such file or > directory) I found a way to build JScheme on Mac OS X 10.4.10. I believe this fix should be valid for all platforms. Geoffrey In src/build/make.scm, I replaced: --->8---snip--->8--- ;;; Assumes a subdirectory is the only thing on classpath. (define appDir (.getCanonicalFile (.getParentFile (.getCanonicalFile (File. ($ "java.class.path")))))) --->8---snip--->8--- with: --->8---snip--->8--- ;;; No longer assumes a subdirectory is the only thing on classpath. ;;; Now assumes first thing on classpath is what should be used. (define appDir (let* ((cp ($ "java.class.path")) (i (.indexOf cp (System.getProperty "path.separator"))) (subdir (cond ((= i -1) cp) ((> i 0) (substring cp 0 i)) (else (error (string-append "appDir: can't create File object " "from classpath " "\"" cp "\"\n")))))) (.getCanonicalFile (.getParentFile (.getCanonicalFile (File. subdir)))))) --->8---snip--->8--- |
From: Geoffrey S. K. <ge...@kn...> - 2007-09-13 09:05:13
|
I added the following as the first sexp in src/build/make.scm: (display (src "")) to see just what JScheme thought the source path was, and it displayed: /Users/gknauth/test/jscheme/t-fresh/jscheme-7.2/src:/System/Library/ Frameworks/JavaVM.framework/Versions/1.5.0/Classes/.compatibility/src (That was all one one line, in case mail chopped it up.) I believe it was supposed to display just: /Users/gknauth/test/jscheme/t-fresh/jscheme-7.2/src In other words, the build process is trying to make the path to a filename, but the path contains more than one path element, so the filesystem errors back to Java, which reports back "No such file or directory." It's the path it's complaining about, not a missing version.txt file. version.txt is created by the (make-version) function call. There's a potential clue in the comment just before the definition of appDir in make.scm: ;;; Assumes a subdirectory is the only thing on classpath. (define appDir (.getCanonicalFile (.getParentFile (.getCanonicalFile (File. ($ "java.class.path")))))) (define srcDir (File. appDir "src")) (define (src name) (File. srcDir name)) It seems to me appDir needs to be fixed, because it is used in 20 places in make.scm to build subdirectory paths. |
From: Geoffrey S. K. <ge...@kn...> - 2007-09-13 08:48:01
|
Frank, I tried a fresh checkout and build on my Mac OS X 10.4.10 system and got exactly the same result as you, but there were two additional lines of error message at the very top: Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. That may be inconsequential. I'm going to retry compilation using "sh -x bin/make" instead of "sh bin/make" to get more detail. Geoffrey On Sep 11, 2007, at 23:47, Frank Hu wrote: > Hi, > > I'm trying to build version 7.2 on a Mac OS X 10.4.10 system. Got > the following error message when doing "sh bin/make" > > -all > -clean > -javac > (call-with-output-file > (src '"jsint/version.txt") > (lambda (s) > (display > (let ((d (.format > (DateFormat.getDateTimeInstance > DateFormat.SHORT$ > DateFormat.SHORT$) > (Date.)))) > (!{} '"JScheme 7.2 (" > d > '") http://jscheme.sourceforge.net > ")) > s))) > > > ==================================== > SchemeException: java.io.FileNotFoundException: path_to_jscheme-7.2/ > src:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/ > Classes/.compatibility/src/jsint/version.txt (No such file or > directory) > > It seems that version.txt is missing. A quick look at the java > source code doesn't indicate that this file is generated. > > Frank |
From: Geoffrey S. K. <ge...@kn...> - 2007-09-13 08:47:15
|
Just thinking out loud here... It seems to me that "src/version.txt" is generated. It exists on my system, it is just one line, and it looks like this: JScheme 7.2 (4/27/05 4:57 AM) http://jscheme.sourceforge.net What puzzles me is what's in the SchemeException output you provided, everything from "path_to_jscheme-7.2/" to and including "Classes/.compatibility/". I'll try a fresh checkout and build on my Mac OS X system and see what happens. My hunch is something's in your environment that the build process isn't expecting. Geoffrey -- Geoffrey S. Knauth | http://knauth.org/gsk On Sep 11, 2007, at 23:47, Frank Hu wrote: > Hi, > > I'm trying to build version 7.2 on a Mac OS X 10.4.10 system. Got > the following error message when doing "sh bin/make" > > -all > -clean > -javac > (call-with-output-file > (src '"jsint/version.txt") > (lambda (s) > (display > (let ((d (.format > (DateFormat.getDateTimeInstance > DateFormat.SHORT$ > DateFormat.SHORT$) > (Date.)))) > (!{} '"JScheme 7.2 (" > d > '") http://jscheme.sourceforge.net > ")) > s))) > > > ==================================== > SchemeException: java.io.FileNotFoundException: path_to_jscheme-7.2/ > src:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/ > Classes/.compatibility/src/jsint/version.txt (No such file or > directory) > > It seems that version.txt is missing. A quick look at the java > source code doesn't indicate that this file is generated. > > Frank > |
From: Frank Hu <fra...@gm...> - 2007-09-12 03:48:01
|
Hi, I'm trying to build version 7.2 on a Mac OS X 10.4.10 system. Got the following error message when doing "sh bin/make" -all -clean -javac (call-with-output-file (src '"jsint/version.txt") (lambda (s) (display (let ((d (.format (DateFormat.getDateTimeInstance DateFormat.SHORT$ DateFormat.SHORT$) (Date.)))) (!{} '"JScheme 7.2 (" d '") http://jscheme.sourceforge.net ")) s))) ==================================== SchemeException: java.io.FileNotFoundException: path_to_jscheme-7.2/ src:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/ Classes/.compatibility/src/jsint/version.txt (No such file or directory) It seems that version.txt is missing. A quick look at the java source code doesn't indicate that this file is generated. Frank |
From: Mitchell W. <wa...@cc...> - 2007-08-29 14:54:44
|
According to the Scheme Charter, at the end of the review process, the Steering Committee could choose either to finalize the submitted draft or to restart the review process. In order to be sure that the new revised Scheme standard enjoyed wide support among the Scheme community, the Steering Committee adopted a procedure in which there would be a vote on the question of whether the draft should be ratified, and they agreed to be bound by the results of that vote. 112 people registered to vote on the question. 102 of those electors cast their ballots before the poll closed on 12 August 2007. 67 electors voted to ratify draft 5.97 as R6RS. 35 electors were opposed to ratification. Thus 65.7% of those who voted, voted in favor of ratification. This is more than the 60% required for ratification. The Steering Committee therefore ratifies the draft numbered 5.97 as the official "Revised6 Report on the Algorithmic Language Scheme". The Editors are directed to prepare the final text of the document, correcting only minor errata. The final record of the ratification vote can be found at http://www.r6rs.org/ratification/results.html. (Additional correspondence received after the poll closed will be published separately.) ---The Scheme Language Steering Committee: Alan Bawden Guy Steele Mitch Wand _______________________________________________ Scheme-announcements mailing list Sch...@li... https://lists.ccs.neu.edu/bin/listinfo/scheme-announcements |
From: Mitchell W. <wa...@cc...> - 2007-07-25 15:23:28
|
_______________________________________________ Scheme-announcements mailing list Sch...@li... https://lists.ccs.neu.edu/bin/listinfo/scheme-announcements |
From: Mitchell W. <wa...@cc...> - 2007-07-09 15:28:54
|
_______________________________________________ Scheme-announcements mailing list Sch...@li... https://lists.ccs.neu.edu/bin/listinfo/scheme-announcements |
From: <bor...@ko...> - 2007-02-09 05:23:43
|
Hi all, I'd like to announce a new tool called Scriba for working with dynamic languages on the Java platform: http://www.kobrix.com/scriba.jsp Here is a synopsis: - Scripting development for dynamic languages implementing the JSR 223 spec. - UI inspired from the Mathematica system. You work with notebooks composed of cells. Different languages, UI elements and HTML comments are intermixed into self-contained notebooks. - Multiple evaluation contexts, each having its own classpath, like projects in a workspace. - Free, open-source. - Currently BeanShell and JScheme are bundled in the distribution. Other languages can be very easily integrated. I've been using in my daily work for prototyping and testing for some time. It's been in development for the past year or so and we're eager to get feedback from people. Please give it a shot and let us know what you think! Regards, Boris |
From: Kyle R. B. <kyl...@gm...> - 2007-01-24 18:17:45
|
I've been looking at the future module and I've noticed a few things that look strange. In touch, it is using backquote, but it looks like it should not be. Also, the 'constructor' macro 'future' might be more useful it was defined as: (define-macro (future . body) `(%make-future (lambda () ,@body))) instead of it's current: (define-macro (future exp) `(%make-future (lambda () ,exp))) since it would then allow multiple statements in the expression. When I redefine join to not use the backquote it then seems to work correctly. Should I send a patch or commit the update to CVS? Thanks, Kyle R. Burton |
From: Mitchell W. <wa...@cc...> - 2006-09-14 19:42:29
|
I am extremely pleased to announce that a draft version of R6RS is now available at www.r6rs.org . A copy will also be posted on schemers.org . The charter provides for a six-month public comment period. Therefore the editors, in consultation with the steering committee, have provided a mechanism for comment and discussion. Details are also at www.r6rs.org . The comment period is now open and will continue until March 15, 2007. The steering committee thanks the editors for their intensive work on the draft R6RS, and looks forward to the public comment period. Enjoy! For the Steering Committee, --Mitch Wand |
From: <bor...@ko...> - 2006-08-24 18:12:26
|
Hi all, Any efforts/plans to support the new Java Scripting spec (JSR 223)? If not, I'd be willing to work on it. Best, Boris |
From: Kyle R. B. <kyl...@gm...> - 2006-08-02 18:52:14
|
The future code makes sense to me, but doesn't work. The function touch is returning a list - which is the code that I would have expected it to execute. Touch looks like this: (define (touch f) (if (future? f) `(let ((thread (%future-thread f))) (if thread (.join thread)) (if (%future-exception f) (throw (%future-exception f)) (%future-value f))) f)) I think the backquote just needs to be removed for this to be correct (it works for me): (define (touch f) (if (future? f) (let ((thread (%future-thread f))) (if thread (.join thread)) (if (%future-exception f) (throw (%future-exception f)) (%future-value f))) f)) When I do this it does what I expect. Is this something anyone else has used? Am I not getting something about how it's supposed to be used or works? Thanks, Kyle This is the test I was trying to run: (define (run-parallel . functions) (map touch (map (lambda (func) (%make-future func)) functions))) (run-parallel (lambda () 3) (lambda () 4)) ;; => (3 4) |
From: Mitchell W. <wa...@cc...> - 2006-06-26 20:53:50
|
I am pleased to announce that an updated comprehensive status report from the R6RS editors is now available at www.schemers.org . For the Steering Committee, --Mitch Wand |
From: Geoffrey K. <ge...@kn...> - 2006-04-24 11:30:24
|
I needed a way to add a bunch of JARs to my classpath, and I wanted to be able to configure where they lived. The following small example is what I came up with. The idea is that a configuration driver could build up jars-to-add. Geoffrey -- Geoffrey S. Knauth | http://knauth.org/gsk ----- (load "elf/classpath.scm") (define (list-full-jar-names dir name-list) (map (lambda (name) (string-append dir "/" name ".jar")) name-list)) (define jars-to-add (list-full-jar-names (string-append (System.getProperty "user.home") "/lib/jar") (list "lava3-core" "lava3-printf"))) (for-each (lambda (j) (addClasspathUrl j)) jars-to-add) |
From: Geoffrey K. <ge...@kn...> - 2006-04-23 07:19:10
|
That worked perfectly. Thank you, Sir! --Geoffrey On Apr 22, 2006, at 22:13, Timothy John Hickey wrote: > You need to create a StringWriter object w, > wrap it in a PrinterWriter object p, and pass that object as the > second parameter to the "out" method. > Invoking .toString on the w object will give you your string.... > > Here's an example... > > > (define w (java.io.StringWriter.)) > > > (out (run (cmd (ls -l "."))) (java.io.PrintWriter. w)) > 0 > > (display (.toString w)) > total 155416 > drwx------ 45 tim tim 1530 22 Apr 09:56 Desktop > drwx------ 67 tim tim 2278 18 Apr 07:58 Documents > drwx------ 44 tim tim 1496 10 Apr 17:47 Library > drwx------ 6 tim tim 204 1 Apr 19:49 Movies > drwx------ 5 tim tim 170 30 Jan 2005 Music > drwx------ 4 tim tim 136 7 Jan 20:08 Pictures > ---snip--- |
From: Timothy J. H. <ti...@cs...> - 2006-04-23 02:13:16
|
On Apr 22, 2006, at 7:44 PM, Geoffrey Knauth wrote: > I'm running a command and I'd like to capture the output in a string. > For example: > > (out (run (cmd (wc -l ,filename)))) > > I tried wrapping a ByteArrayOutputStream in a PrintStream, but that > didn't seem to do anything. You need to create a StringWriter object w, wrap it in a PrinterWriter object p, and pass that object as the second parameter to the "out" method. Invoking .toString on the w object will give you your string.... Here's an example... > (define w (java.io.StringWriter.)) > (out (run (cmd (ls -l "."))) (java.io.PrintWriter. w)) 0 > (display (.toString w)) total 155416 drwx------ 45 tim tim 1530 22 Apr 09:56 Desktop drwx------ 67 tim tim 2278 18 Apr 07:58 Documents drwx------ 44 tim tim 1496 10 Apr 17:47 Library drwx------ 6 tim tim 204 1 Apr 19:49 Movies drwx------ 5 tim tim 170 30 Jan 2005 Music drwx------ 4 tim tim 136 7 Jan 20:08 Pictures ---snip--- Best, ---Tim--- > > Geoffrey > -- > Geoffrey S. Knauth | http://knauth.org/gsk > > > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel? > cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Jscheme-user mailing list > Jsc...@li... > https://lists.sourceforge.net/lists/listinfo/jscheme-user |
From: Geoffrey K. <ge...@kn...> - 2006-04-22 23:44:27
|
I'm running a command and I'd like to capture the output in a string. For example: (out (run (cmd (wc -l ,filename)))) I tried wrapping a ByteArrayOutputStream in a PrintStream, but that didn't seem to do anything. Geoffrey -- Geoffrey S. Knauth | http://knauth.org/gsk |
From: Mitchell W. <wa...@cc...> - 2006-03-07 21:43:34
|
Scheme Language Steering Committee Report to the Community March 7, 2006 Since the last report of the Steering Committee, a number of important changes have taken place. First, Marc Feeley and Manuel Serrano have resigned from the Editors Committee. We have accepted their resignations with regret, and with gratitude for the efforts they have expended to produce a revised Scheme standard. In light of these changes, the Steering Committee has amended the Charter to: (a) change the number of Editors from seven to five. (b) replace the office of Editor-in-Chief by a Chair and a Project Editor. The Chair is responsible for organizing meetings and other activities and ensuring that the process makes progress in an orderly fashion. The Project Editor is responsible for producing standardization documents. The five editors have chosen their Chair and Project Editor. They are: Chair: Kent Dybvig Project Editor: Mike Sperber The Editors Committee has now produced a progress report, which is available at schemers.org. In it they state their intention to deliver to the Steering Committee a complete draft R6RS by September 1, 2006. The Steering Committee looks forward to receiving their draft. Alternate links to the Editors' Progress Report: http://www.cs.indiana.edu/~dyb/r6rs/status.pdf http://www.cs.indiana.edu/~dyb/r6rs/status.html |