Re: Trying to understand the "rx" macro.
"Igor Hjelmstrom Vinhas Ribeiro" <[email protected]> Sun, 9 Nov 2008 18:22:00 -0200
| Newsgroups | gmane.lisp.scheme.scsh |
|---|---|
| Message-ID | <[email protected]> |
Alex, While I heard of irregex before, I wasn't aware that it is a superset of SRE's. Thanks for bringing this to my attention - I will look at both the design and the code - you will hear again from me in a month or so. - igorhvr On Sun, Nov 9, 2008 at 8:58 AM, Alex Shinn <[email protected]> wrote: > 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 > >> > > >