Subject: Re: PortableAserve should use regular expressions
From: rpw3@rpw3.org (Rob Warnock)
Date: Tue, 18 Mar 2003 05:59:53 -0600
Newsgroups: comp.lang.lisp
Message-ID: <Roidneocmqekl-qjXTWc-w@speakeasy.net>
Yarden Katz  <katz@underlevel.net> wrote:
+---------------
| rpw3@rpw3.org (Rob Warnock) writes:
| > Yup. Halfway down this page <URL:http://www.jwz.org/hacks/marginal.html>
| > one sees:
| >
| > 	(Some people, when confronted with a problem, think ``I know,
| > 	I'll use regular expressions.'' Now they have two problems.)
| 
| What are some obvious alternatives to regexps other than a META
| parser, like the ones introduced in the Baker papers?
+---------------

As mentioned elsewhere in the group recently, quite often
simple ad-hoc recursive descent parsers are best, if the
language being parsed is anywhere near being LL(1). [Most
things with some kind of keywords in front are, or can be
faked into being with some fixups behind the scenes...]


-Rob

-----
Rob Warnock, PP-ASEL-IA		<rpw3@rpw3.org>
627 26th Avenue			<URL:http://rpw3.org/>
San Mateo, CA 94403		(650)572-2607