summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Prep for 2.4.1.1 fixup releasepyparsing_2.4.1.xPaul McGuire2019-07-242-2/+48
|
* Fix latent bug if adding a parse action after having cleared parse actions ↵pyparsing_2.4.1Paul McGuire2019-07-202-2/+6
| | | | with None
* Update coding styles; better comments, attribution of example filePaul McGuire2019-07-201-9/+21
|
* Change example to use addCondition instead of parse action that raises ↵Paul McGuire2019-07-191-10/+10
| | | | ParseException
* Missing bits in CONTRIBUTING filePaul McGuire2019-07-151-4/+5
|
* Add CONTRIBUTING.md guidelines; code and whitespace cleanupPaul McGuire2019-07-153-948/+1091
|
* Update/cleanup code in examplesPaul McGuire2019-07-138-1187/+1245
|
* Update `__eq__` to Py2/Py3 compatPaul McGuire2019-07-131-2/+5
|
* Some code cleanup based on inspection reportsPaul McGuire2019-07-131-4/+8
|
* Some performance refinements, pre-resolving re.match to re_match attribute, ↵Paul McGuire2019-07-131-31/+52
| | | | overriding current class with a class with optimized parseImpl()
* Simplify from_dict signature, support nested dict -> nested ParseResultsPaul McGuire2019-07-112-17/+22
|
* Add include_list optional arg to ParseResults.dump(); make Optional default ↵Paul McGuire2019-07-102-10/+28
| | | | singleton class-local
* Add new module symbols to __all__Paul McGuire2019-07-091-2/+3
|
* Cleaned up CHANGES to accurately describe the pre/post 2.3.0 bugfix ↵Paul McGuire2019-07-093-20/+150
| | | | behavior; added file argument to runTests; added conditionAsParseAction helper
* sys.write does not take keyword argsPaul McGuire2019-07-081-2/+2
|
* Add __diag__ namespace to enable diagnostic switches; add asKeyword optional ↵Paul McGuire2019-07-083-34/+189
| | | | arg for oneOf to emit Keyword expressions instead of Literals
* Nicer looking found string if fail on backslashPaul McGuire2019-07-081-1/+1
|
* Add deprecation Final Warning to CHANGESPaul McGuire2019-07-071-3/+31
|
* Some code cleanup in unitTests.pyPaul McGuire2019-07-071-109/+177
|
* Augment ParseException str() output to include what character was found at ↵Paul McGuire2019-07-072-4/+26
| | | | the error location, to help diagnose errors.
* Add ParseResults.from_dict classmethod, for easy construction outside of ↵Paul McGuire2019-07-072-3/+32
| | | | parseString
* Code reorg/reformat, added results namesPaul McGuire2019-07-061-127/+151
|
* Run *all* the unit tests!Paul McGuire2019-07-061-1/+0
|
* Add support for multiple '...' skips in a single expression; `_skippped` ↵Paul McGuire2019-07-064-31/+49
| | | | results name will always return a list of skipped items
* Cleanup unit tests for SkipTo expressions, especially using '...'Paul McGuire2019-07-051-31/+47
|
* Update examples to reflect newer pyparsing and coding styles, and use '...' ↵ptmcg2019-07-053-91/+93
| | | | to illustrate repetition and skipping
* Add support for "(expr | ...)" as a form of "on-error, skip" notationptmcg2019-07-053-57/+126
|
* Further mods to `Forward.__str__` to possibly address memory issues reported ↵ptmcg2019-07-052-7/+11
| | | | in #85 and #91, and also does not stomp on user-defined expression names
* Slight mod to `Forward.__str__` to possibly address memory issues reported ↵ptmcg2019-07-051-4/+4
| | | | in #91
* Fix numeric unit tests to be Py2-friendlyptmcg2019-07-041-29/+47
|
* Minor code changes in runTestsptmcg2019-07-041-19/+20
|
* Wrap expressions using ... in unitTests.py with eval() so that Py2 won't ↵Paul McGuire2019-07-041-7/+8
| | | | complain about syntax
* Add support for ... as short cut for SkipTo in And, and for repetition as ↵Paul McGuire2019-07-034-36/+207
| | | | OneOrMore and ZeroOrMore; fix PY2 test bug in unitTests.py
* Issue #93 - interaction of Or and addCondition sometimes selects alternative ↵Paul McGuire2019-07-023-24/+76
| | | | that is not the longest
* Fix up changes to parse reals without leading digits before the decimal, and ↵Paul McGuire2019-06-293-3/+95
| | | | add unit tests
* Merge remote-tracking branch 'origin/master'Paul McGuire2019-06-291-2/+2
|\
| * Support for omitted integer part of the float number (#98)Paul McGuire2019-06-291-2/+2
| |\ | | | | | | | | | | | | | | | * Added support for omitted integer part of the float number * Added support for omitted integer part in sci_real numbers
| | * Added support for omitted integer part in sci_real numbersAndrey Sobolev2019-06-141-1/+1
| | |
| | * Added support for omitted integer part of the float numberAndrey Sobolev2019-06-121-1/+1
| | |
* | | Add support for expr.setParseAction(None) to clear all parse actionsPaul McGuire2019-06-293-3/+29
|/ /
* | Drop Python 2.6 from TravisCI versions, apparently no longer supportedPaul McGuire2019-06-291-1/+0
| |
* | Fix runTests to output results if post_parse returns NonePaul McGuire2019-06-291-1/+3
| |
* | Fix issue #87, regression in indentedBlockPaul McGuire2019-06-293-11/+136
| |
* | Fix typo: "the the" (#99)Jon Dufresne2019-06-292-2/+2
|/
* Suppress PyCharm IDE settings from Git repoPaul McGuire2019-06-051-3/+5
|
* Add better help directing to ParseResults as the return type for ↵Paul McGuire2019-06-053-3/+10
| | | | ParserElement.parseString
* Fix runTests output bug introduced in d2332c95675d71c10605eaf00b1171ef11d0970dPaul McGuire2019-06-021-3/+6
|
* Add compatibility results name; ungroup qty expression to simplify accessing ↵Paul McGuire2019-05-291-6/+8
| | | | qty value
* Some code cleanup, and added tests and test validationsPaul McGuire2019-05-281-6/+27
|
* Fix description in module headerPaul McGuire2019-05-281-1/+3
|