Grammar Parser Library for Python
http://pyparsing.wikispaces.com/
The pyparsing module is an alternative approach to creating and executing
simple grammars, vs. the traditional lex/yacc approach, or the use of regular
expressions. The pyparsing module provides a library of classes that client
code uses to construct the grammar directly in Python code.
- Sources inherited from project openSUSE:Leap:42.3
-
1
derived packages
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:Leap:42.3:Update/python-pyparsing && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
pyparsing-2.1.10.tar.gz | 0001230829 1.17 MB | |
python-pyparsing.changes | 0000029417 28.7 KB | |
python-pyparsing.spec | 0000002759 2.69 KB |
Revision 6 (latest revision is 7)
Ludwig Nussel (lnussel_factory)
accepted
request 477697
from
Thomas Bechtold (tbechtold)
(revision 6)
- Fix SLE 11 build. - update to version 2.1.10: * Fixed bug in reporting named parse results for ZeroOrMore expressions, thanks Ethan Nash for reporting this! * Fixed behavior of LineStart to be much more predictable. LineStart can now be used to detect if the next parse position is col 1, factoring in potential leading whitespace (which would cause LineStart to fail). Also fixed a bug in col, which is used in LineStart, where '\n's were erroneously considered to be column 1. * Added support for multiline test strings in runTests. * Fixed bug in ParseResults.dump when keys were not strings. Also changed display of string values to show them in quotes, to help distinguish parsed numeric strings from parsed integers that have been converted to Python ints. - update to version 2.1.9: * Added class CloseMatch, a variation on Literal which matches "close" matches, that is, strings with at most 'n' mismatching characters. * Fixed bug in Keyword.setDefaultKeywordChars(), reported by Kobayashi Shinji - nice catch, thanks! * Minor API change in pyparsing_common. Renamed some of the common expressions to PEP8 format (to be consistent with the other pyparsing_common expressions): + signedInteger -> signed_integer + sciReal -> sci_real Also, in trying to stem the API bloat of pyparsing, I've copied some of the global expressions and helper parse actions into pyparsing_common, with the originals to be deprecated and removed
Comments 0