Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Update original "Hello, World!" parser to latest coding, plus runTests | Paul McGuire | 2019-03-30 | 1 | -17/+25 | |
| | ||||||
* | Convert docstrings containing regex examples to raw string literals, to ↵ | Paul McGuire | 2019-03-30 | 2 | -3/+6 | |
| | | | | avoid Py3.8 SyntaxWarnings (#80) | |||||
* | Catch up CHANGES file with other PRs and commits since last relaese | Paul McGuire | 2019-03-30 | 1 | -0/+10 | |
| | ||||||
* | Merge remote-tracking branch 'origin/master' | Paul McGuire | 2019-03-30 | 3 | -23/+113 | |
|\ | | | | | | | | | # Conflicts: # pyparsing.py | |||||
| * | Fix cases where an indentedBlock partially parsing will cause all other ↵ | TMiguelT | 2019-03-12 | 2 | -1/+83 | |
| | | | | | | | | | | | | | | 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 | 2 | -12/+13 | |
| | | | | | | Resolves the infinite recursion potential by setting a temporary name during resolution. | |||||
| * | Py2 simple_unit_tests.py compat changes - part 2 | ptmcg | 2019-03-10 | 1 | -4/+3 | |
| | | ||||||
| * | Support for simple_unit_tests under Python 2 (#72) | Eric Wald | 2019-03-10 | 2 | -7/+19 | |
| | | ||||||
* | | Add __compat__.collect_all_And_tokens to address version incompatibility, ↵ | Paul McGuire | 2019-03-30 | 3 | -7/+69 | |
|/ | | | | and conditionalize API-breaking behavior (#69) | |||||
* | Add compiler from rosettacode.org; fix bug in ParserElement.runTests that ↵ | Paul McGuire | 2019-01-31 | 2 | -4/+284 | |
| | | | | interpreted newlines in quotes as test delimiters | |||||
* | Update examples and unit tests to more preferred coding styles, imports for ↵ | ptmcg | 2019-01-30 | 14 | -115/+124 | |
| | | | | pyparsing_common as ppc and pyparsing_unicode as ppu | |||||
* | Add tests to show use of Combine and simple Regex | ptmcg | 2019-01-30 | 1 | -0/+32 | |
| | ||||||
* | Merge pull request #64 from mcepl/denosepyparsing_2.3.1 | Paul McGuire | 2019-01-10 | 1 | -193/+190 | |
|\ | | | | | Denose | |||||
| * | Remove dependency on nose | Matěj Cepl | 2019-01-07 | 1 | -183/+180 | |
| | | ||||||
| * | Convert CRLF to LF | Matěj Cepl | 2019-01-07 | 1 | -193/+193 | |
| | | ||||||
* | | Add note that explain() is only supported under Python 3. | ptmcg | 2019-01-09 | 2 | -8/+6 | |
| | | ||||||
* | | Disable explain() tests if running in Py2 | ptmcg | 2019-01-09 | 1 | -0/+8 | |
| | | ||||||
* | | Modify explain() for Py2 compat | ptmcg | 2019-01-09 | 1 | -2/+7 | |
| | | ||||||
* | | Add enumerated place holders for strings that invoke str.format(), for Py2 ↵ | ptmcg | 2019-01-09 | 18 | -80/+80 | |
| | | | | | | | | compatibility | |||||
* | | Add enumerated place holders for strings that invoke str.format(), for Py2 ↵ | ptmcg | 2019-01-09 | 1 | -10/+12 | |
| | | | | | | | | compatibility | |||||
* | | Update CHANGES to include note on fixing issue #65; generalized the note ↵ | ptmcg | 2019-01-07 | 1 | -2/+28 | |
| | | | | | | | | about the decaf language example; added sample code from the statemachine examples. | |||||
* | | Unit test to test fix for issue #65 | ptmcg | 2019-01-07 | 1 | -0/+14 | |
| | | ||||||
* | | Fix inconsistency between Keyword(caseless=True) and CaselessKeyword (issue #65) | ptmcg | 2019-01-07 | 1 | -7/+1 | |
|/ | ||||||
* | Merge pull request #62 from crowsonkb/changes_typo | Paul McGuire | 2019-01-06 | 1 | -1/+1 | |
|\ | | | | | Fix typo: 'chemcialFormulas.py' -> 'chemicalFormulas.py' | |||||
| * | Fix typo: 'chemcialFormulas.py' -> 'chemicalFormulas.py' | Katherine Crowson | 2019-01-06 | 1 | -1/+1 | |
|/ | ||||||
* | Convert exception logging to use ParseException.explain() | Paul McGuire | 2019-01-05 | 1 | -5/+7 | |
| | ||||||
* | Add experimental ParseException.explain() method, to return a multiline ↵ | Paul McGuire | 2019-01-05 | 3 | -4147/+4284 | |
| | | | | string showing the parse expressions leading to a parsing failure | |||||
* | Clean up CHANGES notes for new examples | ptmcg | 2018-12-31 | 3 | -260/+11 | |
| | ||||||
* | Add document signoff and library book state examples; | ptmcg | 2018-12-31 | 7 | -38/+277 | |
| | ||||||
* | Update statemachine demo code to Py3 | Paul McGuire | 2018-12-31 | 3 | -29/+60 | |
| | ||||||
* | Update Lucene grammar example, but remove from Travis-CI acceptance scripts | Paul McGuire | 2018-12-30 | 2 | -2/+5 | |
| | ||||||
* | Remove print() call left in to test decoy | Paul McGuire | 2018-12-30 | 1 | -1/+1 | |
| | ||||||
* | Cleanup unit tests for better Py2 compatibility and current pyparsing usage: ↵ | Paul McGuire | 2018-12-30 | 1 | -83/+100 | |
| | | | | prefix string literals containing unicode with 'u'; replace all 'setResultsName' calls to use (name) form; replace all calls to builtin print() with Py2-3 compatible print_(), and add decoy print() method to catch incorrect calls | |||||
* | Set PYTHONPATH before running examples in Travis-CI | Paul McGuire | 2018-12-30 | 1 | -6/+6 | |
| | ||||||
* | Update Travis-CI scripts to include examples; fix bug in runTests if ↵ | Paul McGuire | 2018-12-30 | 5 | -23/+34 | |
| | | | | postParse function returns None (or any non-str value) | |||||
* | Update chemicalFormulas.py example to use new runTests postParse argument, ↵ | Paul McGuire | 2018-12-30 | 2 | -28/+49 | |
| | | | | add test cases that parse subscript integers | |||||
* | Fix matching of dictOf with empty contents (Issue #53) | ptmcg | 2018-12-28 | 3 | -2/+24 | |
| | ||||||
* | Fix partial named results when And embedded in named MatchFirst or Or | ptmcg | 2018-12-28 | 10 | -12/+550 | |
| | ||||||
* | Merge pull request #60 from jdufresne/typo | Paul McGuire | 2018-12-27 | 1 | -1/+1 | |
|\ | | | | | Fix typo: 'whre' -> 'where' | |||||
| * | Fix typo: 'whre' -> 'where' | Jon Dufresne | 2018-12-25 | 1 | -1/+1 | |
| | | ||||||
* | | Merge pull request #61 from jdufresne/https | Paul McGuire | 2018-12-26 | 20 | -26/+26 | |
|\ \ | |/ |/| | Use HTTPS URLs where available in docs, examples, and comments | |||||
| * | Use HTTPS URLs where available in docs, examples, and comments | Jon Dufresne | 2018-12-25 | 20 | -26/+26 | |
|/ | ||||||
* | Merge pull request #59 from jdufresne/psyco | Paul McGuire | 2018-12-24 | 3 | -736/+710 | |
|\ | | | | | Remove mentions of 'psyco' from docs and examples | |||||
| * | Merge branch 'master' into psyco | Paul McGuire | 2018-12-24 | 5 | -713/+712 | |
| |\ | |/ |/| | ||||||
* | | Merge pull request #58 from jdufresne/bare-except | Paul McGuire | 2018-12-24 | 5 | -9/+9 | |
|\ \ | | | | | | | Replace bare 'except:' with 'except Exception;' | |||||
| * | | Replace bare 'except:' with 'except Exception;' | Jon Dufresne | 2018-12-24 | 5 | -9/+9 | |
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | Catching all exceptions is generally considered a bad practice under most circumstances as it will also catch KeyboardInterrupt and SystemExit. These special cases should be raised to the interpreter to allow the Python process to exit. This fix complies with pycodestyle's error code E722: https://pycodestyle.readthedocs.io/en/latest/intro.html#error-codes > do not use bare except, specify exception instead | |||||
| * | Remove mentions of 'psyco' from docs and examples | Jon Dufresne | 2018-12-24 | 3 | -30/+5 | |
|/ | | | | | | | | | | | | | | | The psyco package has been declared umaintained and dead. It is no longer receiving bug fixes including for security issues. From http://psyco.sourceforge.net/ > 12 March 2012 > > Psyco is unmaintained and dead. Please look at PyPy for the > state-of-the-art in JIT compilers for Python. Avoid recommending the use of an unmaintained package (since 2012). Users can continue to use PyPy for the latest and greatest in Python JIT. | |||||
* | Merge pull request #57 from jdufresne/unused | Paul McGuire | 2018-12-24 | 27 | -61/+46 | |
|\ | | | | | Remove unused imports throughout project | |||||
| * | Remove unused imports throughout project | Jon Dufresne | 2018-12-24 | 27 | -61/+46 | |
|/ | | | | | | | | | | | | | Unused imports were discovered using flake8. By removing the unused imports, the code is a bit friendlier to new contributors as it is clearer what is being used and not simply leftover from previous refactoring. The flake8 command: $ flake8 . --select F401 http://flake8.pycqa.org/ | |||||
* | Merge changes from last PR, plus some more up-to-date coding styles and ↵ | Paul McGuire | 2018-12-23 | 1 | -5/+21 | |
| | | | | pyparsing features |