On 6/28/07, Zbigniew <[EMAIL PROTECTED]> wrote:
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.
You're right; though I think there's one situation where it would be useful, namely when lifting complicated regex literals straight off existing Perl or Ruby source code. For example, if you wanted to port the Textile markup syntax to Scheme, it'd be a helluva lot easier if one didn't have to debug the hugely complex regexes they make (ab)use of. Still, no use adding the feature before anyone needs it; I created ticket #261 [1] to keep track of the request, but have no plans to implement it at present. BTW, I've just added info to the regex-literals wiki page [2] on how to make use of the egg in compiled code without creating a runtime dependency on it (it's simple with csc's -X option). This means there's no good reason *not* to use it when dealing with regular expressions, except perhaps portability concerns (for the brave but tiny minority among us actually attempting truly portable Scheme code). [1] http://trac.callcc.org/ticket/261 [2] http://chicken.wiki.br/regex-literals -- Arto Bendiken | http://bendiken.net/ _______________________________________________ Chicken-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/chicken-users
