Parcon is a Python parser combinator and formatter combinator library. It's designed to be fast, easy to use, and provide informative error messages.
Parcon is very similar to Pyparsing, but it improves on a lot of things that, in my opinion, Pyparsing does wrong. For example, Parcon's error messages are almost always considerably more informative as to why parsing some particular input failed.
Parcon can also be used to parse binary protocols.
Pargen, Parcon's formatter combinator library, is the opposite of a parser library: it lets you define how objects should be formatted; you then pass in an object and Pargen formats it according to your grammar, and you get a string back.
Copyright © 2013 Black Duck Software, Inc. and its contributors, Some Rights Reserved. Unless otherwise marked, this work is licensed under a Creative Commons Attribution 3.0 Unported License . Ohloh ® and the Ohloh logo are trademarks of Black Duck Software, Inc. in the United States and/or other jurisdictions. All other trademarks are the property of their respective holders.