Re: Trying to understand the "rx" macro.

Alex Shinn <[email protected]> Sun, 09 Nov 2008 19:58:23 +0900
Newsgroups gmane.lisp.scheme.scsh
Message-ID <[email protected]>
Note that `rx' in SCSH is just a translator from SREs to
POSIX strings.

There's now a fully portable, native Scheme implementation
of SREs available at:

  http://synthcode.com/scheme/irregex/

It has many, many more features, and includes DFA
conversion.

Even if you don't want to use this code itself, I'd
appreciate any feedback on the extensions I've made to the
SRE syntax.  There should be a single SRE standard (to which
effect I'm debating writing a SRFI).

-- 
Alex


"Igor Hjelmstrom Vinhas Ribeiro" <[email protected]>
writes:

> Brian and Rolf,
>
>    Thanks for the excellent explanation and for the pointer
> to William's ps.gz file. I now understand how the macro works
> and how I will go forward.
>
> Best Regards,
>  Igor.
>
> On Sun, Nov 2, 2008 at 6:34 PM, RT Happe <[email protected]> wrote:
>>
>> Brian D. Carlstrom wrote [a short explanation of s48 low-level macros].
>>
>> Addendum: I don't seem to find the paper on explicit renaming macros,
>> to be read as an introduction to the s48 low level macro facility,
>> in the scsh/s48 tarball, but the .ps.gz
>>
>>  William D Clinger. Hygienic macros through explicit renaming
>>  http://www.ccs.neu.edu/home/will/papers.html
>>
>> should do the job as well.
>>
>>
>>> symbols. the third comparator argument function is less frequently used
>>> as the gensym function, but I believe it is used to compare symbols for
>>> equality taking into account any newly gensymed symbols, etc.
>>
>> To avoid terminological confusion: the "symbols/gensyms" aren't symbols
>> but generated names.
>>
>>
>> rt
>>
>