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: Ken A. <kan...@bb...> - 2003-03-27 23:30:06
|
We now have Jscheme programs that can run for several days processing data. We'd like to have a way of profiling JScheme applications. Compiling to java and using the java profiler doesn't work, because all procedures in a file are compiled into one Java procedure which is a giant case statement. So timing is lumped together. I guess i could write each procedure to its own file, but Yow! Our concerns are localized enough we may be able to wrap some timing code at the right place an learn something. But i thought i'd ask the group about what might be a good approach to profiling. I'm currently thinking of locally redefining define to wrap timing code around a definition. That way we can focus porfiling to the procedures we think are likely suspects. Your thoughts on this topic are welcome! |
From: Ken A. <kan...@bb...> - 2003-03-27 23:21:10
|
I've rewritten the let* macro which generated an unnecessary (lambda () ,body) around the body of the let*. JScheme passed all of its tests, but i just thought i'd warn people. If you find a problem related to this let me know. If there is i'm sure i'll find it tomorrow, if not tonight. We could add tests but should we test that let and let* evaluate to the right thing or macroexpand into what we expect. k |
From: Michael R H. <bu...@cs...> - 2003-03-26 20:55:40
|
As I posted before, I'm working on an Eclipse plugin for JScheme, and I'm running across some problems, so I figured I'd post to the list to see what suggestions people came up with. Basically, for each .scm file the user is editing, I want to be able to support "intelligent completion" or at the very least, knowledgeable syntax highlighting. By this I mean, I want to know all (and only) the symbols that would be loaded up to the cursor point. What's more, I want this table of symbols to be different for each editor. If I'm working on on jlib app in one window and a network server app in another window, I don't want the symbols imported by (or defined in) the network program to be available in the jlib app, unless of course the jlib app loads the network server. One possible solution I've heard is to use a prefix when I load the file. I would set the symbol prefix to be the full path to the file (presumably) and this would effectively create namespaces for each file being edited. Would this be effective? Is there a better way? mike -- Michael R Head <bu...@cs...> Brandeis University CS graduate student |
From: Geoffrey K. <gk...@ma...> - 2003-03-26 12:52:56
|
You may use the icons under CPL. I may polish the icons at some future date. If I do, I'll let you know. I have to get through this week first (work + conference). --Geoffrey On Wednesday, Mar 26, 2003, at 00:08 US/Eastern, Michael R Head wrote: > On Tue, 2003-03-25 at 06:09, Geoffrey Knauth wrote: >> I put some draft icons for JScheme here: >> >> http://knauth.org/gsk/images/jscheme/icons/ >> >> 48x48, 32x32 and 16x16 > > Cool! I'm going to grab them and include them in my plugin. Let me know > (via the list) if you update them. > > I'm planning on licensing my plugin under CPL > [http://www.eclipse.org/legal/cpl-v10.html], and it'll be simplest if I > can license the icons under the same. I'll mention you as the > originator > of the icons (and include your email address if you wish) in a README > or > CONTRIBUTORS file or something. > > mike > >> They're free to use, not use, adapt, etc. >> >> Geoffrey > -- > Michael R Head <bu...@cs...> > Brandeis University CS graduate student |
From: Michael R H. <bu...@cs...> - 2003-03-26 05:09:05
|
On Tue, 2003-03-25 at 06:09, Geoffrey Knauth wrote: > I put some draft icons for JScheme here: > > http://knauth.org/gsk/images/jscheme/icons/ > > 48x48, 32x32 and 16x16 Cool! I'm going to grab them and include them in my plugin. Let me know (via the list) if you update them. I'm planning on licensing my plugin under CPL [http://www.eclipse.org/legal/cpl-v10.html], and it'll be simplest if I can license the icons under the same. I'll mention you as the originator of the icons (and include your email address if you wish) in a README or CONTRIBUTORS file or something. mike > They're free to use, not use, adapt, etc. > > Geoffrey -- Michael R Head <bu...@cs...> Brandeis University CS graduate student |
From: Timothy H. <tim...@ma...> - 2003-03-25 14:18:24
|
I've made a sourceforge release of our current CVS source tree The release has three files: jscheme_6_1.jar (the "binary" jar file) jscheme_6_1.tgz (the source tree as a tar ball) jscheme_6_1.zip (the source tree as a zip file) It has been about a year since the last release. ---Tim--- |
From: Geoffrey K. <ge...@kn...> - 2003-03-25 11:09:37
|
I put some draft icons for JScheme here: http://knauth.org/gsk/images/jscheme/icons/ 48x48, 32x32 and 16x16 They're free to use, not use, adapt, etc. Geoffrey |
From: Michael R H. <bu...@cs...> - 2003-03-24 16:11:04
|
On Mon, 2003-03-24 at 09:23, Ken Anderson wrote: > My daughter is a graphic designer. If you send me suggestions, we'll come up with some examples. > > When JScheme was called Silk, i thought the logo should be of Duke in a WW I aviator cap, and a silk scarf layed out as a lambda. > > Maybe now it should be a coffee cup with a lambda on it. That's along the lines of what I was thinking. Simple, to the point, and could easily fit in a 16x16 icon. mike > > k > At 06:07 PM 3/23/2003 -0500, Geoffrey Knauth wrote: > >I have a Mac, and some neat graphics software from Stone Design, maybe I could come up with something. > > > >On Sunday, Mar 23, 2003, at 17:59 US/Eastern, Michael R Head wrote: > > > >>Anyone got a JScheme logo or icon? I'm building a plug-in for Eclipse > >>for JScheme [ http://zclipse.org/projects/jscheme/ ], and I'd really > >>like to use a standard icon, rather than building whatever crummy icon I > >>cook up with my extremely poor graphics design skills. > > > > > > > >------------------------------------------------------- > >This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: > >http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en > >_______________________________________________ > >Jscheme-user mailing list > >Jsc...@li... > >https://lists.sourceforge.net/lists/listinfo/jscheme-user > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Jscheme-user mailing list > Jsc...@li... > https://lists.sourceforge.net/lists/listinfo/jscheme-user -- Michael R Head <bu...@cs...> Brandeis University CS graduate student |
From: Geoffrey K. <ge...@kn...> - 2003-03-24 15:12:43
|
Earlier this morning I took a photograph of a cup of freshly brewed coffee, with ".java$" taped to the front of the coffee cup, so I wouldn't have to figure out viewpoints when dealing with fonts. I'll run the photo through GIMP and IconComposer during my next coffee break. I thought maybe a few wispy lambdas rising as steam from the cup might be nice, but first I want to see how the photo looks in GIMP. I took the photo so close-up it's a little fuzzy, but maybe when that gets reduced down to 128x128, 48x48, 32x32 and 16x16 it will look OK. I'll be interested to see what your daughter can do with it too (and on her own). Geoffrey On Monday, Mar 24, 2003, at 09:23 US/Eastern, Ken Anderson wrote: > My daughter is a graphic designer. If you send me suggestions, we'll > come up with some examples. > > When JScheme was called Silk, i thought the logo should be of Duke in > a WW I aviator cap, and a silk scarf layed out as a lambda. > > Maybe now it should be a coffee cup with a lambda on it. > > k > At 06:07 PM 3/23/2003 -0500, Geoffrey Knauth wrote: >> I have a Mac, and some neat graphics software from Stone Design, >> maybe I could come up with something. >> >> On Sunday, Mar 23, 2003, at 17:59 US/Eastern, Michael R Head wrote: >> >>> Anyone got a JScheme logo or icon? I'm building a plug-in for Eclipse >>> for JScheme [ http://zclipse.org/projects/jscheme/ ], and I'd really >>> like to use a standard icon, rather than building whatever crummy >>> icon I >>> cook up with my extremely poor graphics design skills. >> >> >> >> ------------------------------------------------------- >> This SF.net email is sponsored by:Crypto Challenge is now open! Get >> cracking and register here for some mind boggling fun and the chance >> of winning an Apple iPod: >> http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en >> _______________________________________________ >> Jscheme-user mailing list >> Jsc...@li... >> https://lists.sourceforge.net/lists/listinfo/jscheme-user > |
From: Ken A. <kan...@bb...> - 2003-03-24 14:24:06
|
My daughter is a graphic designer. If you send me suggestions, we'll come up with some examples. When JScheme was called Silk, i thought the logo should be of Duke in a WW I aviator cap, and a silk scarf layed out as a lambda. Maybe now it should be a coffee cup with a lambda on it. k At 06:07 PM 3/23/2003 -0500, Geoffrey Knauth wrote: >I have a Mac, and some neat graphics software from Stone Design, maybe I could come up with something. > >On Sunday, Mar 23, 2003, at 17:59 US/Eastern, Michael R Head wrote: > >>Anyone got a JScheme logo or icon? I'm building a plug-in for Eclipse >>for JScheme [ http://zclipse.org/projects/jscheme/ ], and I'd really >>like to use a standard icon, rather than building whatever crummy icon I >>cook up with my extremely poor graphics design skills. > > > >------------------------------------------------------- >This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: >http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en >_______________________________________________ >Jscheme-user mailing list >Jsc...@li... >https://lists.sourceforge.net/lists/listinfo/jscheme-user |
From: Michael R H. <bu...@cs...> - 2003-03-23 23:26:57
|
On Sun, 2003-03-23 at 18:07, Geoffrey Knauth wrote: > I have a Mac, and some neat graphics software from Stone Design, maybe > I could come up with something. Cool. I'd like to see a 16x16 and maybe a 32x32 icon for my purposes. mike -- Michael R Head <bu...@cs...> Brandeis University CS graduate student |
From: Ken A. <kan...@bb...> - 2003-03-23 23:08:26
|
Yes. Its very nice. It would be very nice if we could add a Ruby comparison to it. Jython is a nice addition to Java applications because it compiles to bytecode with just the JRE (no development environment required). It may be that the main remaining advantage of Lisp is the ability to define new domain specific languages. This may seem like an advanced feature, but the idea is to start with Scheme and build the language you want your application written in. Lisp applications can have 6+ such langauges easily. src/using/run.scm is an example. It provides a shell scripting language in 3 macros, and about 400 lines of code and documentation. At 12:43 AM 3/23/2003 -0500, Geoffrey Knauth wrote: >http://www.norvig.com/python-lisp.html |
From: Geoffrey K. <ge...@kn...> - 2003-03-23 23:07:55
|
I have a Mac, and some neat graphics software from Stone Design, maybe I could come up with something. On Sunday, Mar 23, 2003, at 17:59 US/Eastern, Michael R Head wrote: > Anyone got a JScheme logo or icon? I'm building a plug-in for Eclipse > for JScheme [ http://zclipse.org/projects/jscheme/ ], and I'd really > like to use a standard icon, rather than building whatever crummy icon > I > cook up with my extremely poor graphics design skills. |
From: Michael R H. <bu...@cs...> - 2003-03-23 22:59:30
|
Anyone got a JScheme logo or icon? I'm building a plug-in for Eclipse for JScheme [ http://zclipse.org/projects/jscheme/ ], and I'd really like to use a standard icon, rather than building whatever crummy icon I cook up with my extremely poor graphics design skills. mike -- Michael R Head <bu...@cs...> Brandeis University CS graduate student |
From: Geoffrey K. <ge...@kn...> - 2003-03-23 22:59:15
|
Yes, silly me, I did define `member?' before I realized you already had `member', which I'll use. Thanks. --Geoffrey On Sunday, Mar 23, 2003, at 17:48 US/Eastern, Ken Anderson wrote: > And you must have defined your own member? procedure. > Scheme has member and memq. They do not end in "?" because they are > not strictly predicates, they return #f or the sublist containing the > matching member. > > k > At 10:04 AM 3/22/2003 -0500, Geoffrey Knauth wrote: >> THANK YOU Tim! It worked! That is: (string->symbol (.name$ x)) >> >> And to answer your question, c-modules is a list of symbols, not >> closures, though I could have made a list of closures too. >> >> Geoffrey >> >> On Saturday, Mar 22, 2003, at 09:51 US/Eastern, Timothy Hickey wrote: >> >>> Hi Geoffrey, >>> How is c-modules defined in your application? >>> You can access the name of closure, f, (as a string) using >>> (.name$ f) >>> So perhaps you could use >>> (define (name-in-c-module? x) >>> (member (string->symbol (.name$ x)) c-module)) >>> >>> Or, if c-module was a list of closures, then you could just use >>> member directly. >>> >>> Does this help? >>> ---Tim--- >>> >>> >>> On Saturday, March 22, 2003, at 09:02 AM, Geoffrey Knauth wrote: >>> >>>> I have some code that looks like this: >>>> >>>> (define (foo-helper for-real module debug) >>>> ((let (args ((cond ((member? module a-modules) >>>> a-decription) >>>> ((cond ((member? module b-modules) (cons >>>> d-ds (list a-description))) >>>> ((cond ((member? module c-modules) (cons >>>> t-ds (list a-description))) >>>> [...] >>>> >>>> Generally, module is a Closure, which takes 1 or 2 args. >>>> >>>> Let's say module is AFUNC (the closure, not the symbol). >>>> >>>>> AFUNC >>>> Closure AFUNC[2] (T_DESCR C_DESCR) >>>>> (member? AFUNC c-modules) >>>> #f >>>>> (member? 'AFUNC c-modules) >>>> #t >>>>> c-modules >>>> (BOOFUNC FOOFUNC ZOOFUNC AFUNC BLAHFUNC ...) >>>> >>>> How do I get (member? (<something> module) c-modules) to return #t ? >>>> >>>> Thanks, >>>> Geoffrey >>>> >>>> >>>> >>>> ------------------------------------------------------- >>>> This SF.net email is sponsored by:Crypto Challenge is now open! Get >>>> cracking and register here for some mind boggling fun and the >>>> chance of winning an Apple iPod: >>>> http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en >>>> _______________________________________________ >>>> Jscheme-user mailing list >>>> Jsc...@li... >>>> https://lists.sourceforge.net/lists/listinfo/jscheme-user >> >> >> >> ------------------------------------------------------- >> This SF.net email is sponsored by:Crypto Challenge is now open! Get >> cracking and register here for some mind boggling fun and the chance >> of winning an Apple iPod: >> http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en >> _______________________________________________ >> Jscheme-user mailing list >> Jsc...@li... >> https://lists.sourceforge.net/lists/listinfo/jscheme-user > |
From: Ken A. <kan...@bb...> - 2003-03-23 22:49:16
|
And you must have defined your own member? procedure. Scheme has member and memq. They do not end in "?" because they are not strictly predicates, they return #f or the sublist containing the matching member. k At 10:04 AM 3/22/2003 -0500, Geoffrey Knauth wrote: >THANK YOU Tim! It worked! That is: (string->symbol (.name$ x)) > >And to answer your question, c-modules is a list of symbols, not closures, though I could have made a list of closures too. > >Geoffrey > >On Saturday, Mar 22, 2003, at 09:51 US/Eastern, Timothy Hickey wrote: > >>Hi Geoffrey, >> How is c-modules defined in your application? >>You can access the name of closure, f, (as a string) using >> (.name$ f) >>So perhaps you could use >> (define (name-in-c-module? x) >> (member (string->symbol (.name$ x)) c-module)) >> >>Or, if c-module was a list of closures, then you could just use member directly. >> >>Does this help? >>---Tim--- >> >> >>On Saturday, March 22, 2003, at 09:02 AM, Geoffrey Knauth wrote: >> >>>I have some code that looks like this: >>> >>>(define (foo-helper for-real module debug) >>> ((let (args ((cond ((member? module a-modules) a-decription) >>> ((cond ((member? module b-modules) (cons d-ds (list a-description))) >>> ((cond ((member? module c-modules) (cons t-ds (list a-description))) >>>[...] >>> >>>Generally, module is a Closure, which takes 1 or 2 args. >>> >>>Let's say module is AFUNC (the closure, not the symbol). >>> >>>> AFUNC >>>Closure AFUNC[2] (T_DESCR C_DESCR) >>>> (member? AFUNC c-modules) >>>#f >>>> (member? 'AFUNC c-modules) >>>#t >>>> c-modules >>>(BOOFUNC FOOFUNC ZOOFUNC AFUNC BLAHFUNC ...) >>> >>>How do I get (member? (<something> module) c-modules) to return #t ? >>> >>>Thanks, >>>Geoffrey >>> >>> >>> >>>------------------------------------------------------- >>>This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: >>>http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en >>>_______________________________________________ >>>Jscheme-user mailing list >>>Jsc...@li... >>>https://lists.sourceforge.net/lists/listinfo/jscheme-user > > > >------------------------------------------------------- >This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: >http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en >_______________________________________________ >Jscheme-user mailing list >Jsc...@li... >https://lists.sourceforge.net/lists/listinfo/jscheme-user |
From: Geoffrey K. <ge...@kn...> - 2003-03-22 15:04:10
|
THANK YOU Tim! It worked! That is: (string->symbol (.name$ x)) And to answer your question, c-modules is a list of symbols, not closures, though I could have made a list of closures too. Geoffrey On Saturday, Mar 22, 2003, at 09:51 US/Eastern, Timothy Hickey wrote: > Hi Geoffrey, > How is c-modules defined in your application? > You can access the name of closure, f, (as a string) using > (.name$ f) > So perhaps you could use > (define (name-in-c-module? x) > (member (string->symbol (.name$ x)) c-module)) > > Or, if c-module was a list of closures, then you could just use member > directly. > > Does this help? > ---Tim--- > > > On Saturday, March 22, 2003, at 09:02 AM, Geoffrey Knauth wrote: > >> I have some code that looks like this: >> >> (define (foo-helper for-real module debug) >> ((let (args ((cond ((member? module a-modules) a-decription) >> ((cond ((member? module b-modules) (cons d-ds (list >> a-description))) >> ((cond ((member? module c-modules) (cons t-ds (list >> a-description))) >> [...] >> >> Generally, module is a Closure, which takes 1 or 2 args. >> >> Let's say module is AFUNC (the closure, not the symbol). >> >> > AFUNC >> Closure AFUNC[2] (T_DESCR C_DESCR) >> > (member? AFUNC c-modules) >> #f >> > (member? 'AFUNC c-modules) >> #t >> > c-modules >> (BOOFUNC FOOFUNC ZOOFUNC AFUNC BLAHFUNC ...) >> >> How do I get (member? (<something> module) c-modules) to return #t ? >> >> Thanks, >> Geoffrey >> >> >> >> ------------------------------------------------------- >> This SF.net email is sponsored by:Crypto Challenge is now open! Get >> cracking and register here for some mind boggling fun and the chance >> of winning an Apple iPod: >> http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en >> _______________________________________________ >> Jscheme-user mailing list >> Jsc...@li... >> https://lists.sourceforge.net/lists/listinfo/jscheme-user >> > |
From: Geoffrey K. <ge...@kn...> - 2003-03-22 14:02:31
|
I have some code that looks like this: (define (foo-helper for-real module debug) ((let (args ((cond ((member? module a-modules) a-decription) ((cond ((member? module b-modules) (cons d-ds (list a-description))) ((cond ((member? module c-modules) (cons t-ds (list a-description))) [...] Generally, module is a Closure, which takes 1 or 2 args. Let's say module is AFUNC (the closure, not the symbol). > AFUNC Closure AFUNC[2] (T_DESCR C_DESCR) > (member? AFUNC c-modules) #f > (member? 'AFUNC c-modules) #t > c-modules (BOOFUNC FOOFUNC ZOOFUNC AFUNC BLAHFUNC ...) How do I get (member? (<something> module) c-modules) to return #t ? Thanks, Geoffrey |
From: Ken A. <kan...@bb...> - 2003-03-18 17:32:56
|
This was my problem. i entered a string with "\\"" in it then the reader got confused. Maybe we need to make it more robust or have a way to reseet it. At 11:41 AM 3/18/2003 -0500, Ken Anderson wrote: >I'm trying to make strings that are regular expressions: > >> "[NSEW]" >"(\\d+)\"\n\"" >> "[NSEW]" >> "[NSEW]" >"\"\n\"" >> "[NSEW]" >> "[-.]" >"\"\n\"" >> Javadot WARNING: Can't find class - >SchemeException:[[ERROR: undefined variable "-."""]] > at jsint.E.error(E.java:14) > at jsint.E.error(E.java:19) > at jsint.DynamicEnvironment.getValue(DynamicEnvironment.java:102) > at jsint.DynamicVariable.getDynamicValue(DynamicVariable.java:13) > at jsint.Scheme.execute(Scheme.java:498) > at jsint.Scheme.eval(Scheme.java:425) > at jsint.Scheme.eval(Scheme.java:414) > at jsint.Scheme.readEvalWriteLoop(Scheme.java:208) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > > >------------------------------------------------------- >This SF.net email is sponsored by: Does your code think in ink? >You could win a Tablet PC. Get a free Tablet PC hat just for playing. >What are you waiting for? >http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en >_______________________________________________ >Jscheme-user mailing list >Jsc...@li... >https://lists.sourceforge.net/lists/listinfo/jscheme-user |
From: Ken A. <kan...@bb...> - 2003-03-18 17:08:41
|
I'm trying to make strings that are regular expressions: > "[NSEW]" "(\\d+)\"\n\"" > "[NSEW]" > "[NSEW]" "\"\n\"" > "[NSEW]" > "[-.]" "\"\n\"" > Javadot WARNING: Can't find class - SchemeException:[[ERROR: undefined variable "-."""]] at jsint.E.error(E.java:14) at jsint.E.error(E.java:19) at jsint.DynamicEnvironment.getValue(DynamicEnvironment.java:102) at jsint.DynamicVariable.getDynamicValue(DynamicVariable.java:13) at jsint.Scheme.execute(Scheme.java:498) at jsint.Scheme.eval(Scheme.java:425) at jsint.Scheme.eval(Scheme.java:414) at jsint.Scheme.readEvalWriteLoop(Scheme.java:208) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) |
From: Geoffrey K. <gk...@ma...> - 2003-03-13 14:09:14
|
Thanks! I'll give it a whirl. --Geoffrey On Thursday, Mar 13, 2003, at 09:03 US/Eastern, Ken Anderson wrote: > I've provided a simple interrupt capability for JScheme. > > You can get an interrupt button for your current thread by doing: > >> (load "elf/interrupt.scm") > #t >> (interruptButton) > > Clicking on the interrupt button will interrupt JScheme execution on > that thread. > It will not stop Java code, such as reading or writing a huge data > structure. > We could put code like: > > if (Scheme.INTERRUPTABLE) Scheme.interruptCheck(); > > in various while loops in JScheme's java code, but i thought we should > gain some experience on how useful the button is first. > > k > > > > ------------------------------------------------------- > This SF.net email is sponsored by:Crypto Challenge is now open! > Get cracking and register here for some mind boggling fun and > the chance of winning an Apple iPod: > http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en > _______________________________________________ > Jscheme-user mailing list > Jsc...@li... > https://lists.sourceforge.net/lists/listinfo/jscheme-user > |
From: Ken A. <kan...@bb...> - 2003-03-13 14:06:51
|
I've provided a simple interrupt capability for JScheme. You can get an interrupt button for your current thread by doing: > (load "elf/interrupt.scm") #t > (interruptButton) Clicking on the interrupt button will interrupt JScheme execution on that thread. It will not stop Java code, such as reading or writing a huge data structure. We could put code like: if (Scheme.INTERRUPTABLE) Scheme.interruptCheck(); in various while loops in JScheme's java code, but i thought we should gain some experience on how useful the button is first. k |
From: Ken A. <kan...@bb...> - 2003-03-11 21:53:49
|
If you you can manage to do (set! Scheme.EXIT$ #t) the loading of foo.scm would stop. However, there is a bigger issue of runway computation. So i tried putting this code: if (INTERRUPTABLE && Thread.currentThread().interrupted()) throw new JschemeThrowable("Execution was interrupted."); in Scheme.execute() before each procedure call. I've enclosed timings of two tight loops, which shows that when INTERRUPTABLE is #f performance is maybe 3% worse, and when INTERRUPTABLE is #t its about twice as slow. This may not be too bad, because these are worst cases and you don't need to turn INTERRUPTABLE on until you want to use it. An alternative that would be faster would be if (INTERRUPT) { INTERRUPT = false; throw new JschemeThrowable("Execution was interrupted."); } This would interrupt the currently running thread, which may often be the one you want to kill. Let me know what you think. I prefer the first approach. At 07:01 AM 3/9/2003 -0500, Geoffrey Knauth wrote: >Let's say I'm in the middle of loading a file foo.scm. > >I get part of the way through the file, and then I realize some core data structures are messed up. I want to signal an error and stop loading foo.scm, but I may not want to leave the JScheme interpreter. >Can I do that (leave foo.scm but not JScheme)? > >Geoffrey > > > >------------------------------------------------------- >This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com >_______________________________________________ >Jscheme-user mailing list >Jsc...@li... >https://lists.sourceforge.net/lists/listinfo/jscheme-user |
From: Timothy H. <tim...@ma...> - 2003-03-10 20:35:44
|
On Monday, March 10, 2003, at 02:51 AM, Boris Tschirschwitz wrote: >>> I checked the list archives for answers, >> Thanks for checking first! >> >>> but I couldn't find >>> anything and the sf system seems to be really terrible. >> What made it so horrible? Response time, organization,...? > > I was hoping for a search option--enter 'object' and get all emails > containing that word--but didn't find it. The monthly view didn't seem > to > show the expected results either and the daily check was a pain, so I > just > went through the titles by the hundeds--fortunately there are not so > many, yet. Well, lots of 'cvs update'. Thanks for the report. There actually is a "search" feature, but its over in the sourceforge.net panel on the left side and has a "search This Mailing List" option. I don't know why they put it over there, it is way too easy to miss. Actually running a search with the word "classes" brings up about a dozen entries (including some using JavaAssist which I had forgotten about..., yet another way to create dynamic Java classes). > > Anyway, thanks a lot for the detailed answer, I'll study it next > weekend--after all, there's a thesis to write... First things first! Good luck, ---Tim--- > > Boris. > |
From: Boris T. <bo...@ma...> - 2003-03-10 07:52:15
|
> > I checked the list archives for answers, > Thanks for checking first! > > > but I couldn't find > > anything and the sf system seems to be really terrible. > What made it so horrible? Response time, organization,...? I was hoping for a search option--enter 'object' and get all emails containing that word--but didn't find it. The monthly view didn't seem to show the expected results either and the daily check was a pain, so I just went through the titles by the hundeds--fortunately there are not so many, yet. Well, lots of 'cvs update'. Anyway, thanks a lot for the detailed answer, I'll study it next weekend--after all, there's a thesis to write... Boris. |