pyparsing v2.1.4 Release Notes

Release Date: 2016-05-01 // almost 8 years ago
    • ๐Ÿ“œ Split out the '==' behavior in ParserElement, now implemented as the ParserElement.matches() method. Using '==' for string test purposes will be removed in a future release.

    • โœ… Expanded capabilities of runTests(). Will now accept embedded comments (default is Python style, leading '#' character, but customizable). Comments will be emitted along with the tests and test output. Useful during test development, to create a test string consisting only of test case description comments separated by blank lines, and then fill in the test cases. Will also highlight ParseFatalExceptions with "(FATAL)".

    • โž• Added a 'pyparsing_common' class containing common/helpful little expressions such as integer, float, identifier, etc. I used this class as a sort of embedded namespace, to contain these helpers without further adding to pyparsing's namespace bloat.

    • ๐Ÿ“œ Minor enhancement to traceParseAction decorator, to retain the parse action's name for the trace output.

    • โž• Added optional 'fatal' keyword arg to addCondition, to indicate that a condition failure should halt parsing immediately.