Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | refactor tests into tests directory (#130) | Kyle Lahnakoski | 2019-10-21 | 1 | -5225/+0 |
| | |||||
* | Remove unused imports (#147) | Jon Dufresne | 2019-10-19 | 1 | -2/+2 |
| | | | | | Discovered using the command: flake8 --select F401 . | ||||
* | Fix PrecededBy bug, issue #127 | Paul McGuire | 2019-10-13 | 1 | -1/+18 |
| | |||||
* | Merge unittest enhancements from branch | Paul McGuire | 2019-09-27 | 1 | -189/+229 |
| | |||||
* | More Py2->Py3 cleanup, roll forward fix to ParserElement.__eq__ | ptmcg | 2019-09-25 | 1 | -17/+17 |
| | |||||
* | Propagate setDefaultWhitespaceChars to helper expressions defined in ↵ | Paul McGuire | 2019-09-02 | 1 | -3/+112 |
| | | | | pyparsing module | ||||
* | Fixed bug when ZeroOrMore parses no matching exprs, did not include a named ↵ | Paul McGuire | 2019-08-26 | 1 | -0/+68 |
| | | | | result containing [] | ||||
* | Additional problematic characters when generating re's in Word added to unit ↵ | ptmcg | 2019-08-22 | 1 | -9/+11 |
| | | | | test | ||||
* | Fix minor bug in creating regex range for single character; add unit tests | Paul McGuire | 2019-08-20 | 1 | -0/+70 |
| | |||||
* | Minor unit test cleanups | Paul McGuire | 2019-08-18 | 1 | -5/+11 |
| | |||||
* | More Py2 compatibility scrubbing in unit tests, and migration ZeroOrMore to ↵ | ptmcg | 2019-08-11 | 1 | -337/+327 |
| | | | | [...] notation | ||||
* | Remove Py2 compatibility code from unit tests | Paul McGuire | 2019-08-10 | 1 | -193/+127 |
| | |||||
* | Rework __diag__ and __compat__ to be actual classes instead of just ↵ | Paul McGuire | 2019-08-10 | 1 | -47/+100 |
| | | | | namespaces, to add helpful behavior and methods | ||||
* | Fixed bug in indentedBlock with a parser using two different types of nested ↵ | Paul McGuire | 2019-08-09 | 1 | -2/+37 |
| | | | | indented blocks with different indent values, but sharing the same indent stack. Raised in comments on #87. | ||||
* | Remove deprecated methods and names; disabled ↵ | Paul McGuire | 2019-08-05 | 1 | -13/+14 |
| | | | | __compat__.collect_all_And_tokens; correct doctests; more minor whitespace cleanup | ||||
* | First pass removing Py2 cross-compatibility features | Paul McGuire | 2019-08-05 | 1 | -111/+0 |
| | |||||
* | Improved handling of '-' ErrorStop's when used within Each | Paul McGuire | 2019-08-04 | 1 | -0/+25 |
| | |||||
* | fourFn.py updates - handle leading '+' and '-' unary signs for parenthesized ↵ | Paul McGuire | 2019-08-04 | 1 | -5/+4 |
| | | | | expressions; and real numbers with no leading digit before the decimal | ||||
* | Update fourFn.py to handle functions that take multiple args, and nested ↵ | Paul McGuire | 2019-08-03 | 1 | -22/+47 |
| | | | | functions | ||||
* | Typo and whitespace cleanup | Paul McGuire | 2019-08-03 | 1 | -363/+364 |
| | |||||
* | Add unit test for #103; also make CHANGES blurb and HowToUse notes a little ↵pyparsing_2.4.2a1pyparsing_2.4.1.1 | Paul McGuire | 2019-07-24 | 1 | -0/+28 |
| | | | | clearer | ||||
* | Version 2.4.2a1 - changing [...] notation to ZeroOrMore, not OneOrMore | Paul McGuire | 2019-07-23 | 1 | -2/+49 |
| | |||||
* | Fix latent bug if adding a parse action after having cleared parse actions ↵pyparsing_2.4.1 | Paul McGuire | 2019-07-20 | 1 | -0/+4 |
| | | | | with None | ||||
* | Cleaned up CHANGES to accurately describe the pre/post 2.3.0 bugfix ↵ | Paul McGuire | 2019-07-09 | 1 | -1/+97 |
| | | | | behavior; added file argument to runTests; added conditionAsParseAction helper | ||||
* | sys.write does not take keyword args | Paul McGuire | 2019-07-08 | 1 | -2/+2 |
| | |||||
* | Add __diag__ namespace to enable diagnostic switches; add asKeyword optional ↵ | Paul McGuire | 2019-07-08 | 1 | -6/+41 |
| | | | | arg for oneOf to emit Keyword expressions instead of Literals | ||||
* | Some code cleanup in unitTests.py | Paul McGuire | 2019-07-07 | 1 | -109/+177 |
| | |||||
* | Run *all* the unit tests! | Paul McGuire | 2019-07-06 | 1 | -1/+0 |
| | |||||
* | Add support for multiple '...' skips in a single expression; `_skippped` ↵ | Paul McGuire | 2019-07-06 | 1 | -13/+25 |
| | | | | results name will always return a list of skipped items | ||||
* | Cleanup unit tests for SkipTo expressions, especially using '...' | Paul McGuire | 2019-07-05 | 1 | -31/+47 |
| | |||||
* | Add support for "(expr | ...)" as a form of "on-error, skip" notation | ptmcg | 2019-07-05 | 1 | -3/+16 |
| | |||||
* | Further mods to `Forward.__str__` to possibly address memory issues reported ↵ | ptmcg | 2019-07-05 | 1 | -1/+2 |
| | | | | in #85 and #91, and also does not stomp on user-defined expression names | ||||
* | Fix numeric unit tests to be Py2-friendly | ptmcg | 2019-07-04 | 1 | -29/+47 |
| | |||||
* | Wrap expressions using ... in unitTests.py with eval() so that Py2 won't ↵ | Paul McGuire | 2019-07-04 | 1 | -7/+8 |
| | | | | complain about syntax | ||||
* | Add support for ... as short cut for SkipTo in And, and for repetition as ↵ | Paul McGuire | 2019-07-03 | 1 | -3/+43 |
| | | | | OneOrMore and ZeroOrMore; fix PY2 test bug in unitTests.py | ||||
* | Issue #93 - interaction of Or and addCondition sometimes selects alternative ↵ | Paul McGuire | 2019-07-02 | 1 | -1/+17 |
| | | | | that is not the longest | ||||
* | Fix up changes to parse reals without leading digits before the decimal, and ↵ | Paul McGuire | 2019-06-29 | 1 | -0/+87 |
| | | | | add unit tests | ||||
* | Add support for expr.setParseAction(None) to clear all parse actions | Paul McGuire | 2019-06-29 | 1 | -0/+14 |
| | |||||
* | Fix issue #87, regression in indentedBlock | Paul McGuire | 2019-06-29 | 1 | -3/+120 |
| | |||||
* | Improved support for "python setup.py test" | Paul McGuire | 2019-04-07 | 1 | -1/+5 |
| | |||||
* | Fixed dict structure in makeHTMLTags expressions, and added tag_body ↵ | Paul McGuire | 2019-04-06 | 1 | -14/+27 |
| | | | | attribute to the generated start expression giving easy access to a SkipTo(closeTag) that will parse the tag's body text; some code cleanup and removed duplication among examples | ||||
* | Fix tests for Py2 when using explain | Paul McGuire | 2019-04-02 | 1 | -0/+24 |
| | |||||
* | Remove disabling of tests for Py2 when using explain | Paul McGuire | 2019-04-01 | 1 | -8/+0 |
| | |||||
* | General code cleanup; have unit test module exit(0 or 1) depending on test ↵ | Paul McGuire | 2019-04-01 | 1 | -3/+5 |
| | | | | success, to trigger CI pass/fail; fix bug that crept into withAttribute; minor performance tweaks in Regex and Word | ||||
* | Merge remote-tracking branch 'origin/master' | Paul McGuire | 2019-03-30 | 1 | -3/+84 |
|\ | | | | | | | | | # Conflicts: # pyparsing.py | ||||
| * | Fix cases where an indentedBlock partially parsing will cause all other ↵ | TMiguelT | 2019-03-12 | 1 | -0/+76 |
| | | | | | | | | | | | | | | correct indentedBlocks to fail (#75) * Add failing test for indentedBlock * Simplify fix by storing a backup stack | ||||
| * | Descriptive names for Forward expressions (#71) | Eric Wald | 2019-03-10 | 1 | -3/+8 |
| | | | | | | Resolves the infinite recursion potential by setting a temporary name during resolution. | ||||
* | | Add __compat__.collect_all_And_tokens to address version incompatibility, ↵ | Paul McGuire | 2019-03-30 | 1 | -0/+29 |
|/ | | | | and conditionalize API-breaking behavior (#69) | ||||
* | Update examples and unit tests to more preferred coding styles, imports for ↵ | ptmcg | 2019-01-30 | 1 | -30/+29 |
| | | | | pyparsing_common as ppc and pyparsing_unicode as ppu | ||||
* | Disable explain() tests if running in Py2 | ptmcg | 2019-01-09 | 1 | -0/+8 |
| |