Quoteing hatespyware / yahoo.com, on Fri, Mar 05, 2004 at 10:30:11PM +0900:
> Charles Comstock <cc1 / cec.wustl.edu> wrote in message news:<c1vs3p$808$1 / newsreader.wustl.edu>...
> > Ara.T.Howard wrote:
> > > <snip>
> > > i would think that any grammars simple enough to generate parsers
> > > for on the fly would be simply enough to parse by hand.
> > > considering that, i perfer the approach of racc which will
> > > generate a static parser using a very ruby-esc syntax.

Racc is great, and wouldn't it be greater if you could embed racc
grammers into your ruby source, rather than having to build ruby source
from your grammer as a pre-processing step? Why build an external racc
parser when you just want to parse a list of phone numbers!

Sam


> > Well take for instance parsing some html
> 
> XML is maybe a better example, since you often need to dynamically
> build your parser around some external spec (like a dtd).
>