Re: [Chicken-users] Syntactic sugar for regular expressions and URIs

2007-06-27 Thread Zbigniew
Hi Arto--I wouldn't be overly concerned about nested delimiters; I've never had need for them, speaking as a very heavy Perl user, and I wonder if anyone else has. You can always just select another delimiter. This is one of those features that Perl has, I think, just because it's Perl. On 6/27

Re: [Chicken-users] ditching syntax-case modules for the utf8 egg

2007-06-27 Thread Arto Bendiken
On 6/28/07, Alex Shinn <[EMAIL PROTECTED]> wrote: I'm considering changing the utf8 egg to no longer use syntax-case modules, so that it would work like the numbers egg. The way this would work is that, naturally, if you wanted to use utf8 semantics you'd just (use utf8), this time with no need

[Chicken-users] ditching syntax-case modules for the utf8 egg

2007-06-27 Thread Alex Shinn
Hi all, Following up on trac ticket #258: http://trac.callcc.org/ticket/258 I'm considering changing the utf8 egg to no longer use syntax-case modules, so that it would work like the numbers egg. The way this would work is that, naturally, if you wanted to use utf8 semantics you'd just (use u

Re: [Chicken-users] Syntactic sugar for regular expressions and URIs

2007-06-27 Thread Arto Bendiken
Jim, On 6/27/07, Zbigniew <[EMAIL PROTECTED]> wrote: How about this patch, which extends your syntax to allow arbitrary delimiters? I've now integrated your patch, pushed out release 1.0.2 of the egg, and updated the wiki page accordingly (feel free to amend with more examples of #r{...} form

Re: [Chicken-users] thumbtribes

2007-06-27 Thread john
On 27/06/07, Graham Fawcett <[EMAIL PROTECTED]> wrote: That's cool! Regretabbly, I don't think I have any device that would take advantage of a service like this. (Well, I could hard-code the coordinates of our server-room, I guess. :-)) But obviously others do, and this sounds like a neat idea.

Re: [Chicken-users] Syntactic sugar for regular expressions and URIs

2007-06-27 Thread Arto Bendiken
On 6/27/07, Zbigniew <[EMAIL PROTECTED]> wrote: How about this patch, which extends your syntax to allow arbitrary delimiters? Looks good! I will apply & test it out, and push out a new version of the egg tonight. Dankegon! -- Arto Bendiken | http://bendiken.net/ __

Re: [Chicken-users] Syntactic sugar for regular expressions and URIs

2007-06-27 Thread Zbigniew
Arto, How about this patch, which extends your syntax to allow arbitrary delimiters? #;6> ,x #r/\/path\/to\/file:i (regexp "/path/to/file" #t #f #f) #;6> ,x #r:/path/to/file:i (regexp "/path/to/file" #t #f #f) #;6> ,x #r{/path/to/file}i (regexp "/path/to/file" #t #f #f) #;7> (string-split-fie

Re: [Chicken-users] thumbtribes

2007-06-27 Thread Graham Fawcett
On 6/26/07, john <[EMAIL PROTECTED]> wrote: The basic aim of the project is a simple client on the phone that lists users in your defined proximity who meet certain criteria or preferences you specified on the website (ideas welcome). You will have the ability to retrieve their profile and messag

Re: [Chicken-users] Syntactic sugar for regular expressions and URIs

2007-06-27 Thread Arto Bendiken
On 6/27/07, Alex Shinn <[EMAIL PROTECTED]> wrote: Neat! Not sure if you did this intentionally or not, but this exact syntax is also supported by Gauche. I guess there are only so many ways to reinvent the wheel, eh? :-) I don't recall using this syntax in Gauche, but it was a while back tha

Re: [Chicken-users] Syntactic sugar for regular expressions and URIs

2007-06-27 Thread Arto Bendiken
On 6/27/07, John Cowan <[EMAIL PROTECTED]> wrote: If you support Perl-style trailing letters, then you should be sure to support "m" and "s" also. Yes, that'd be useful. At present, though, I'm limited by the PCRE options Chicken's `(regexp)' constructor exposes, and it only has 'i', 'x' and '

Re: [Chicken-users] Syntactic sugar for regular expressions and URIs

2007-06-27 Thread Alex Shinn
On 6/27/07, Arto Bendiken <[EMAIL PROTECTED]> wrote: First, the `regex-literals' egg [2] provides precompiled regular expression literals of the form `#/[a-z0-9]+/i', the Perl-like #/.../[ixu] syntax sure to be instantly familiar to most everyone: Neat! Not sure if you did this intentionally

Re: [Chicken-users] Syntactic sugar for regular expressions and URIs

2007-06-27 Thread John Cowan
Arto Bendiken scripsit: > First, the `regex-literals' egg [2] provides precompiled regular > expression literals of the > form `#/[a-z0-9]+/i', the Perl-like #/.../[ixu] syntax sure to be > instantly familiar to most everyone: If you support Perl-style trailing letters, then you should be sure to

Re: [Chicken-users] install sdl.egg with mingw32?

2007-06-27 Thread felix winkelmann
On 6/26/07, Jong-Hyouk Yun <[EMAIL PROTECTED]> wrote: I think maybe it's not bug/failure about chicken. Probably I didn't install SDL libraries properly ^.^; I'll try again reinstall those stuffs, thank you. I'm not sure. You can try to replace the definition of "get-time-of-day" in sdl.scm w

[Chicken-users] Syntactic sugar for regular expressions and URIs

2007-06-27 Thread Arto Bendiken
Howdy all, I've uploaded a couple of new eggs called `regex-literals' and `uri-literals' which provide some syntactic sugar [1] that I've used for a while now, and am curious to see if anyone else is interested in. First, the `regex-literals' egg [2] provides precompiled regular expression liter