Re: english names for symbolic SREs John Cowan 27 Nov 2013 01:27 UTC

Michael Montague scripsit:

> Briefly looking through the first 16 or so implementations listed on
> http://trac.sacrideo.us/wg/wiki/SchemeImplementationReleases, it
> appeared to me that only Chicken and Chibi provide SRE regular
> expressions.

And scsh, which is where SREs were born.  That page is out of date;
I'm in process of updating it.

> This SRFI is going to break people's code no matter how it comes
> out, particularly if it becomes part of R7RS-large.

Nothing prevents people from using, or R7RS-large from supplying,
non-SRE libraries.  That's not equivalent to breaking SREs.
(I'm not very concerned about breaking the names of procedures,
because those can be renamed by the R6RS/R7RS module system.)

> My opinion: SREs are a mutant love child of Scheme and Perl. To
> understand them you need to understand Scheme and PCREs. You need to
> remember what a bunch of characters like *+?= mean. Not fun. Too
> much PCREs and not enough Scheme.

That's why we are adding, at your request, English names for all the
SRE patterns.

--
John Cowan  xxxxxx@ccil.org   http://www.ccil.org/~cowan
O beautiful for patriot's dream that sees beyond the years
Thine alabaster cities gleam undimmed by human tears!
America! America!  God mend thine every flaw,
Confirm thy soul in self-control, thy liberty in law!
        --one of the verses not usually taught in U.S. schools