This is the mail archive of the guile@cygnus.com mailing list for the guile project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Russ McManus <mcmanr@eq.gs.com> writes: > Thanks. As an interesting and only tangentially related aside, I > think it's great that guile gives the programmer the ability to > compile the regexp and then use it multiple times. It's nice that you > don't have to rely on compiler optimizations to avoid multiple regexp > compilations, as one must in both elisp and perl. Actually, Perl 5.005 has precompiled regexps as an experimental feature! Definitely something I've wanted for a long time. > I agree about the globbing vs regexp distinction. Bud I didn't know > how to do globbing, so I punted. Actually, I once tried to write a > program that transformed a glob specifications into posix regular > expressions, but halfway through my brain nearly exploded, so I > stopped. > > Perl actually calls 'csh' sometimes to do globbing, I seem to > remember. Yep. Zsh's globbing is by far the best, though. Unfortunately I believe it's pretty tightly coupled to Zsh itself. Starting a shell for a glob isn't completely unreasonable, but it'd be nice to have the code just autoload and go. Greg