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: Derek U. <Der...@on...> - 2002-09-30 22:27:23
|
This weekend I got a simple module system up and running. Simple, in this case, means that it is compatible with the "module:symbol" naming convention used in a lot of Scheme libraries. The steps were as follows: 1. Symbols no longer contain their values. There are separate first-class dynamic environments that contain the values. 2. Free variables are no longer Symbols after code analysis; they are DynamicVariable objects, bound to a particular Symbol and DynamicEnvironment. This means that free variables are always looked up in the environment they were defined in. 3. A new function "loading-environment" acts as "load", but all definitions are done in a new environment with ``standard'' initial bindings. The new environment is returned. You can pass that environment as the second parameter to "eval", e.g., (let ((e (loading-environment "elf/basic.scm"))) (eval 'iterate e)) The new environment is locked-down; you can't change any of its dynamic bindings. 4. A new builtin (non-exposed) function "importBindings" runs through all the bindings in an environment and adds similar bindings to the current environment. The new bindings can either be identical, or they can have a prefix attached. 5. A new function "environment-import" does both the loading and the importing in succession. The upshot is that you can to the following: > (environment-import "elf/basic.scm" "foo:") #t > (foo:map* (lambda (x) (* x 2)) #(1 2 3)) (2 4 6) > (map* (lambda (x) (* x 2)) #(1 2 3)) (map* {jsint.Closure ??[1] (x)} #(1 2 3) ) ==================================== SchemeException:[[ERROR: undefined variable "map*"""]] Note that "map*" is renamed to "foo:map*" for us, but internally it still uses the plain "iterate" binding that is always does. You can also load classes that use the normal "load()" method initialization convention: > (environment-import jlib.JLIB.class "jl:") #t > (jl:menu "m1" (jl:menuitem "foo")) java.awt.Menu[menu0,label=m1,tearOff=false,isHelpMenu=false] If we pass #f for the prefix, nothing is prefixed; the function acts like "load". Assigning prefixes at load time gives more flexibility than depending on hierarchical module trees (c.f. namespace aliases in C++). Note that generic functions are merged correctly, not treated like other variables. This mechanism only works for libraries that are idempotent; it can't matter how many times you've loaded the library, or which of the times you've loaded it you're referring to. But a large class of Scheme code satisfies this restriction. (Locking-down the new environments catches at least some violations of this rule.) The big chunks seem to be complete; i'm now looking for corner cases that might hide bugs. Is this new functionality worth finishing up? Derek -- Derek Upham Senior Software Engineer Ontain 1750 112th Ave NE, Suite C-245 Bellevue, WA 98004-3727 Tel: 425-460-1886 der...@on... |
From: Ken A. <kan...@us...> - 2002-09-30 12:39:52
|
Update of /cvsroot/jscheme/jscheme/src/build In directory usw-pr-cvs1:/tmp/cvs-serv13048 Modified Files: compile.scm Log Message: copyBytes: Make the parent directory of the output file. |
From: Ken A. <kan...@us...> - 2002-09-27 16:55:29
|
Update of /cvsroot/jscheme/jscheme/src/build In directory usw-pr-cvs1:/tmp/cvs-serv15763/src/build Modified Files: bootstrap.scm Log Message: build/bootstrap.scm: Remove broken print definition. jsint/Scheme.java: Have load loop check for exit. Add Shebang.java to run Jscheme scripts with #! |
From: Ken A. <kan...@us...> - 2002-09-27 16:55:28
|
Update of /cvsroot/jscheme/jscheme/src/jscheme In directory usw-pr-cvs1:/tmp/cvs-serv15763/src/jscheme Added Files: Shebang.java Log Message: build/bootstrap.scm: Remove broken print definition. jsint/Scheme.java: Have load loop check for exit. Add Shebang.java to run Jscheme scripts with #! |
From: Ken A. <kan...@us...> - 2002-09-27 16:55:27
|
Update of /cvsroot/jscheme/jscheme/src/jsint In directory usw-pr-cvs1:/tmp/cvs-serv15763/src/jsint Modified Files: Scheme.java Log Message: build/bootstrap.scm: Remove broken print definition. jsint/Scheme.java: Have load loop check for exit. Add Shebang.java to run Jscheme scripts with #! |
From: Ken A. <kan...@us...> - 2002-09-23 16:28:32
|
Update of /cvsroot/jscheme/jscheme/src/elf In directory usw-pr-cvs1:/tmp/cvs-serv2141 Modified Files: describe.scm Log Message: Remove unnecessary ";" in constructor. One day, rewrite using Quasistring. |
From: Ken A. <kan...@us...> - 2002-09-20 16:14:43
|
Update of /cvsroot/jscheme/jscheme/src/jsint In directory usw-pr-cvs1:/tmp/cvs-serv1010/src/jsint Modified Files: Import.java Procedure.java Log Message: elf/jdbc.scm - remove user/password for BBN databases. jsint/Import.java - set context class loader too. jsint/Procedure.java - add catching method so i can get wrapped error. |
From: Ken A. <kan...@us...> - 2002-09-20 16:14:42
|
Update of /cvsroot/jscheme/jscheme/src/elf In directory usw-pr-cvs1:/tmp/cvs-serv1010/src/elf Modified Files: jdbc.scm Log Message: elf/jdbc.scm - remove user/password for BBN databases. jsint/Import.java - set context class loader too. jsint/Procedure.java - add catching method so i can get wrapped error. |
From: Timothy J. H. <tim...@us...> - 2002-09-11 10:46:53
|
Update of /cvsroot/jscheme/jscheme/src/jsint/compiler In directory usw-pr-cvs1:/tmp/cvs-serv6697/src/jsint/compiler Modified Files: Compiler.scm Log Message: fixed bug in compilation of 'or' |
From: Timothy J. H. <tim...@us...> - 2002-09-11 10:46:53
|
Update of /cvsroot/jscheme/jscheme/src/jsint In directory usw-pr-cvs1:/tmp/cvs-serv6697/src/jsint Modified Files: Macro.java Scheme.java Log Message: fixed bug in compilation of 'or' |
From: Derek U. <Der...@on...> - 2002-09-10 19:28:57
|
Here are 10 tests, for a reasonable value of "assert-equal?": (assert-equal? (values 3) 3) (assert-equal? ((lambda () (values 1 2) 3)) 3) (assert-equal? (call-with-values (lambda () 3) (lambda (x) x)) 3) (assert-equal? (call-with-values (lambda () (values)) (lambda () 3)) 3) (assert-equal? (call-with-values (lambda () (values 3)) (lambda (x) x)) 3) (assert-equal? (call-with-values (lambda () (values 1 2)) (lambda (a b) (vector b a))) '#(2 1)) (assert-equal? (call-with-values (lambda () (values)) (lambda args (list->vector args))) '#()) (assert-equal? (call-with-values (lambda () (values 1)) (lambda args (list->vector args))) '#(1)) (assert-equal? (call-with-values (lambda () (values 1 2)) (lambda args (list->vector args))) '#(1 2)) (assert-equal? (.toString (values 1 2)) (string-append "1" (System.getProperty "line.separator") "2")) I don't know of any single book that describes "syntax-rules" *well*. Myself, I've picked it up in bits and pieces over the years. Who is the target audience? Derek -----Original Message----- From: Ken Anderson [mailto:kan...@bb...] Sent: Monday, September 09, 2002 7:22 PM To: Derek Upham; 'jsc...@li...' Subject: Re: [Jscheme-devel] Implementation of "values", "call-with-values" Derek, This is cool. Do you mean my completely lame implementation of values as list wasn't good enough? BTW, I'm an old Lisper, so i understand "hurt yourself macros" from Common Lisp. Paul Graham's book, http://www.paulgraham.com/onlisp.html has 14 chapters on them. I don't know of a book that teaches Scheme's hygienic macro system. I've tried to write one, but it turned out to be too hard. Any pointers in this area would be helpful. In the spirit of Extereme Programming, could you provide several (4?) tests i could use to be sure your refactoring doesn't break anything else? Thanks! k At 09:17 PM 9/9/2002, Derek Upham wrote: >The URL > > http://www.serv.net/~sand/jscheme-values/ > >contains a directory of files that implement R5RS "values" and >"call-with-values" in JScheme (based on the CVS tree), replacing the >implementation in the EOPL2 support code. These are the complete files, not >patch files. > >The implementation uses the typical hack of creating an object that bundles >all the return values; "call-with-values" knows how to unpack the object. >This makes it possible to run illegal code, e.g., > > (define foo (values 1 2 3)) > >The implementation handles the weirdnesses and edge cases that I know about: > > * "(values X)" returns "X", not a values object > > * "(values)" is supported, and can be passed to continuations that take no >arguments. > > * It is always legal to pass zero values or more than one value to >continuations that ignore their arguments (such as the continuations of >non-tail expressions inside a "lambda" body). > >The printed representation of a "values" object is the representation of all >the child objects, separated by newlines. The REPL adds a newline on the >end, which means that "(values)" displays as a blank line. It may be useful >to tweak the REPL to avoid that as a special case. > >Derek > >-- >Derek Upham >Senior Software Engineer >Ontain >1750 112th Ave NE, Suite C-245 >Bellevue, WA 98004-3727 >Tel: 425-460-1886 >der...@on... > > >------------------------------------------------------- >This sf.net email is sponsored by: OSDN - Tired of that same old >cell phone? Get a new here for FREE! >https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 >_______________________________________________ >Jscheme-devel mailing list >Jsc...@li... >https://lists.sourceforge.net/lists/listinfo/jscheme-devel |
From: Ken A. <kan...@bb...> - 2002-09-10 02:22:47
|
Derek, This is cool. Do you mean my completely lame implementation of values as list wasn't good enough? BTW, I'm an old Lisper, so i understand "hurt yourself macros" from Common Lisp. Paul Graham's book, http://www.paulgraham.com/onlisp.html has 14 chapters on them. I don't know of a book that teaches Scheme's hygienic macro system. I've tried to write one, but it turned out to be too hard. Any pointers in this area would be helpful. In the spirit of Extereme Programming, could you provide several (4?) tests i could use to be sure your refactoring doesn't break anything else? Thanks! k At 09:17 PM 9/9/2002, Derek Upham wrote: >The URL > > http://www.serv.net/~sand/jscheme-values/ > >contains a directory of files that implement R5RS "values" and >"call-with-values" in JScheme (based on the CVS tree), replacing the >implementation in the EOPL2 support code. These are the complete files, not >patch files. > >The implementation uses the typical hack of creating an object that bundles >all the return values; "call-with-values" knows how to unpack the object. >This makes it possible to run illegal code, e.g., > > (define foo (values 1 2 3)) > >The implementation handles the weirdnesses and edge cases that I know about: > > * "(values X)" returns "X", not a values object > > * "(values)" is supported, and can be passed to continuations that take no >arguments. > > * It is always legal to pass zero values or more than one value to >continuations that ignore their arguments (such as the continuations of >non-tail expressions inside a "lambda" body). > >The printed representation of a "values" object is the representation of all >the child objects, separated by newlines. The REPL adds a newline on the >end, which means that "(values)" displays as a blank line. It may be useful >to tweak the REPL to avoid that as a special case. > >Derek > >-- >Derek Upham >Senior Software Engineer >Ontain >1750 112th Ave NE, Suite C-245 >Bellevue, WA 98004-3727 >Tel: 425-460-1886 >der...@on... > > >------------------------------------------------------- >This sf.net email is sponsored by: OSDN - Tired of that same old >cell phone? Get a new here for FREE! >https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 >_______________________________________________ >Jscheme-devel mailing list >Jsc...@li... >https://lists.sourceforge.net/lists/listinfo/jscheme-devel |
From: Derek U. <Der...@on...> - 2002-09-10 01:17:48
|
The URL http://www.serv.net/~sand/jscheme-values/ contains a directory of files that implement R5RS "values" and "call-with-values" in JScheme (based on the CVS tree), replacing the implementation in the EOPL2 support code. These are the complete files, not patch files. The implementation uses the typical hack of creating an object that bundles all the return values; "call-with-values" knows how to unpack the object. This makes it possible to run illegal code, e.g., (define foo (values 1 2 3)) The implementation handles the weirdnesses and edge cases that I know about: * "(values X)" returns "X", not a values object * "(values)" is supported, and can be passed to continuations that take no arguments. * It is always legal to pass zero values or more than one value to continuations that ignore their arguments (such as the continuations of non-tail expressions inside a "lambda" body). The printed representation of a "values" object is the representation of all the child objects, separated by newlines. The REPL adds a newline on the end, which means that "(values)" displays as a blank line. It may be useful to tweak the REPL to avoid that as a special case. Derek -- Derek Upham Senior Software Engineer Ontain 1750 112th Ave NE, Suite C-245 Bellevue, WA 98004-3727 Tel: 425-460-1886 der...@on... |
From: Timothy H. <tim...@ma...> - 2002-09-06 18:03:21
|
On Friday, September 6, 2002, at 01:17 PM, Ken Anderson wrote: > At 12:27 AM 9/6/2002, david may wrote: >> A wiki would be nice. I'd like Snippets of code and best practices >> for entry level schemers. Like the one you just posted;-) > > Yes, that would be a nice. I've been planning to write a couple of > examples of using Jscheme ... > > >> The first task is to write something parse up the input >> Any pointers some good teaching on that? > > Can you give more of a specification? Do you want to tokenize some > data? There are several nice ways to do that. I've got a demo wiki in Jscheme that is a few years old (It doesn't use the nice {[...]} notation for quasi-strings. I could send you the webapp if you want to play with it, or use it as a base for a really good wiki.... Below is an example of the tokenization code that converts CamelWords and http://web.addresses into wiki-links ... The key procedure is the camel procedure with five parameters (and I just noticed that the fifth is never used....) It returns true if the string starts with a Capital letter and consists entirely of letters and digits, and if it has a lowercase letter followed (eventually) by an uppercase letter. Note the use of the StringTokenizer to isolate the whitespace. > (define (Wiki-translate S) > > (define (isCamel T) > (define (isLetters I N T) > (if (>= I N) #t > (if (not (Character.isLetterOrDigit (.charAt T I))) > #f > (isLetters (+ I 1) N T)))) > (define (camel I N State T Upper) > (if (>= I N) #f > (if (not(Character.isLetterOrDigit (.charAt T I))) #f > (case State > ((lower?) (if (Character.isLowerCase (.charAt T I)) > (camel (+ 1 I) N 'upper? T Upper) > (camel (+ 1 I) N 'lower? T Upper))) > ((upper?) (if (Character.isUpperCase (.charAt T I)) > (isLetters I N T) > (camel (+ 1 I) N 'upper? T Upper))))))) > (define value > (and (Character.isUpperCase (.charAt T 0)) > (camel 0 (.length T) 'lower? T (.toUpperCase T)))) > value) > > (define (process T) > (cond ((isCamel T) > (string-append "<a href=\"wiki.servlet?mode=view&name=" > T > "\" target=_top>" > T > "</a>")) > ((.startsWith T "http://") > (string-append > "<a href=\"" > T > "\"> " > T > "</a>")) > (else T))) > > (define (processtokens Tokenizer buf) > (if (not (.hasMoreElements Tokenizer)) (.toString buf) > (begin (.append buf (process (.nextToken Tokenizer))) > (processtokens Tokenizer buf)))) > (processtokens (java.util.StringTokenizer. S " \t\n\r" #t) > (java.lang.StringBuffer.))) > This is used as follows: > > (Wiki-translate "This is a WikiWiki from http://jscheme.sf.net ... > PrettyCool huh?") > "This is a <a href=\"wiki.servlet?mode=view&name=WikiWiki\" > target=_top>WikiWiki</a> from <a href=\"http://jscheme.sf.net\"> > http://jscheme.sf.net</a> ... <a hre\ > f=\"wiki.servlet?mode=view&name=PrettyCool\" target=_top>PrettyCool</a> > huh?" The wiki.servlet generates a frame containing the full path of the named file and and a frame of action buttons (view,edit, ...) Any file that ends in .wiki is automatically redirected to a corresponding call to wiki.servlet Again if you want to see the full code, I can send it to you. It would be nice to redesign/rewrite the code with good comments.... ---Tim--- > >> davud >> >> >>>>> "Ken" == Ken Anderson <kan...@bb...> writes: >> >> Ken> Hi David, Tim has done a lot of nice web stuff for his >> Ken> course. We played with a wiki about a year ago, and i >> Ken> thought it was great. We should have an ongoing Wiki for >> Ken> Jscheme. Jscheme is great for writing web pages. There is a >> Ken> (<> ...) in elf/html-gen.scm. >> >> Ken> THere is also the {[]} syntax which is generally about as >> Ken> easy to use. >> >> Ken> I've be displaying histograms that grovel over 100,000 items >> Ken> with less than 12 lines of code: >> >> Ken> (define (histogram-table name rows) {<table border=1> <tr><td >> Ken> align=right>Count</td> <td align=left>[name]</td></tr> [(map >> Ken> (lambda (row) { <tr><td align=right>[(car row)]</td> <td >> Ken> align=left>[(cadr row)]</td></tr>}) rows)] </table>}) >> >> Ken> (define (histogram what items) (let ((what (default what >> Ken> 'none))) (sort (map* (project length (unique what)) (group-by >> Ken> what items)) (comparator > car)))) >> >> Ken> k >> >> Ken> At 06:53 PM 9/5/2002, david may wrote: >> >> Not much activity on this list lately .. perhaps I accidentally >> >> unsubscribed?? >> >> >> >> Anyhow I am "on the bench" right now and playing around with >> >> wikis. I was exploring a jsp wiki and as usual my first 10 >> >> minutes with JSP are "hey this is cool" and then it degenerates >> >> into a $@%# mess. Seems to me like jscheme would be a good >> >> choice to do a wiki in.. So I am going to look into it a >> >> little. Anybody else interested in this? >> >> >> >> >> >> >> >> >> >> ------------------------------------------------------- >> >> This sf.net email is sponsored by: OSDN - Tired of that same >> >> old cell phone? Get a new here for FREE! >> >> https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 >> >> _______________________________________________ Jscheme-devel >> >> mailing list Jsc...@li... >> >> https://lists.sourceforge.net/lists/listinfo/jscheme-devel >> >> >> ------------------------------------------------------- >> This sf.net email is sponsored by: OSDN - Tired of that same old >> cell phone? Get a new here for FREE! >> https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 >> _______________________________________________ >> Jscheme-devel mailing list >> Jsc...@li... >> https://lists.sourceforge.net/lists/listinfo/jscheme-devel > > > > ------------------------------------------------------- > This sf.net email is sponsored by: OSDN - Tired of that same old > cell phone? Get a new here for FREE! > https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 > _______________________________________________ > Jscheme-devel mailing list > Jsc...@li... > https://lists.sourceforge.net/lists/listinfo/jscheme-devel > |
From: Ken A. <kan...@bb...> - 2002-09-06 17:18:07
|
At 12:27 AM 9/6/2002, david may wrote: >A wiki would be nice. I'd like Snippets of code and best practices >for entry level schemers. Like the one you just posted;-) Yes, that would be a nice. I've been planning to write a couple of examples of using Jscheme ... >The first task is to write something parse up the input >Any pointers some good teaching on that? Can you give more of a specification? Do you want to tokenize some data? There are several nice ways to do that. >davud > > >>>>> "Ken" == Ken Anderson <kan...@bb...> writes: > > Ken> Hi David, Tim has done a lot of nice web stuff for his > Ken> course. We played with a wiki about a year ago, and i > Ken> thought it was great. We should have an ongoing Wiki for > Ken> Jscheme. Jscheme is great for writing web pages. There is a > Ken> (<> ...) in elf/html-gen.scm. > > Ken> THere is also the {[]} syntax which is generally about as > Ken> easy to use. > > Ken> I've be displaying histograms that grovel over 100,000 items > Ken> with less than 12 lines of code: > > Ken> (define (histogram-table name rows) {<table border=1> <tr><td > Ken> align=right>Count</td> <td align=left>[name]</td></tr> [(map > Ken> (lambda (row) { <tr><td align=right>[(car row)]</td> <td > Ken> align=left>[(cadr row)]</td></tr>}) rows)] </table>}) > > Ken> (define (histogram what items) (let ((what (default what > Ken> 'none))) (sort (map* (project length (unique what)) (group-by > Ken> what items)) (comparator > car)))) > > Ken> k > > Ken> At 06:53 PM 9/5/2002, david may wrote: > >> Not much activity on this list lately .. perhaps I accidentally > >> unsubscribed?? > >> > >> Anyhow I am "on the bench" right now and playing around with > >> wikis. I was exploring a jsp wiki and as usual my first 10 > >> minutes with JSP are "hey this is cool" and then it degenerates > >> into a $@%# mess. Seems to me like jscheme would be a good > >> choice to do a wiki in.. So I am going to look into it a > >> little. Anybody else interested in this? > >> > >> > >> > >> > >> ------------------------------------------------------- > >> This sf.net email is sponsored by: OSDN - Tired of that same > >> old cell phone? Get a new here for FREE! > >> https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 > >> _______________________________________________ Jscheme-devel > >> mailing list Jsc...@li... > >> https://lists.sourceforge.net/lists/listinfo/jscheme-devel > > >------------------------------------------------------- >This sf.net email is sponsored by: OSDN - Tired of that same old >cell phone? Get a new here for FREE! >https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 >_______________________________________________ >Jscheme-devel mailing list >Jsc...@li... >https://lists.sourceforge.net/lists/listinfo/jscheme-devel |
From: <da...@da...> - 2002-09-06 04:27:36
|
A wiki would be nice. I'd like Snippets of code and best practices for entry level schemers. Like the one you just posted;-) The first task is to write something parse up the input Any pointers some good teaching on that? davud >>>>> "Ken" == Ken Anderson <kan...@bb...> writes: Ken> Hi David, Tim has done a lot of nice web stuff for his Ken> course. We played with a wiki about a year ago, and i Ken> thought it was great. We should have an ongoing Wiki for Ken> Jscheme. Jscheme is great for writing web pages. There is a Ken> (<> ...) in elf/html-gen.scm. Ken> THere is also the {[]} syntax which is generally about as Ken> easy to use. Ken> I've be displaying histograms that grovel over 100,000 items Ken> with less than 12 lines of code: Ken> (define (histogram-table name rows) {<table border=1> <tr><td Ken> align=right>Count</td> <td align=left>[name]</td></tr> [(map Ken> (lambda (row) { <tr><td align=right>[(car row)]</td> <td Ken> align=left>[(cadr row)]</td></tr>}) rows)] </table>}) Ken> (define (histogram what items) (let ((what (default what Ken> 'none))) (sort (map* (project length (unique what)) (group-by Ken> what items)) (comparator > car)))) Ken> k Ken> At 06:53 PM 9/5/2002, david may wrote: >> Not much activity on this list lately .. perhaps I accidentally >> unsubscribed?? >> >> Anyhow I am "on the bench" right now and playing around with >> wikis. I was exploring a jsp wiki and as usual my first 10 >> minutes with JSP are "hey this is cool" and then it degenerates >> into a $@%# mess. Seems to me like jscheme would be a good >> choice to do a wiki in.. So I am going to look into it a >> little. Anybody else interested in this? >> >> >> >> >> ------------------------------------------------------- >> This sf.net email is sponsored by: OSDN - Tired of that same >> old cell phone? Get a new here for FREE! >> https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 >> _______________________________________________ Jscheme-devel >> mailing list Jsc...@li... >> https://lists.sourceforge.net/lists/listinfo/jscheme-devel |
From: Ken A. <kan...@bb...> - 2002-09-06 01:35:44
|
Hi David, Tim has done a lot of nice web stuff for his course. We played with a wiki about a year ago, and i thought it was great. We should have an ongoing Wiki for Jscheme. Jscheme is great for writing web pages. There is a (<> ...) in elf/html-gen.scm. THere is also the {[]} syntax which is generally about as easy to use. I've be displaying histograms that grovel over 100,000 items with less than 12 lines of code: (define (histogram-table name rows) {<table border=1> <tr><td align=right>Count</td> <td align=left>[name]</td></tr> [(map (lambda (row) { <tr><td align=right>[(car row)]</td> <td align=left>[(cadr row)]</td></tr>}) rows)] </table>}) (define (histogram what items) (let ((what (default what 'none))) (sort (map* (project length (unique what)) (group-by what items)) (comparator > car)))) k At 06:53 PM 9/5/2002, david may wrote: >Not much activity on this list lately .. perhaps I >accidentally unsubscribed?? > >Anyhow I am "on the bench" right now and playing around >with wikis. I was exploring a jsp wiki and as usual >my first 10 minutes with JSP are "hey this is cool" and then >it degenerates into a $@%# mess. Seems to me like jscheme would >be a good choice to do a wiki in.. So I am going to look >into it a little. Anybody else interested in this? > > > > >------------------------------------------------------- >This sf.net email is sponsored by: OSDN - Tired of that same old >cell phone? Get a new here for FREE! >https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 >_______________________________________________ >Jscheme-devel mailing list >Jsc...@li... >https://lists.sourceforge.net/lists/listinfo/jscheme-devel |
From: <da...@da...> - 2002-09-05 22:53:47
|
Not much activity on this list lately .. perhaps I accidentally unsubscribed?? Anyhow I am "on the bench" right now and playing around with wikis. I was exploring a jsp wiki and as usual my first 10 minutes with JSP are "hey this is cool" and then it degenerates into a $@%# mess. Seems to me like jscheme would be a good choice to do a wiki in.. So I am going to look into it a little. Anybody else interested in this? |
From: Ken A. <kan...@us...> - 2002-08-30 20:08:29
|
Update of /cvsroot/jscheme/jscheme/src/jscheme In directory usw-pr-cvs1:/tmp/cvs-serv7670 Modified Files: SchemeTests.scm Log Message: Fix dangling (display ...) |
From: Ken A. <kan...@us...> - 2002-08-30 19:53:17
|
Update of /cvsroot/jscheme/jscheme/src/jsint In directory usw-pr-cvs1:/tmp/cvs-serv3450/src/jsint Modified Files: Primitive.java Log Message: Fix bug in printing of to-test results. |
From: Ken A. <kan...@us...> - 2002-08-30 19:53:17
|
Update of /cvsroot/jscheme/jscheme/src/elf In directory usw-pr-cvs1:/tmp/cvs-serv3450/src/elf Modified Files: util.scm Log Message: Fix bug in printing of to-test results. |
From: Timothy H. <tim...@ma...> - 2002-08-25 13:11:58
|
Thanks for the 10.2 early adopter reports on Jscheme. I was a little wary of switching to 10.2 (especially after your first warning), but now I'll place my order.... ----Tim--- On Sunday, August 25, 2002, at 08:01 AM, Geoffrey Knauth wrote: > I reinstalled OS X 10.2 and this problem went away. All Java apps > work fine again. --Geoffrey > > On Saturday, August 24, 2002, at 11:40 AM, Geoffrey S.Knauth wrote: > >> I don't know if anyone else has seen this. I'm running JScheme on >> Mac OS X 10.2 (Jaguar). I also have Fink installed (from before my >> Jaguar upgrade). --Geoffrey >> >> >> [gknauth@merlin 2002]$ printenv JSCM >> /Users/gknauth/test/JScheme/jscheme/lib/jscheme.jar >> gknauth@merlin 2002]$ java -cp $JSCM jscheme.REPL >> >> >> Jscheme 5.0 (04/05/2002) >> >> >> > (load "books.scm") >> #t >> > (load-ledger-file "ledger") >> () >> > accounts >> dyld: java multiple definitions of symbol _copysign >> /usr/lib/libSystem.B.dylib(copysign.o) definition of _copysign >> /System/Library/Frameworks/JavaVM.framework/Versions/1.3.1/Libraries/ >> libjava.jnilib(libfdlibm.a) definition of _copysign >> Trace/BPT trap >> [gknauth@merlin 2002]$ uname -a >> Darwin merlin.local. 6.0 Darwin Kernel Version 6.0: Sat Jul 27 >> 13:18:52 PDT 2002; root:xnu/xnu-344.obj~1/RELEASE_PPC Power >> Macintosh powerpc >> [gknauth@merlin 2002]$ >> >> -- >> Geoffrey S. Knauth http://knauth.org/gsk >> >> >> >> ------------------------------------------------------- >> This sf.net email is sponsored by: OSDN - Tired of that same old >> cell phone? Get a new here for FREE! >> https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 >> _______________________________________________ >> Jscheme-devel mailing list >> Jsc...@li... >> https://lists.sourceforge.net/lists/listinfo/jscheme-devel >> > > > > ------------------------------------------------------- > This sf.net email is sponsored by: OSDN - Tired of that same old > cell phone? Get a new here for FREE! > https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 > _______________________________________________ > Jscheme-devel mailing list > Jsc...@li... > https://lists.sourceforge.net/lists/listinfo/jscheme-devel > |
From: Geoffrey K. <ge...@kn...> - 2002-08-25 12:01:59
|
I reinstalled OS X 10.2 and this problem went away. All Java apps work fine again. --Geoffrey On Saturday, August 24, 2002, at 11:40 AM, Geoffrey S.Knauth wrote: > I don't know if anyone else has seen this. I'm running JScheme on Mac > OS X 10.2 (Jaguar). I also have Fink installed (from before my Jaguar > upgrade). --Geoffrey > > > [gknauth@merlin 2002]$ printenv JSCM > /Users/gknauth/test/JScheme/jscheme/lib/jscheme.jar > gknauth@merlin 2002]$ java -cp $JSCM jscheme.REPL > > > Jscheme 5.0 (04/05/2002) > > > > (load "books.scm") > #t > > (load-ledger-file "ledger") > () > > accounts > dyld: java multiple definitions of symbol _copysign > /usr/lib/libSystem.B.dylib(copysign.o) definition of _copysign > /System/Library/Frameworks/JavaVM.framework/Versions/1.3.1/Libraries/ > libjava.jnilib(libfdlibm.a) definition of _copysign > Trace/BPT trap > [gknauth@merlin 2002]$ uname -a > Darwin merlin.local. 6.0 Darwin Kernel Version 6.0: Sat Jul 27 > 13:18:52 PDT 2002; root:xnu/xnu-344.obj~1/RELEASE_PPC Power Macintosh > powerpc > [gknauth@merlin 2002]$ > > -- > Geoffrey S. Knauth http://knauth.org/gsk > > > > ------------------------------------------------------- > This sf.net email is sponsored by: OSDN - Tired of that same old > cell phone? Get a new here for FREE! > https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 > _______________________________________________ > Jscheme-devel mailing list > Jsc...@li... > https://lists.sourceforge.net/lists/listinfo/jscheme-devel > |
From: Geoffrey S.K. <ge...@kn...> - 2002-08-24 16:10:04
|
The problem I reported earlier, the problem since my Mac OS X Jaguar upgrade: dyld: java multiple definitions of symbol _copysign /usr/lib/libSystem.B.dylib(copysign.o) definition of _copysign /System/Library/Frameworks/JavaVM.framework/Versions/1.3.1/Libraries/ libjava.jnilib(libfdlibm.a) definition of _copysign Trace/BPT trap is not a JScheme issue. Something similar happened to me when I tried another Java app: [gknauth@merlin openmap-4.5.3]$ bin/openmap dyld: /Library/Java/Home/bin/java multiple definitions of symbol _JNI_OnLoad /System/Library/Frameworks/JavaVM.framework/Versions/1.3.1/Libraries/ libjava.jnilib(java.o) definition of _JNI_OnLoad /System/Library/Frameworks/JavaVM.framework/Versions/1.3.1/Libraries/ libnet.jnilib(net.o) definition of _JNI_OnLoad bin/openmap: line 122: 707 Trace/BPT trap $JAVACMD -Xmx256m -classpath "$LOCALCLASSPATH" -Dopenmap.configDir=$OPENMAP_HOME/share $JAVA_ARGS com.bbn.openmap.app.OpenMap $OPENMAP_ARGS Geoffrey -- Geoffrey S. Knauth http://knauth.org/gsk |
From: Geoffrey S.K. <ge...@kn...> - 2002-08-24 15:40:17
|
I don't know if anyone else has seen this. I'm running JScheme on Mac OS X 10.2 (Jaguar). I also have Fink installed (from before my Jaguar upgrade). --Geoffrey [gknauth@merlin 2002]$ printenv JSCM /Users/gknauth/test/JScheme/jscheme/lib/jscheme.jar gknauth@merlin 2002]$ java -cp $JSCM jscheme.REPL Jscheme 5.0 (04/05/2002) > (load "books.scm") #t > (load-ledger-file "ledger") () > accounts dyld: java multiple definitions of symbol _copysign /usr/lib/libSystem.B.dylib(copysign.o) definition of _copysign /System/Library/Frameworks/JavaVM.framework/Versions/1.3.1/Libraries/ libjava.jnilib(libfdlibm.a) definition of _copysign Trace/BPT trap [gknauth@merlin 2002]$ uname -a Darwin merlin.local. 6.0 Darwin Kernel Version 6.0: Sat Jul 27 13:18:52 PDT 2002; root:xnu/xnu-344.obj~1/RELEASE_PPC Power Macintosh powerpc [gknauth@merlin 2002]$ -- Geoffrey S. Knauth http://knauth.org/gsk |