[XML-SIG] 4XPath and Unicode

Brad Chapman chapmanb@arches.uga.edu
Sun, 10 Dec 2000 09:51:21 -0500 (EST)


Uche writes:
> Conclusion: we've pretty much decided to ditch Flex
> 
> Here are the options we're exploring:

[Spark, mxTextTools, SRE] 

> We'd love to hear of any other ideas or comments on the above.

One option to consider is Martel, written by Andrew Dalke:

http://www.biopython.org/~dalke/Martel

It's a parser generator which allows you to build up a grammer for a
format using regular expressions. It provides a bunch of "high level"
regular expressions to allow you to build up a readable and
maintainable grammer for what you want to parse.

It uses SRE and mxTextTools (both of which you mention above) under
the covers, and returns the parse tree as XML callbacks that you can
deal with using a standard SAX handler.

I've used it to develop parsers for a couple of different formats and
found it very nice to use. It is a "spare time" project of Andrew's,
but he is working on it quite often, so it is currently very
well-maintained. 

I hope this helps!

Brad