On Aug 16, 2005, at 3:46 PM, Adam Sanderson wrote:
> I was wondering if anyone would be interested in, or knows of a  
> generic
> parsing library.  I am continually faced with reading in bizarre text
> files and parsing them.  They tend to have regular structures though
> (at the whim of researcher who made them).  I'd like to write up some
> sort of declarative code to parse these files.  There's a lot of room
> for reuse.

I wrote TagTreeScanner, which can be used to parse text files when  
the desired output is a hierarchy of nodes and text (i.e. an XML type  
file).

http://phrogz.net/RubyLibs/OWLScribble/doc/tts.html