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: Antonio J. A. <aj...@gm...> - 2015-05-12 13:55:14
|
Is there some plan to improve Jscheme to.R5RS? -- Antonio J. Arrieta Cuartero |
From: Mitchell W. <wa...@cc...> - 2010-10-04 18:28:18
|
With the usual apologies to those who receive multiple copies This version contains the schedules of presentations and tutorial ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ International Lisp Conference 2010 October 19-21, 2010 John Ascuaga's Nugget (Casino) Reno/Sparks, Nevada, USA (near Lake Tahoe) Collocated with SPLASH 2010 (OOPSLA & DLS & more) see also http://splashcon.org as well as http://www.dynamic-languages-symposium.org/dls-10/ In association with ACM SIGPLAN ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ The Association of Lisp Users is pleased to announce the 2010 International Lisp Conference, to be held in Reno, Nevada, in collocation with SPLASH 2010. This year's program consists of tutorials for beginners and advanced users, a selection of prominent invited speakers, an excellent technical session, lightning talks and an open forum. All ILC and other SPLASH co-located registrants have free admittance to the ILC tutorials. Note that these tutorials are double-tracked across from the early-morning SPLASH keynote addresses. All ILC and other SPLASH co-located registrants have free admittance to the ILC tutorials. Note that these tutorials are double-tracked across from the early-morning SPLASH keynote addresses. Schedule: ~~~~~~~~~ see also http://www.international-lisp-conference.org/2010/schedule Tuesday, October 19 ~~~~~~~~~~~~~~~~~~~ ILC tutorial: Ernst van Waning Introduction to Common Lisp, part 1 SPLASH keynote: Stephanie Forrest The Case for Evolvable Software ILC invited speaker: Dr. Lawrence Hunter Building a Mind for Life ILC invited speaker: Jans Aasman AllegroGraph and the Linked Open Data Cloud Hannes Mehnert Extending Dylan's Type System for Better Type Inference and Error Detection Shingo Yuasa and Masahiro Yasugi Validating Low-Level Instructions for Fixnums using BDDs Roy Turner LP/Lisp: Literate Programming for Lisp Francois-Rene Rideau and Robert Goldman ASDF 2: Evolving an API to Improve Social Interactions Wednesday, October 20 ~~~~~~~~~~~~~~~~~~~~~ ILC tutorial: Ernst van Waning Introduction to Common Lisp, part 2 ILC tutorial: David Margolies AllegroGraph, Lisp for a NoSQL World SPLASH keynote: Benjamin C. Pierce Art, Science, and Fear ILC invited speaker: Marc Feeley Gambit Scheme: Inside Out ILC invited speaker: Peter Seibel Common Lisp Standardization: The Good, the Bad, and the Ugly Tomoharu Ugawa, Hideya Iwasaki, and Taiichi Yuasa Starvation-free Heap Size for Replication-Based Incremental Compacting Garbage Collection John Maraist NST: A unit testing system for Common Lisp ALU meeting Thursday, October 21 ~~~~~~~~~~~~~~~~~~~~ ILC tutorial: Introduction to Common Lisp, part 3 SPLASH keynote: Kenneth Stanley Searching Without Objectives ILC Invited speaker: Lowell Hawkinson Lisp for Breakthrough Products ILC Invited speaker and SPLASH keynote: Don Syme F#: Taking Succinct, Efficient, Typed Functional Programming into the Mainstream Didier Verna CLon, the Command-Line Option Nuker Masahiro Yasugi, Tsuneyasu Komiya, Tasuku Hiraishi and Seiji Umatani Managing Continuations for Proper Tail Recursion Lightning talks and open forum Conference Registration: ~~~~~~~~~~~~~~~~~~~~~~~~ Due to colocation, registration must be done using ILC/SPLASH'10 unified registration forms available at http://splashcon.org Please note that the registration page (page 3) has the option "SPLASH (OOPSLA/Onward!)" selected by default. If you are only planning to attend ILC, don't forget to deselect that option. Travel and Accommodation: ~~~~~~~~~~~~~~~~~~~~~~~~~ SouthWest Airlines offers low fares into Reno but requires booking online at www.southwest.com John Ascuaga's Nugget offers reduced rates for ILC participants; see http://splashcon.org to obtain the group code; or you can have your travel agent look for best bookings (e.g. priceline.com) Scope: ~~~~~~ Lisp is one of the greatest ideas from computer science and a major influence for almost all programming languages and all sufficiently complex software applications. The International Lisp Conference is a forum for the discussion of Lisp and, in particular, the design, implementation and application of any of the Lisp dialects. We encourage everyone interested in Lisp to participate. Organizing Committee: ~~~~~~~~~~~~~~~~~~~~~ * General Chair: JonL White - The Ginger IceCream Factory of Palo Alto, ALU * Program Chair: Antonio Leitao - Instituto Superior Tecnico/INESC-ID * Conference Treasurer: Duane Rettig - Franz, Inc., ALU Director * Publicity Chair: Daniel Herring - ALU Director * ALU Treasurer: Rusty Johnson - TASC, Inc., ALU Director Program Committee: ~~~~~~~~~~~~~~~~~~ * Antonio Leitao - Instituto Superior Tecnico/INESC-ID, Portugal * Alex Fukunaga - University of Tokyo, Japan * Charlotte Herzeel - Vrije Universiteit Brussel, Belgium * Christophe Rhodes - Goldsmiths College, University of London, UK * Didier Verna - EPITA Research and Development Laboratory, France * Duane Rettig - Franz, Inc., USA * Giuseppe Attardi - University of Pisa, Italy * Jeff Shrager - Symbolic Systems Program, Stanford University, USA * Joe Marshall - Google, Inc., USA * Julian Padget - University of Bath, UK * Keith Corbett - Clozure Associates, USA * Kent Pitman - PTC, USA * Manuel Serrano - INRIA Sophia Antipolis, France * Marc Feeley - University of Montreal, Canada * Marie Beurton-Aimar University of Bordeaux 1, France * Mark Stickel - SRI International, USA * Matthias Felleisen - Northeastern University, USA * Scott McKay - ITA Software, USA Contacts: ~~~~~~~~~ * Questions: ilc10-organizing-committee at alu.org * Program Chair: ilc2010 at easychair.org For more information, see http://www.international-lisp-conference.org |
From: Borislav I. <bor...@ko...> - 2010-03-10 17:38:37
|
Hi all, This is JSR 223 based scripting dev environment for Java dynamic languages that's been in the works for several years now: http://www.kobrix.com/seco.jsp We've just released version 0.3. Here's the official press release, please give it a try and let us know what you think. Kobrix Software is pleased to announce the release of Seco 0.3 Seco, formerly known as Scriba, is a scripting development environment for JVM-based dynamic languages. Seco has been in active development and use for the past several years and it is a perfect companion to the serious Java developer. Key features include: - Support of many popular JVM languages with syntax highlighting and code completion for most. - Advanced script editing interface based on structured notebooks as popularized by the Mathematica system. - A WYSIWYG HTML editor for documentation. - An infinite, zoomable 2D canvas for arbitrary layout of components, container nesting and more. - Full workspace automatically persisted in an embedded HyperGraphDB database (see http://www.kobrix.com/hgdb.jsp) - Support for importing 3d party libraries in multiple evaluation contexts. - Based on the JSR 223 standard for language interoperability - all languages share the same runtime context. - Real-time collaboration and exchange of components and notebooks via a P2P network. Seco is perfect not only for prototyping, testing and experimentation, but it is also the ideal tool for learning a given JVM language or a new Java library. It can be used to build complete interactive applications embedded within the environment itself similarly to a life system like Squeak! Seco is free, open-source, LGPL licensed software. To download and for more information, please visit the Seco home page at http://www.kobrix.com/seco.jsp. Regards, Boris |
From: Timothy J. H. <ti...@cs...> - 2009-06-08 14:28:12
|
Hi, define-syntax seems to work for me.... You first need to download the eopl code from http://www.cs.indiana.edu/eopl/ Here it is in tar format: |
From: matthew g. <mgr...@co...> - 2009-06-08 12:59:55
|
I need 'define-syntax/syntax-case' so I tried "elf/eopl2/jscheme/ psyntax-init.scm" and it doesn't appear to work (any longer?). Has anyone had any success making this work or have an alternative define- syntax that provides syntax-case? Thanks, any help would be appreciated. -matt grisius |
From: Andreas R. <and...@pv...> - 2009-05-06 19:53:21
|
On Tue, 5 May 2009, Timothy John Hickey wrote: > Hi Andreas, > > On May 5, 2009, at 6:10 PM, Andreas Røsdal wrote: >> Hello! >> >> I'm trying to port some scheme code from guile to jscheme, and have run >> into som problems with macros. >> >> This is the function that I would like to port to jscheme: >> (defmacro def-save-var (nm value) >> `(begin (define ,nm ,value) >> (set! variable-list (cons ',nm variable-list)))) > Here's the way to do this in Jscheme ... > > Is this part of a web-based card game? Thanks for the help, Timothy. This most likely solved my problems. I'm using JScheme in an Aisleriot card game, found here: http://cardsparc.com/ - Andreas |
From: Timothy J. H. <ti...@cs...> - 2009-05-05 23:07:00
|
Hi Andreas, On May 5, 2009, at 6:10 PM, Andreas Røsdal wrote: > Hello! > > I'm trying to port some scheme code from guile to jscheme, and have > run > into som problems with macros. > > This is the function that I would like to port to jscheme: > (defmacro def-save-var (nm value) > `(begin (define ,nm ,value) > (set! variable-list (cons ',nm variable-list)))) Here's the way to do this in Jscheme ... > (define-macro (def-save-var nm value) `(begin (define ,nm ,value) (set! variable-list (cons ',nm variable-list)))) $1 = (macro def-save-var (nm value)...) > (define variable-list ()) $2 = () > (def-save-var a 5) $3 = (a) > (def-save-var b '(1 2 3)) $4 = (b a) > variable-list $5 = (b a) > a $6 = 5 > b $7 = (1 2 3) Is this part of a web-based card game? Best, ---Tim--- > > > The code can be found in context here (commented out in lines 94 - > 96): > http://code.google.com/p/aisleriot-web-client/source/browse/trunk/src/main/resources/scheme/sol.scm > > This is a description I have found about jscheme macros: > "This syntax is defined so that (define name (macro (args) body)) is > just > like Common Lisp's (defmacro name (args) body). I realize I should > add a > mode where this syntax is not used." > > Could anyone please help me getting this macro correct in jscheme? > You can see my attempt in lines 100-102, but it doesn't seem to work > correctly. > > > - Andreas > > ------------------------------------------------------------------------------ > The NEW KODAK i700 Series Scanners deliver under ANY circumstances! > Your > production scanning environment may not be a perfect world - but > thanks to > Kodak, there's a perfect scanner to get the job done! With the NEW > KODAK i700 > Series Scanner you'll get full speed at 300 dpi even with all image > processing features enabled. http://p.sf.net/sfu/kodak-com > _______________________________________________ > Jscheme-user mailing list > Jsc...@li... > https://lists.sourceforge.net/lists/listinfo/jscheme-user |
From: Andreas R. <and...@pv...> - 2009-05-05 22:31:52
|
Hello! I'm trying to port some scheme code from guile to jscheme, and have run into som problems with macros. This is the function that I would like to port to jscheme: (defmacro def-save-var (nm value) `(begin (define ,nm ,value) (set! variable-list (cons ',nm variable-list)))) The code can be found in context here (commented out in lines 94 - 96): http://code.google.com/p/aisleriot-web-client/source/browse/trunk/src/main/resources/scheme/sol.scm This is a description I have found about jscheme macros: "This syntax is defined so that (define name (macro (args) body)) is just like Common Lisp's (defmacro name (args) body). I realize I should add a mode where this syntax is not used." Could anyone please help me getting this macro correct in jscheme? You can see my attempt in lines 100-102, but it doesn't seem to work correctly. - Andreas |
From: Marc F. <fe...@ir...> - 2009-05-02 18:46:16
|
[Apologies if you get duplicates of this message.] As members of the newly elected Scheme Language Steering Committee, we thank all who voted for expressing their continuing interest and involvement [1]. We have decided to expand the Scheme Language Steering Committee from 3 to 5 members. Using the results of the election just held, we are adding Olin Shivers and Chris Hanson to the committee. Olin and Chris have agreed to serve, and are already serving ex officio. Before we can add Olin and Chris as official members of the committee, we will have to amend the charter [2,3]. We are also considering other changes to the charter, such as removing or modifying the prohibition against members of the steering committee serving as editors, removing the R6RS-specific goals, and changing other details of the process. We are looking into various mechanisms for keeping the Scheme community informed of our progress and involved in the process. We hope to announce the details in the coming weeks. Will Clinger Marc Feeley Chris Hanson (ex officio) Jonathan Rees Olin Shivers (ex officio) [1] http://lists.r6rs.org/pipermail/r6rs-discuss/2009-March/004380.html [2] http://www.r6rs.org/charter/charter-mar-2006.txt [3] http://lists.r6rs.org/pipermail/r6rs-discuss/2009-February/004121.html |
From: Mitchell W. <wa...@cc...> - 2009-03-02 14:21:47
|
_______________________________________________ Scheme-announcements mailing list Sch...@li... https://lists.ccs.neu.edu/bin/listinfo/scheme-announcements |
From: Mitchell W. <wa...@cc...> - 2009-01-29 22:56:09
|
_______________________________________________ Scheme-announcements mailing list Sch...@li... https://lists.ccs.neu.edu/bin/listinfo/scheme-announcements |
From: Mitchell W. <wa...@cc...> - 2009-01-22 03:49:06
|
_______________________________________________ Scheme-announcements mailing list Sch...@li... https://lists.ccs.neu.edu/bin/listinfo/scheme-announcements |
From: Mitchell W. <wa...@cc...> - 2008-12-30 18:53:39
|
_______________________________________________ Scheme-announcements mailing list Sch...@li... https://lists.ccs.neu.edu/bin/listinfo/scheme-announcements |
From: Mitchell W. <wa...@cc...> - 2008-12-10 22:46:30
|
_______________________________________________ Scheme-announcements mailing list Sch...@li... https://lists.ccs.neu.edu/bin/listinfo/scheme-announcements |
From: Mitchell W. <wa...@cc...> - 2008-10-24 15:30:27
|
_______________________________________________ Scheme-announcements mailing list Sch...@li... https://lists.ccs.neu.edu/bin/listinfo/scheme-announcements |
From: Mitchell W. <wa...@cc...> - 2008-10-17 19:16:58
|
_______________________________________________ Scheme-announcements mailing list Sch...@li... https://lists.ccs.neu.edu/bin/listinfo/scheme-announcements |
From: Mitchell W. <wa...@cc...> - 2008-09-24 05:35:36
|
_______________________________________________ Scheme-announcements mailing list Sch...@li... https://lists.ccs.neu.edu/bin/listinfo/scheme-announcements |
From: Timothy J. H. <ti...@cs...> - 2008-07-24 18:20:50
|
Hi Peter, When you run the jscheme compiler you will need to make sure your com.deltatheta.* classes are on the classpath of the compiler... Have you done this (e.g. add a path to the -cp list of the java command to start the compiler????) Let me know if this helps or if something else is going on... Best, ---Tim--- On Jul 24, 2008, at 10:51 AM, pet...@de... wrote: > hi, > > I'm trying to compile some .scm files which reference Java classes, > I'm getting the following error even though the classes reside in the > same .jar as jscheme.REPL: > > (Error while compiling SchemeException: Can't find > com.deltatheta.MyClass using [(#f "com.deltatheta.MyClass"), (#f > "com.deltatheta.MyOtherClass")]) > > The error is being fired from the function (classNamed name) in > Reflect.scm but I can't follow where this aims to find the class from, > I'd be very grateful if someone could point me in the right direction. > > thanks > > Peter > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win > great prizes > Grand prize is a trip for two to an Open Source event anywhere in > the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Jscheme-user mailing list > Jsc...@li... > https://lists.sourceforge.net/lists/listinfo/jscheme-user |
From: <pet...@de...> - 2008-07-24 14:51:46
|
hi, I'm trying to compile some .scm files which reference Java classes, I'm getting the following error even though the classes reside in the same .jar as jscheme.REPL: (Error while compiling SchemeException: Can't find com.deltatheta.MyClass using [(#f "com.deltatheta.MyClass"), (#f "com.deltatheta.MyOtherClass")]) The error is being fired from the function (classNamed name) in Reflect.scm but I can't follow where this aims to find the class from, I'd be very grateful if someone could point me in the right direction. thanks Peter |
From: Timothy J. H. <ti...@cs...> - 2008-06-16 21:02:48
|
Thanks for the fix. I've committed it in CVS and it will appear in the next release and will be available tomorrow under anonymous CVS checkout ... ---Tim--- On Jun 16, 2008, at 4:29 PM, Michael Thome wrote: > Java 6 introduced a regression in the syntax allowed by > ClassLoader.loadClass, no longer accepting Array syntax. This > breaks all uses of jscheme methods defined using Foo[] syntax. > > Here's a patch for jscheme 7.2: > --- src/jsint/Import.java.orig 2008-06-16 16:15:56.000000000 -0400 > +++ src/jsint/Import.java 2008-06-16 16:16:26.000000000 -0400 > @@ -173,7 +173,7 @@ > try { return Class.forName(name);} > catch (ClassNotFoundException e) { return null;} > else > - try { return loader.loadClass(name); } > + try { return Class.forName(name, false, loader); } > catch (ClassNotFoundException e) { return null; } > // KRA 28JUN00: Renu found this! > catch (NoClassDefFoundError e) { return null; } > > -- > Michael Thome > BBN Technologies 10 Moulton St, Cambridge MA 02138 USA > phone: +1 617 873 1853 > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php_______________________________________________ > Jscheme-user mailing list > Jsc...@li... > https://lists.sourceforge.net/lists/listinfo/jscheme-user |
From: Michael T. <mt...@bb...> - 2008-06-16 20:30:08
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> </head> <body bgcolor="#ffffff" text="#000000"> Java 6 introduced a regression in the syntax allowed by ClassLoader.loadClass, no longer accepting Array syntax. This breaks all uses of jscheme methods defined using Foo[] syntax.<br> <br> Here's a patch for jscheme 7.2:<br> --- src/jsint/Import.java.orig 2008-06-16 16:15:56.000000000 -0400<br> +++ src/jsint/Import.java 2008-06-16 16:16:26.000000000 -0400<br> @@ -173,7 +173,7 @@<br> try { return Class.forName(name);}<br> catch (ClassNotFoundException e) { return null;}<br> else<br> - try { return loader.loadClass(name); }<br> + try { return Class.forName(name, false, loader); }<br> catch (ClassNotFoundException e) { return null; }<br> // KRA 28JUN00: Renu found this! <br> catch (NoClassDefFoundError e) { return null; } <br> <br> <div class="moz-signature">-- <br> <table cellpadding="0" cellspacing="0" width="100%"> <tbody> <tr> <td> <font color="#808080" size="2"><b>Michael Thome</b></font><br> <font color="#8f8fff" size="2">BBN Technologies</font> <font color="#808080" size="2">10 Moulton St, Cambridge MA 02138 USA</font><br> <font color="#808080" size="2">phone: +1 617 873 1853</font><br> </td> </tr> </tbody> </table> </div> </body> </html> |
From: Ewan H. <ewa...@ya...> - 2008-05-27 10:38:21
|
Reminder -- The Scheme UK talk on Fluxus is tomorrow. The next meeting for the Scheme UK user's group will be held on Wednesday, 28 May 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). Dave Griffiths: "Fluxus: Scheme Livecoding" Livecoding is the name given to improvised programming, usually in front of an audience, with screen projection to allow viewers to connect the construction of a program along with it's audio/visual/olfactory output. Fluxus is a rapid prototyping, livecoding and playing/learning environment for 3D graphics and games. It extends PLT Scheme with graphical commands and can be used within it's own livecoding environment or from within the DrScheme IDE. Date: 28 May *Tomorrow* Time: 7:00pm Venue: LShift Ltd Hoxton Point 1st Floor Office 6 Rufus Street London N1 6PE Map: http://www.lshift.net/contact Share and enjoy! __________________________________________________________ Sent from Yahoo! Mail. A Smarter Email http://uk.docs.yahoo.com/nowyoucan.html |
From: Ewan H. <ewa...@ya...> - 2008-05-01 10:00:45
|
Scheme UK is back on!! The next meeting for the Scheme UK user's group will be held on Wednesday, 28 May 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). Dave Griffiths: "Fluxus: Scheme Livecoding" Livecoding is the name given to improvised programming, usually in front of an audience, with screen projection to allow viewers to connect the construction of a program along with it's audio/visual/olfactory output. Fluxus is a rapid prototyping, livecoding and playing/learning environment for 3D graphics and games. It extends PLT Scheme with graphical commands and can be used within it's own livecoding environment or from within the DrScheme IDE. Date: 28 May Time: 7:00pm Venue: LShift Ltd Hoxton Point 1st Floor Office 6 Rufus Street London N1 6PE Map: http://www.lshift.net/contact __________________________________________________________ Sent from Yahoo! Mail. A Smarter Email http://uk.docs.yahoo.com/nowyoucan.html |
From: Geoff K. <ge...@kn...> - 2008-01-25 17:39:33
|
Thank you!! On Jan 25, 2008, at 10:48, jeffbz wrote: > > Here's a patch for the jscheme compiler. I found that (and ...) gets > compiled > to return #t when all arguments are true rather than the value of > the last > argument like it should. Also, I added a hack that provides a > 'load-when-compile' form that evaluates definitions in a file at > compile > time. I needed this to make some functions available for compile-time > macroexpansion (this fixes the problem I posted about before). > There's also > a similar modification that makes the compiler's read pass descend > into > (load)ed files. I can see that not everybody might want this > behavior, but > it made sense to me since otherwise you'd be loading interpreted > definitions > from compiled code instead of just compiling everything. > This applies to src/jsint/compiler/Compiler.scm in jscheme-7.2 > > 56a57,66 >> (define (readlist fullfilename) >> ; make defs available to compiler >> (let ((L (open-input-file fullfilename))) >> (let loop ((a (read L))) >> (cond ((eof-object? a) ()) >> ((and (pair? a) (eq? (car a) 'load)) >> (append (readlist (cadr a)) (loop (read L)))) >> ((and (pair? a) (eq? (car a) 'load-when-compile)) >> (load (cadr a)) (loop (read L))) >> (else (cons a (loop (read L)))))))) > 60,65c70,71 > < (let ((PROG (let readlist > < ((L (open-input-file fullfilename))) > < (let ((a (read L))) > < (if (eof-object? a) () > < (cons a (readlist L)))))) > < (PATH_CLASSNAME > --- >> (let ((PROG (readlist fullfilename)) >> (PATH_CLASSNAME > 221c228,230 > < `(if ,(first args) (and ,@(rest args)) #f)))) > --- >> (if (null? (cdr args)) >> (car args) >> `(if ,(first args) (and ,@(rest args)) #f))))) > > -- > View this message in context: http://www.nabble.com/patch%3A-compiler-fix-for-AND%2C-add-load-when-compile-tp15090512p15090512.html > Sent from the JScheme - User mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Jscheme-user mailing list > Jsc...@li... > https://lists.sourceforge.net/lists/listinfo/jscheme-user |
From: jeffbz <je...@co...> - 2008-01-25 15:48:09
|
Here's a patch for the jscheme compiler. I found that (and ...) gets compiled to return #t when all arguments are true rather than the value of the last argument like it should. Also, I added a hack that provides a 'load-when-compile' form that evaluates definitions in a file at compile time. I needed this to make some functions available for compile-time macroexpansion (this fixes the problem I posted about before). There's also a similar modification that makes the compiler's read pass descend into (load)ed files. I can see that not everybody might want this behavior, but it made sense to me since otherwise you'd be loading interpreted definitions from compiled code instead of just compiling everything. This applies to src/jsint/compiler/Compiler.scm in jscheme-7.2 56a57,66 > (define (readlist fullfilename) > ; make defs available to compiler > (let ((L (open-input-file fullfilename))) > (let loop ((a (read L))) > (cond ((eof-object? a) ()) > ((and (pair? a) (eq? (car a) 'load)) > (append (readlist (cadr a)) (loop (read L)))) > ((and (pair? a) (eq? (car a) 'load-when-compile)) > (load (cadr a)) (loop (read L))) > (else (cons a (loop (read L)))))))) 60,65c70,71 < (let ((PROG (let readlist < ((L (open-input-file fullfilename))) < (let ((a (read L))) < (if (eof-object? a) () < (cons a (readlist L)))))) < (PATH_CLASSNAME --- > (let ((PROG (readlist fullfilename)) > (PATH_CLASSNAME 221c228,230 < `(if ,(first args) (and ,@(rest args)) #f)))) --- > (if (null? (cdr args)) > (car args) > `(if ,(first args) (and ,@(rest args)) #f))))) -- View this message in context: http://www.nabble.com/patch%3A-compiler-fix-for-AND%2C-add-load-when-compile-tp15090512p15090512.html Sent from the JScheme - User mailing list archive at Nabble.com. |