On 2008-05-07 00:07, Vlastimil Brom wrote:
Thanks for reminding me about the mxTextTools; I looked at this package very quickly several months ago and it seemed quite complex and heavy-weight, but maybe I will reconsider this after some investigation ...
mxTextTools gives you almost full C speed while still being programmable in Python and without a compiler. It is a low level parsing engine. Here's talk I gave on mxTextTools last year: http://www.egenix.com/library/presentations/EuroPython2007-Parsing-Languages-with-mxTextTools/ If you're looking for ways to hide the complexity, you could try SimpleParse (which uses mxTextTools for the parsing, but provides a grammar based front-end). -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, May 07 2008) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ :::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,MacOSX for free ! :::: eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48 D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg Registered at Amtsgericht Duesseldorf: HRB 46611 -- http://mail.python.org/mailman/listinfo/python-list