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: Timothy J H. <tjh...@br...> - 2005-03-17 13:14:51
|
Hi Robert, On Mar 10, 2005, at 12:58 PM, Robert MacIntyre wrote: ---snip--- > I'm after a slightly different target. I have lots of ways to adjust > the output of a program I write, but I want to fix the top-level > interactive interpreter itself. Coming from a background of using > Allegro CL, I want the scheme interpreter to be more convenient for > interactive development. In Allegro, if I type something that returns > a 10000-element list, it (by default) prints the first 10 elements > plus ellipsis, rather than crashing emacs. And if an error occurs, I > get a short message and some options, rather than a stack dump. I > realize jscheme can't do all this right away, but it can do better. > > The tricky part is fixing it without breaking other things, since it > looks like the read-eval-print loop is used for lots of things other > than direct user interaction. True ... > I can think of a few approaches: (1) > break the non-interactive case (bad, but all I have so far), (2) write > my own REPL in scheme and invoke it at startup, (3) write a similar > function in java, or (4) add conditionals to the main one to somehow > distiguish between interactive and non-interactive use. I prefer #4 > for the sake of other future jscheme users, but it's probably the > hardest to get right. Perhaps it would be safer to start with some > variation of #3? I think 4 is a reasonable approach. The easiest thing to do as a first step is to create a public static int variable to that gives the global print depth (zero for infinite depth? zero by default?) The REPL could set it to a reasonable value for interactive sessions. We could specify an interactive session on the command line: % java -cp jscheme.jar jscheme.REPL -interactive One could also change the depth at runtime: > (set! jsint.Scheme.printDepth$ 10) We could also add a global variable for controlling the type of debugging output generated displayed when an exception is thrown ... How does that sound??? ---Tim--- |
From: Noel W. <noe...@ya...> - 2005-03-17 12:19:08
|
Scheme UK Meeting: 6 April 2005 The next meeting of the Scheme UK user's group will be held on 6 April 2005 from 7pm till we leave for the pub. The meeting will take place at the offices of LShift (see http://www.lshift.net/contact.html for directions). This meeting will be held in conjuction with UK Lispers. Jon Harrop: Functional Languages for Scientific Computing Flying Frog Consultancy (http://www.ffconsultancy.com) are a Cambridge UK based consultancy specialising in scientific software. Work to date includes real-time 3-D visualisation, development of a JIT compiler for Mathematica, and vector graphics. Flying Frog Consultancy does a large portion of their work in the functional language O'Caml. They have just published a book entitled Objective CAML for Scientists Jon Harrop from Flying Frog will present some of their work, and discuss the applicability and advantages of functional languages. Copies of Objective CAML for Scientists will be available at a discounted price. ========================================================= Scheme UK is a UK based group of people interested in the Scheme programming language in particular, and advanced programming languages in general. We are interested in both practical and theoretic aspects. We meet on the first Wednesday of each month. Newcomers are welcome. For more details see: http://schematics.sourceforge.net/scheme-uk/ Email: noelwelsh <at> yahoo <dot> com AIM: noelhwelsh __________________________________ Do you Yahoo!? Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/ |
From: Michael S. <sp...@in...> - 2005-03-11 13:43:50
|
---------------------------------------------------------------------- CALL FOR PAPERS ACM SIGPLAN 2005 Workshop on Scheme and Functional Programming http://www.deinprogramm.de/scheme-2005/ Tallinn, Estonia 24 September 2005 The workshop will be held in conjunction with ICFP 2005. http://www.brics.dk/~danvy/icfp05/ ---------------------------------------------------------------------- Important dates Submission Deadline: June 13, 2005, 0:00 UTC Author notfication: July 29, 2005 Final paper due: August 22, 2005, 0:00 UTC ---------------------------------------------------------------------- Purpose The 2005 Scheme Workshop provides a forum for discussing experience with and future development of the Scheme programming language. The scope of the workshop includes all aspects of the design, implementation, theory, and application of Scheme. Past workshops have been held in Snowbird (2004), Boston (2003), Pittsburgh (2002), Florence (2001), and Montr=E9al (2000). We encourage everyone interested in Scheme to participate. ---------------------------------------------------------------------- Scope We invite submissions in the following categories: Technical papers Papers on all technical aspects of the Scheme programming language,=20 including language design, implementation, theory, and tools. Practice and experience Papers about using Scheme for practical applications and large systems. Proposals for language changes, extensions and libraries Papers containing proposals for changes in the language, language extensions, and libraries, including SRFIs past, present and future. Where applicable, the content of such a paper should be submitted as a SRFI draft, if that isn't already the case. Scheme pearls Papers about elegant, instructive or surprising Scheme programs. Education Papers about uses of Scheme in all aspects of education. System demonstrations Proposals for demonstrations of Scheme systems or applications written in Scheme. ---------------------------------------------------------------------- Submission guidelines Authors should submit - a 100-200 word abstract - some indication on the desired length of the presentation at the worksh= op - a full paper electronically to Mike Sperber <sperber at deinprogramm.de>, or via some other means to the organizers by the beginning of Monday, June 13, Universal Coordinated Time. (The beginning of the day UTC corresponds to 8:00 PM EDT on Sunday, June 12, 6:00 PM MDT, and 5:00 PM PDT.) Papers must be submitted in either PDF format or as PostScript documents that are interpretable by Ghostscript. Papers must be printable on US Letter sized paper. Submissions should be typeset in 10 point font on 12 point baseline in two columns 20pc (3.33in) wide and 54pc (9in) tall with a column gutter of 2pc (0.33in). Submissions should be no more than 15 pages including text, figures, and bibliography. Authors wishing to supply additional material to the reviewers beyond the 15 page limit may do so in clearly marked appendices, on the understanding that reviewers are not required to read the appendices. Authors using LaTeX should use the new SIGPLAN LaTeX class file, available from the Scheme 2005 workshop site. Submitted papers must have content that has not previously been published in other conferences or refereed venues. Simultaneous submission to other conferences or refereed venues is unacceptable. -------------------------------------------------------------------------= ------ Organizers Program committee J. Michael Ashley (co-chair) (Beckman Coulter, Inc.) Martin Gasbichler (University of T=FCbingen) Jonathan Rees (Millennium Pharmaceuticals) Dorai Sitaram (Verizon) Jonathan Sobel (Indiana University) Michael Sperber (co-chair) (DeinProgramm) =20 |
From: Geoffrey K. <ge...@kn...> - 2005-02-27 13:11:37
|
I confirm the following works on Mac OS X 10.3.8 and Fedora Core 2: $ bin/make.sh $ java -cp lib/jscheme.jar jscheme.REPL Geoffrey -- Geoffrey S. Knauth | http://knauth.org/gsk On Feb 26, 2005, at 19:35, Timothy J Hickey wrote (to Joseph Toman): > It would be great if you (and others) could check out the latest > version of JScheme > from CVS and see if it builds correctly on your platform. > > > bin/make.sh > > will build the system and > > > jscheme -cp lib/jscheme.jar jscheme.REPL > > will run the system. |
From: Timothy J H. <tjh...@br...> - 2005-02-27 00:35:07
|
Hi Joseph, I've created a make script for linux/macOSX systems in jscheme/bin/make.sh and fixed a bug in the jscheme/src/build/make.scm file which prevented it from working correctly on linux/macOSX systems. The change has now propogated into the anonymous CVS (it takes about a day). It would be great if you (and others) could check out the latest version of JScheme from CVS and see if it builds correctly on your platform. > bin/make.sh will build the system and > jscheme -cp lib/jscheme.jar jscheme.REPL will run the system. I've tested it with jdk1.5 on a SUSE linux and it works well. Ken had fixed the (.append sb "abc") problem a few months ago, but we haven't made a release since the fix. If this current version builds everywhere, then I'll make another release (JScheme 7.2). Best, ---Tim--- > On Feb 25, 2005, at 11:47 AM, Joseph Toman wrote: > >> Tim, >> >> So between Object and StringBuffer in the inheritance hierarchy >> there's a private class? That seems wrong somehow. I mean, wrong that >> the javadoc doesn't indicate that. >> Yes, once I write a build.xml I'll send it your way. Is there anything >> non-obvious in the make.scm system that I should notice? Any critical >> definitions, e.g. version numbers, that aren't in the code proper? >> I should be asking this on the dev list, shouldn't I? >> >> J. Toman > |
From: Timothy J. H. <tim...@ma...> - 2005-02-23 23:02:50
|
On Feb 23, 2005, at 2:30 PM, Joseph Toman wrote: > Timothy J Hickey wrote: >> Hi Joseph, >> I'm away from work for a week (with a Mac but no Linux, and hence >> no jdk1.5...) >> I'll look into it when I return, but I think the problem is in the >> implementation of >> quasistrings. Tatu Tarvainen diagnosed the problem in an >> jscheme-devel email >> last October 22 (2004): >>> Some Java-calls don't seem to work under JDK 1.5.0. >>> Using quasi-strings fails, because the StringBuffer append method >>> fails. >>> >>> This happens with the latest jscheme jar and the CVS version. >>> I think the reflective access to the append method fails because in >>> Java >>> 5 the java.lang.StringBuffer class inherits from a new >>> java.lang.AbstractStringBuilder class which is not public and also >>> provides the append method. > > ??? Not as far as I can see, looking at the 1.5 JDK javadoc. The only > change I see is the addition of a StringBuilder class which is a drop > in replacement for StringBuffer, and which they recommend using if the > original StringBuffer is only used in a single thread. You wouldn't see the private class in the javadoc. If you can get jscheme to work (without elf), you can find the private class using ... (define sb (StringBuffer.)) (.getClass sb) and it should return java.lang.AbstactStringBuilder If this throws an exception, you might need to use the # to indicate javadot that accesses private methods ... (.getClass# sb) Does this return the AbstractStringBuilder class? (I'll check it myself when I return from vacation on Monday....) > >>> >> Since I work mainly on the Mac I haven't been using jdk1.5. I'll >> install it on my >> Linux box when I return and see how it works. The fix is probably to >> modify >> the code implementing quasistrings by replacing all (.append sb ...) >> calls with >> (.StringBuffer.append sb ....) > > Is there a difference between .StringBuffer.append and .append ? Yes, (.StringBuffer.append sb "abc") looks up the append instance method of the StringBuffer class which has one String argument. It then applies it to the sb object with the string argument "abc" (.append sb "abc") calls a reflection method to get the class of the sb object and then uses that class to find an append instance method with one string argument. It may have to pass to the ancestor classes to find the appropriate method. The main difference is that the javadot which includes the classname (.StringBuffer.append sb "abc") does not have to dynamically find the class of the sb object. It could be that sb is a private class which extends the StringBuffer class. This notation is especially useful when writing applets where there are many restrictions on reflection. Note that you can also include the full classname (.java.lang.StringBuffer.append sb "abc") The initial dot indicates that it is an instance method. > > >> On Feb 22, 2005, at 6:20 PM, Joseph Toman wrote: >>> A) These are in reverse order, but the transcript below is so long I >>> thought this might get lost. After B) I tried getting the current >>> codebase from CVS and building it. I'm sure this marks me as not >>> being a true-believer, but wouldn't a Makefile or a build.xml be >>> perhaps less exciting, but ultimately more useful ? Suffice to say I >>> couldn't get it >>> to build, though I got very close once I abandoned the default >>> method and built an Eclipse project for it. build.CompilingLoadlet >>> uses internal sun.* classes which apparently didn't make it to JDK >>> 1.5, >> Ahhh. I'll have to look into this also. >> The pure JScheme approach is nice because it works on all platforms >> (except of course when a new version of Java requires >> breaks it temporarily....) and you don't need to download any >> additional tools (cygwin, ant, ...) >> I'll track down those sun.* dependencies. > > > Well, once you've installed a JDK, javax.servlet.jar and bsf.jar, one > little ant.jar isn't that much. I think I'll write a build.xml and > post it somewhere once I'm done with my current project. That would be great. If you'ld care to denote it to the JScheme project, we can include it in the CVS codebase. > For production > systems it's useful to have a vanilla build that integrates with other > environments and ant is fairly ubiquitous. I agree. For those that are using Ant regularly, it would be nice to have an ant-friendly build file.... Best wishes, ---Tim Hickey--- > > > Thanks, > J. Toman > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real > users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Jscheme-user mailing list > Jsc...@li... > https://lists.sourceforge.net/lists/listinfo/jscheme-user |
From: Joseph T. <jj...@ed...> - 2005-02-23 19:29:35
|
Timothy J Hickey wrote: > Hi Joseph, > I'm away from work for a week (with a Mac but no Linux, and hence no > jdk1.5...) > I'll look into it when I return, but I think the problem is in the > implementation of > quasistrings. Tatu Tarvainen diagnosed the problem in an jscheme-devel > email > last October 22 (2004): > >> Some Java-calls don't seem to work under JDK 1.5.0. >> Using quasi-strings fails, because the StringBuffer append method fails. >> >> This happens with the latest jscheme jar and the CVS version. >> I think the reflective access to the append method fails because in Java >> 5 the java.lang.StringBuffer class inherits from a new >> java.lang.AbstractStringBuilder class which is not public and also >> provides the append method. ??? Not as far as I can see, looking at the 1.5 JDK javadoc. The only change I see is the addition of a StringBuilder class which is a drop in replacement for StringBuffer, and which they recommend using if the original StringBuffer is only used in a single thread. >> > > Since I work mainly on the Mac I haven't been using jdk1.5. I'll install > it on my > Linux box when I return and see how it works. The fix is probably to modify > the code implementing quasistrings by replacing all (.append sb ...) > calls with > (.StringBuffer.append sb ....) Is there a difference between .StringBuffer.append and .append ? > On Feb 22, 2005, at 6:20 PM, Joseph Toman wrote: >> A) These are in reverse order, but the transcript below is so long I >> thought this might get lost. After B) I tried getting the current >> codebase from CVS and building it. I'm sure this marks me as not being >> a true-believer, but wouldn't a Makefile or a build.xml be perhaps >> less exciting, but ultimately more useful ? Suffice to say I couldn't >> get it >> to build, though I got very close once I abandoned the default method >> and built an Eclipse project for it. build.CompilingLoadlet uses >> internal sun.* classes which apparently didn't make it to JDK 1.5, > > Ahhh. I'll have to look into this also. > The pure JScheme approach is nice because it works on all platforms > (except of course when a new version of Java requires > breaks it temporarily....) and you don't need to download any additional > tools (cygwin, ant, ...) > I'll track down those sun.* dependencies. Well, once you've installed a JDK, javax.servlet.jar and bsf.jar, one little ant.jar isn't that much. I think I'll write a build.xml and post it somewhere once I'm done with my current project. For production systems it's useful to have a vanilla build that integrates with other environments and ant is fairly ubiquitous. Thanks, J. Toman |
From: Timothy J H. <tjh...@br...> - 2005-02-23 01:12:12
|
Hi Joseph, I'm away from work for a week (with a Mac but no Linux, and hence no jdk1.5...) I'll look into it when I return, but I think the problem is in the implementation of quasistrings. Tatu Tarvainen diagnosed the problem in an jscheme-devel email last October 22 (2004): > Some Java-calls don't seem to work under JDK 1.5.0. > Using quasi-strings fails, because the StringBuffer append method > fails. > > This happens with the latest jscheme jar and the CVS version. > I think the reflective access to the append method fails because in > Java > 5 the java.lang.StringBuffer class inherits from a new > java.lang.AbstractStringBuilder class which is not public and also > provides the append method. > Since I work mainly on the Mac I haven't been using jdk1.5. I'll install it on my Linux box when I return and see how it works. The fix is probably to modify the code implementing quasistrings by replacing all (.append sb ...) calls with (.StringBuffer.append sb ....) In jscheme/src/jsint/primproc.scm modify the following procedure (define (!{} . args) ;; KRA 21JUN04: This is like (apply string-append (flaten args)). (let loop ((args args) (sb (StringBuffer.))) (cond ((null? args) (.toString sb)) ((pair? (car args)) (loop (cons (car (car args)) (cons (cdr (car args)) (cdr args))) sb)) ((null? (car args)) (loop (cdr args) sb)) (else (.append sb (U.stringify (car args) #f)) (loop (cdr args) sb))))) by replacing the .append with .StringBuffer.append That's my best guess for fixing the problem.... I'll try it when I return on Monday, but you could try it earlier if you want. On Feb 22, 2005, at 6:20 PM, Joseph Toman wrote: > > > > > A) These are in reverse order, but the transcript below is so long I > thought this might get lost. After B) I tried getting the current > codebase from CVS and building it. I'm sure this marks me as not being > a true-believer, but wouldn't a Makefile or a build.xml be perhaps > less exciting, but ultimately more useful ? Suffice to say I couldn't > get it > to build, though I got very close once I abandoned the default method > and built an Eclipse project for it. build.CompilingLoadlet uses > internal sun.* classes which apparently didn't make it to JDK 1.5, Ahhh. I'll have to look into this also. The pure JScheme approach is nice because it works on all platforms (except of course when a new version of Java requires breaks it temporarily....) and you don't need to download any additional tools (cygwin, ant, ...) I'll track down those sun.* dependencies. Thanks for the bug report and diagnosis! Best, ---Tim--- > which is of course why you're not supposed to use them. There are also > a lot of static method calls being made as if they weren't static, > which is odd. > > B) When I try to load many of the files in the elf directory, > I get the typical result below. Ideas? > > JScheme 7.1 (8/5/04 12:39 PM) http://jscheme.sourceforge.net > >(load "elf/basic.scm") > ** WARNING: Error during load (lineno 23): jsint.BacktraceException[ > > (.append sb (U.stringify (car args )#f )) > args = ("\nExample of using import and define-method. \n(describe > x) uses JDK 1.2 AccessibleObject to desc... > sb = > loop = (lambda !{}~1 (args sb)...) > args= = ("\nExample of using import and define-method. \n(describe > x) uses JDK 1.2 AccessibleObject to desc... > sb= = > args = ("\nExample of using import and define-method. \n(describe > x) uses JDK 1.2 AccessibleObject to desc... > > ---snip--- |
From: Joseph T. <jj...@ed...> - 2005-02-22 23:19:39
|
A) These are in reverse order, but the transcript below is so long I thought this might get lost. After B) I tried getting the current codebase from CVS and building it. I'm sure this marks me as not being a true-believer, but wouldn't a Makefile or a build.xml be perhaps less exciting, but ultimately more useful ? Suffice to say I couldn't get it to build, though I got very close once I abandoned the default method and built an Eclipse project for it. build.CompilingLoadlet uses internal sun.* classes which apparently didn't make it to JDK 1.5, which is of course why you're not supposed to use them. There are also a lot of static method calls being made as if they weren't static, which is odd. B) When I try to load many of the files in the elf directory, I get the typical result below. Ideas? JScheme 7.1 (8/5/04 12:39 PM) http://jscheme.sourceforge.net >(load "elf/basic.scm") ** WARNING: Error during load (lineno 23): jsint.BacktraceException[ (.append sb (U.stringify (car args )#f )) args = ("\nExample of using import and define-method. \n(describe x) uses JDK 1.2 AccessibleObject to desc... sb = loop = (lambda !{}~1 (args sb)...) args= = ("\nExample of using import and define-method. \n(describe x) uses JDK 1.2 AccessibleObject to desc... sb= = args = ("\nExample of using import and define-method. \n(describe x) uses JDK 1.2 AccessibleObject to desc... ==================================== SchemeException: Bad method application from a private class: , "(java.lang.IllegalAccessException: Class jsint.Invoke can not access a member of class java.lang.AbstractStringBuilder with modifiers \"public\" public java.lang.AbstractStringBuilder java.lang.AbstractStringBuilder.append(java.lang.String) #(\nExample of using import and define-method. \n(describe x) uses JDK 1.2 AccessibleObject to describe private\nfields of object x. \n\nExample:\n> (describe '(1 2 3))\nan insta... (.append sb (U.stringify (car args )#f )) args = ("\nExample of using import and define-method. \n(describe x) uses JDK 1.2 AccessibleObject to desc... sb = loop = (lambda !{}~1 (args sb)...) args= = ("\nExample of using import and define-method. \n(describe x) uses JDK 1.2 AccessibleObject to desc... sb= = args = ("\nExample of using import and define-method. \n(describe x) uses JDK 1.2 AccessibleObject to desc... ==================================== SchemeException: Bad method application from a private class: , "(java.lang.IllegalAccessException: Class jsint.Invoke can not access a member of class java.lang.AbstractStringBuilder with modifiers \"public\" public java.lang.AbstractStringBuilder java.lang.AbstractStringBuilder.append(java.lang.String) #(\nExample of using import and define-method. \n(describe x) uses JDK 1.2 AccessibleObject to describe private\nfields of object x. \n\nExample:\n> (describe '(1 2 3))\nan instance of jsint.Pair\n first: 1\n rest: (2 3)\n()\n\n(describe) calls the generic function (describe-object) which returns\na string.\n\nDescribing a class will show it constructors, fields, and methods.\nDescribing a procedure or generic function will display its definition.\n\n(whoCalls symbol) returns a list of the names of the procedures\nthat call the procedure named symbol.\nExample:\n> (whoCalls 'short-toString)\n(describe-object)\n))" ** WARNING: Error during load (lineno 46): jsint.BacktraceException[ (.append sb (U.stringify (car args )#f )) args = ("\n\nThese utilities let you play with data in a somewhat relational way.\nHere's a translation fro... sb = loop = (lambda !{}~1 (args sb)...) args= = ("\n\nThese utilities let you play with data in a somewhat relational way.\nHere's a translation fro... sb= = args = ("\n\nThese utilities let you play with data in a somewhat relational way.\nHere's a translation fro... ==================================== SchemeException: Bad method application from a private class: , "(java.lang.IllegalAccessException: Class jsint.Invoke can not access a member of class java.lang.AbstractStringBuilder with modifiers \"public\" public java.lang.AbstractStringBuilder java.lang.AbstractStringBuilder.append(java.lang.String) #(\n\nThese utilities let you play with data in a somewhat relational way.\nHere's a translation from scheme to the SQL equivalent.\n\nAssume data is a table (in SQL) or a collecti... (.append sb (U.stringify (car args )#f )) args = ("\n\nThese utilities let you play with data in a somewhat relational way.\nHere's a translation fro... sb = loop = (lambda !{}~1 (args sb)...) args= = ("\n\nThese utilities let you play with data in a somewhat relational way.\nHere's a translation fro... sb= = args = ("\n\nThese utilities let you play with data in a somewhat relational way.\nHere's a translation fro... ==================================== SchemeException: Bad method application from a private class: , "(java.lang.IllegalAccessException: Class jsint.Invoke can not access a member of class java.lang.AbstractStringBuilder with modifiers \"public\" public java.lang.AbstractStringBuilder java.lang.AbstractStringBuilder.append(java.lang.String) #(\n\nThese utilities let you play with data in a somewhat relational way.\nHere's a translation from scheme to the SQL equivalent.\n\nAssume data is a table (in SQL) or a collection in JScheme.\n\n(filter p data) select * from data where p\n\n(map* (project x y z) data) select x, y, z from data\n\n(sort data (comparator < x)) select * from data order by x\n\n(map* (project (unique car) (count cadr))\n (group-by (project x y) data)\n select unique(x), count(y) from data\n\t\t\t group by x, y\n\nGroup-by example - print the names of methods that are defined in both\nJButton and JFrame classes:\n\n (for-each\n print\n (map (unique .getName)\n\t(filter (lambda (x) (> (length x) 1))\n\t\... ** WARNING: Error during load (lineno 167): jsint.BacktraceException[ (.append sb (U.stringify (car args )#f )) args = ("\nThis is a very nice merge sort from Dybvig's The Scheme language\nsecond edition: http://www.sch... sb = loop = (lambda !{}~1 (args sb)...) args= = ("\nThis is a very nice merge sort from Dybvig's The Scheme language\nsecond edition: http://www.sch... sb= = args = ("\nThis is a very nice merge sort from Dybvig's The Scheme language\nsecond edition: http://www.sch... ==================================== SchemeException: Bad method application from a private class: , "(java.lang.IllegalAccessException: Class jsint.Invoke can not access a member of class java.lang.AbstractStringBuilder with modifiers \"public\" public java.lang.AbstractStringBuilder java.lang.AbstractStringBuilder.append(java.lang.String) #(\nThis is a very nice merge sort from Dybvig's The Scheme language\nsecond edition: http://www.scheme.com/tspl2d/examples.html#g2335\nThe input list is copied once.\n\nThe merge ... (.append sb (U.stringify (car args )#f )) args = ("\nThis is a very nice merge sort from Dybvig's The Scheme language\nsecond edition: http://www.sch... sb = loop = (lambda !{}~1 (args sb)...) args= = ("\nThis is a very nice merge sort from Dybvig's The Scheme language\nsecond edition: http://www.sch... sb= = args = ("\nThis is a very nice merge sort from Dybvig's The Scheme language\nsecond edition: http://www.sch... ==================================== SchemeException: Bad method application from a private class: , "(java.lang.IllegalAccessException: Class jsint.Invoke can not access a member of class java.lang.AbstractStringBuilder with modifiers \"public\" public java.lang.AbstractStringBuilder java.lang.AbstractStringBuilder.append(java.lang.String) #(\nThis is a very nice merge sort from Dybvig's The Scheme language\nsecond edition: http://www.scheme.com/tspl2d/examples.html#g2335\nThe input list is copied once.\n\nThe merge sorting algorithm works quite simply. The input list is\nsplit into two approximately equal sublists. These sublists are sorted\nrecursively, yielding two sorted lists. The sorted lists are then\nmerged to form a single sorted list. The base cases for the recursion\nare lists of one and two elements, which can be sorted trivially.\n))" #t > J. Toman |
From: Geoffrey K. <ge...@kn...> - 2005-02-18 03:10:48
|
2 questions. Can JScheme servlets be used with tag libraries? Can Tomcat be used instead of Jetty? I have no problem with Jetty, but integration with Tomcat would help JScheme acceptance among my peers. Geoffrey -- Geoffrey S. Knauth | http://knauth.org/gsk |
From: Timothy J. H. <ti...@cs...> - 2005-02-14 21:55:50
|
On Feb 14, 2005, at 2:40 PM, Allegrini Christophe Bird Technology wrote: > =A0 > Timothy and JScheme users, > =A0 > Hello, > =A0 > Follow my previous email, I am ready to spend time to contribute to=20 > the evolution of JScheme. Great... > I think this project must live and evolve. JScheme will definitely continue. I will soon be adding one of my graduate students as another Developer and we'll work on writing up a description of the JScheme internals to=20= make it easier for people to understand the source code. > I have two little questions : > =A0=A0=A0 Does there exist a roadmap for JScheme? The current game plan for JScheme is * fix bugs as they arise * improve performance where possible (e.g. we are working on an=20 optimizing Scheme->Java compiler) * extend javadot so that it runs nicely under Java 1.5 on all = platforms * remain backward compatible * make it easier for people to use JScheme - more documentation - more sample code I would like JScheme to remain relatively small. One of the nice things=20= about Scheme is that it is a concise language. JScheme adheres to the philosophy of "small and=20= simple is good" by adding relatively few features (javadot, Threads, Exceptions, modules). I would be very interested in hearing what other JScheme users would=20 like to see in future versions of the language. We could be "BOLD" and create radically new versions of JScheme that=20 would not be backward compatible, but this would require us to maintain bug fixes on multiple branches of=20= the development tree. I'm not completely opposed to that, but I would prefer to keep JScheme simple=20 and just polish it so that it is a very nice, clean, powerful tool. > =A0=A0=A0 Are there documents describing internal architecture? Not yet, but this is part of the "more documentation" part of the game=20= plan. Cheers, ---Tim--- > =A0 > Best Regards, > =A0 > Christophe Allegrini > =A0 > www.birdtechnology.net |
From: Allegrini C. B. T. <chr...@bi...> - 2005-02-14 19:41:19
|
=20 Timothy and JScheme users, Hello, Follow my previous email, I am ready to spend time to contribute to the = evolution of JScheme. I think this project must live and evolve. I have two little questions :=20 Does there exist a roadmap for JScheme?=20 Are there documents describing internal architecture? Best Regards, Christophe Allegrini www.birdtechnology.net |
From: Timothy J H. <tjh...@br...> - 2005-02-11 02:52:37
|
Hi Joseph, On Feb 10, 2005, at 4:34 PM, Joseph Toman wrote: > Hi, > > I don't know if this is a JScheme question or just a scheme question, > but I was wondering why (if (apply and '(#t #f)) #t #f) returns #t ? Its partly a Scheme question and partly JScheme. We have implemented "and" as a macro and hence it cannot appear as an argument to apply (as it is primarily syntax not a real operator). When you evaluate (apply and '(#t #f)) it expands the macro and returns an expression indeed > (apply and '(A B)) (if A (and B) #f) > It probably should throw an error as that would make your example less confusing... Anyway, when you evaluate (if (apply and '(#t #f)) #t #f) the condition in the evaluates to a non-false quantity which is treated by Scheme as true and hence it returns #t. > > Why doesn't the command line interpreter recognize many of the special > forms as being bound ? The special forms are part of the syntax of Scheme expressions but they are not bound to procedures. > > This is more of a "just curious how other people do it" sort of > question: > How do people use JScheme? I'd like to know the answer to this one too! I can tell you how I use it and I'd like to hear about others approaches to the language. > Is it Scheme with a nice set of libraries? I use it to teach Scheme to beginners (but it doesn't have full call/cc so its not good for teaching the full Scheme language). > A looser java-ish scripting language? This is how I use it. I've used it to build Scheme servlets for writing dynamic websites (e.g. http://www.4collegewomen.org is all written in JScheme) and I use it to teach non-science students how to webprogram (e.g. http://popper.cs-i.brandeis.edu:8080/cs2a04 links to a Intro to Computers course based in Scheme also http://popper.cs-i.brandeis.edu:8080/classes/spr05/cs33b/blog2/ source.html points to a blogsite written in Scheme for another non-science major class on Internet and Society) I've used it in to build groupware in an NSF sponsored project (http://www.cs.brandeis.edu/~tim/GMCP where we've build a collaborative editor that allows many people to simultaneously edit a single document with no locks .... I use the GrewpEdit tool (written in JScheme) almost every day in another Intro class I'm teaching http://popper.cs-i.brandeis.edu:8080/classes/spr05/typcs ) Two summers ago I used it to teach a course in 3D graphics in which we used the gl4j OpenGL bindings to write OpenGL programs. Most recently, I've been using it for some exploratory Neuroscience research where we are using dimension stacking to study high dimensional computational models of neurons. (see http://www.cs.brandeis.edu/~tim/neuron for some pretty pictures) In all of these cases (and others) I use JScheme because it gives me access to all of the Java libraries that I want to use and yet it allows me to use the Scheme conceptual world to think about and implement the programs I need to write. Since its written in Java it runs anywhere and interoperates with all sorts of great applications, and it can be used to write Java servlets, Java applets, and Java Web Start applications. > Somewhere in between? How do people choose where the Scheme ends and > the Java begins? I usually write directly in Javadot when I first start using a Java API and then later build a Scheme library to hide the Java API details and allow me to program in a more declarative style. > Is that time dependent, i.e. does code migrate from Scheme to Java or > visa versa? I have had a need to convert Scheme code to Java (e.g. a student wants to extend a Scheme program I wrote but would much rather write in Java, so they convert my Scheme to Java and it usually turns out to be very nice looking Java code!) I don't think I've ever tried converting Java to Scheme, I would usually just stick it in a Jar and call it from Scheme.... > > At my company we write CAD software for the wireless industry, placing > transmitter sites, assigning channels, etc.. > We use JScheme to allow our legacy C++ code base to control a JVM that > currently runs some secondary utilities, but will become more > important as we try to port the C++ to Java. Nice application... > The combination of Scheme and JavaDot provides a nice regular syntax > that doesn't frighten C++ programmers too much, Thats nice to hear! > and of particular importance to me is that I didn't have to hack > together a scripting language! JScheme is not much more than the combination of the javadot interface with most of the R4RS language. Thanks for your feedback and questions, If anyone else wants to give their perspective, I for one would love to hear it. Best, ---Tim--- > > J. Toman > EDX Wireless LLC > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real > users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Jscheme-user mailing list > Jsc...@li... > https://lists.sourceforge.net/lists/listinfo/jscheme-user |
From: Joseph T. <jj...@ed...> - 2005-02-10 21:23:36
|
Hi, I don't know if this is a JScheme question or just a scheme question, but I was wondering why (if (apply and '(#t #f)) #t #f) returns #t ? Why doesn't the command line interpreter recognize many of the special forms as being bound ? This is more of a "just curious how other people do it" sort of question: How do people use JScheme? Is it Scheme with a nice set of libraries? A looser java-ish scripting language? Somewhere in between? How do people choose where the Scheme ends and the Java begins? Is that time dependent, i.e. does code migrate from Scheme to Java or visa versa? At my company we write CAD software for the wireless industry, placing transmitter sites, assigning channels, etc.. We use JScheme to allow our legacy C++ code base to control a JVM that currently runs some secondary utilities, but will become more important as we try to port the C++ to Java. The combination of Scheme and JavaDot provides a nice regular syntax that doesn't frighten C++ programmers too much, and of particular importance to me is that I didn't have to hack together a scripting language! J. Toman EDX Wireless LLC |
From: Timothy J H. <tjh...@br...> - 2005-02-07 14:55:17
|
Dear JScheme users, I've changed the jscheme-user list preferences so that every post will have to be approved by me before it gets posted to the list. This will end the spam at the cost of a slight delay in posting times. Thanks for your patience... Best wishes, ---Tim--- |
From: Allegrini C. B. T. <chr...@bi...> - 2005-02-03 19:36:49
|
Hello, After having created a commercial middleware solution based on a owner = LISP language,=20 I decided to integrate JScheme.=20 The middleware Bird Of Java, a Rich Internet Applications oriented, is = written at the same time as Java and with a specific owner LISP. But it missed the possibility of sending towards the customer nice GUI. = This is why I decided to integrate JScheme, which through Java dot = Notation, offers a particularly interesting single capacity.=20 I think, this shows the capacity of JScheme and the great work that it = represents. I am really sad by the death of Ken Anderson. Very sad news. Best regards,=20 Christophe Allegrini www.birdtechnology.net |
From: Timothy J H. <tjh...@br...> - 2005-01-22 14:37:46
|
Dear JScheme community, I'm sorry to bring you the very sad news that Ken Anderson, one of the co-developers of JScheme, died last night at the Spam conference in Cambridge. He was in great spirits, talking about JScheme, when he collapsed mid-sentence. Ken was one of the three main developers of JScheme. JScheme had two parent languages -- Peter Norvig's SILK and Tim Hickey's Jscheme applet. Ken came onto the project in the beginning (1997) and built the Scheme-Java interface that became the javadot notation. He was responsible for the beautifully designed cache techniques that make javadot so efficient. He also was a tireless developer, chasing down bugs, dreaming up and seriously analyzing proposed new optimizations. He was a talented software engineer who loved building an elegant and simultaneously practical language. He was also a really nice guy. Kind, generous, thoughtful. The world is a poorer place for his passing. Ken touched many lives and brought many communities together. I worked with him on JScheme for 2-3 years (publishing two papers) before I met him in person (or even knew what he looked like!) We've met regularly since to plot the future of JScheme and to share our war stories of JScheme in the world. He has played a major role in the Lightweight Language conferences and was also an active player in the anti-Spam effort. I will miss him, as I'm sure many other will as well. JScheme will remain an active project and is very much part of what Ken has given to the world. I am honored to have been his friend and codeveloper. Sincerely, ---Tim Hickey--- |
From: Ken A. <kan...@bb...> - 2005-01-19 22:39:20
|
Paul Graham's spam conference is Friday. http://spamconference.org/ I'll be there! k |
From: Ken A. <kan...@bb...> - 2004-12-22 21:41:09
|
I complained that several Scheme implementations were not in the poll, so he suggested i vote for kawa. - at least it would give a sense of the number of people using Scheme in Java if we voted. >From: Gerald Bauer <lux...@ya...> >To: bea...@li... >Old-X-Spam-Score: -4.9 (----) >Subject: [Beanshell-users] Poll Update: What is Your Scripting Language for Java of the Year 2004? >Sender: bea...@li... >X-BeenThere: bea...@li... >X-Mailman-Version: 2.0.9-sf.net >List-Unsubscribe: <https://lists.sourceforge.net/lists/listinfo/beanshell-users>, > <mailto:bea...@li...?subject=unsubscribe> >List-Id: BeanShell Users <beanshell-users.lists.sourceforge.net> >List-Post: <mailto:bea...@li...> >List-Help: <mailto:bea...@li...?subject=help> >List-Subscribe: <https://lists.sourceforge.net/lists/listinfo/beanshell-users>, > <mailto:bea...@li...?subject=subscribe> >List-Archive: <http://sourceforge.net/mailarchive/forum.php?forum=beanshell-users> >X-Original-Date: Tue, 21 Dec 2004 23:44:22 -0500 (EST) >Date: Tue, 21 Dec 2004 23:44:22 -0500 (EST) >Old-X-Spam-Status: NO >Old-X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang) >Old-X-Scanned-By: MIMEDefang 2.35 >X-Scanned-By: Spam Assassin >X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on zima.bbn.com >X-Spam-Level: >X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham > version=2.63 > >Hello, > > Just to let you know that the Java Republic poll >asking "What is Your Scripting Language for Java of >the Year 2004?" will run for another week. > > If you haven't yet cast your vote, I urge you to >rush to the pollstation now before it's too late. > > Here's the standing as of December, 21st: > > o Jython (Python for Java) 471 votes (63%) > o Groovy 112 votes (15%) > o BeanShell (Dynamic Java) 55 votes ( 7%) > o Rhino (JavaScript) 42 votes ( 6%) > o JRuby (Ruby for Java) 28 votes ( 4%) > o and so on > > You can find the pollstation online >http://jroller.com/page/viva/20041211#poll_what_is_your_scripting > > - Gerald > >-------------------- >Gerald Bauer >Web Start F.A.Q. | http://webstartfaq.com >Web Start Forum | http://webstartforum.com > > >______________________________________________________________________ >Post your free ad now! http://personals.yahoo.ca > > >------------------------------------------------------- >SF email is sponsored by - The IT Product Guide >Read honest & candid reviews on hundreds of IT Products from real users. >Discover which products truly live up to the hype. Start reading now. >http://productguide.itmanagersjournal.com/ >_______________________________________________ >Beanshell-users mailing list >Bea...@li... >https://lists.sourceforge.net/lists/listinfo/beanshell-users |
From: Ken A. <kan...@bb...> - 2004-12-21 13:58:04
|
This is a great example! Keep it up! We should definitely develop such a library! At 05:13 AM 12/21/2004, Geoffrey Knauth wrote: >Maybe, with the right libraries, JScheme has a potential audience among management types with some technical ability. |
From: Geoffrey K. <ge...@kn...> - 2004-12-21 10:20:12
|
On Dec 21, 2004, at 05:13, Geoffrey Knauth wrote: > Just letting you both know [...] Oops. I originally wrote the previous message to Ken and Tim, then realized maybe the list would be interested in the business use for JScheme I discovered. Geoffrey -- Geoffrey S. Knauth | http://knauth.org/gsk |
From: Geoffrey K. <ge...@kn...> - 2004-12-21 10:14:12
|
Just letting you both know, last week at (customer-site) we were reviewing screens. There was one screen that was particularly ugly. On the spot I used JScheme to create an entirely new screen that conveyed the same information but looked much better. It took about five minutes, short enough to be done in the background while people were talking, long enough for me to incorporate what they were saying into the new screen. Anyway, they really liked what JScheme did so quickly. The (local-business-manager) made a remark about "those screens Geoffrey creates so quickly," and the next morning he showed up with a few screens of his own he threw together with PowerPoint. Obviously he got the point that showing new screens quickly to the customer is a strong selling point. One of these days I'll have to show him a few JScheme tricks so that he can do better navigation and more dynamic content than is possible with PowerPoint. Maybe, with the right libraries, JScheme has a potential audience among management types with some technical ability. Geoffrey -- Geoffrey S. Knauth | http://knauth.org/gsk |
From: Geoffrey K. <gk...@ma...> - 2004-12-16 11:49:42
|
Thank you Sir, that worked! Geoffrey -- Geoffrey S. Knauth | http://knauth.org/gsk On Dec 16, 2004, at 06:17, Michael R Head wrote: > How about this? > > (DriverManager.registerDriver (jstels.jdbc.csv.CsvDriver.)) |
From: Michael R H. <bu...@su...> - 2004-12-16 11:17:47
|
On Thu, 2004-12-16 at 05:59 -0500, Geoffrey Knauth wrote: > Maybe I'm dense. I tried this: >=20 > (load "elf/jdbc.scm") > (load "elf/classpath.scm") > (addClasspathUrl "csvdriver.jar") > (DriverManager.registerDriver jstels.jdbc.csv.CsvDriver.) How about this? (DriverManager.registerDriver (jstels.jdbc.csv.CsvDriver.)) >=20 > Geoffrey mike > -- > Geoffrey S. Knauth | http://knauth.org/gsk --=20 Michael R Head <bu...@su...> GPG: http://www.suppressingfire.org/~burner/gpg.key.txt (ID 23A02B1F) |
From: Geoffrey K. <gk...@ma...> - 2004-12-16 10:59:17
|
Maybe I'm dense. I tried this: (load "elf/jdbc.scm") (load "elf/classpath.scm") (addClasspathUrl "csvdriver.jar") (DriverManager.registerDriver jstels.jdbc.csv.CsvDriver.) and got this exception: (DriverManager.registerDriver jstels.jdbc.csv.CsvDriver.) ==================================== SchemeException: java.lang.IllegalArgumentException: argument type mismatch ARGUMENT MISMATCH for method public static synchronized void java.sql.DriverManager.registerDriver(java.sql.Driver) throws java.sql.SQLException called with ({jsint.JavaConstructor jstels.jdbc.csv.CsvDriver[0]}) What am I doing wrong? Geoffrey -- Geoffrey S. Knauth | http://knauth.org/gsk |