guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Stupid module and pregexp questions


From: Rob Browning
Subject: Re: Stupid module and pregexp questions
Date: Mon, 28 Apr 2003 12:12:38 -0500
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3 (i386-pc-linux-gnu)

address@hidden writes:

> Call me conservative, what not. I'd think You'd Write A Regexp Lib In C (TM).
>
> Apart from that, pregexp shows how a good Scheme interface to a
> regexp library might look like. I mean: having an S-expression
> syntax for regexps (and having the string variant just as a
> convenient shorthand notation) gives you the power to automated
> construction of regexps.

My initial impulse, if the upstream author is amenable, is to take the
existing source, and translate it to C (either by hand, or with some
automated help).  Though without having read the source, I don't yet
know what the feasibility of that is.

> What I have missed most is a streams like interface: in comes a
> stream of chars, out a stream of matches. Has anyone seen something
> like this?

That would be nice.

-- 
Rob Browning
rlb @defaultvalue.org, @linuxdevel.com, and @debian.org
Previously @cs.utexas.edu
GPG starting 2002-11-03 = 14DD 432F AE39 534D B592  F9A0 25C8 D377 8C7E 73A4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]