Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | infixNotation unit tests to address missing coverage and features; rename ↵ | ptmcg | 2020-07-07 | 1 | -4/+50 | |
| | | | | infixNotation tests to meaningful names | |||||
* | Sphinx and docstring fixes | ptmcg | 2020-07-06 | 3 | -26/+35 | |
| | ||||||
* | It is to blacken | Paul McGuire | 2020-06-28 | 1 | -1/+1 | |
| | ||||||
* | When warning for uninitialized Forward, look up stack to parseString ↵ | Paul McGuire | 2020-06-28 | 1 | -2/+11 | |
| | | | | function call to give correct stacklevel for the warning | |||||
* | Fixed traceback trimming, and added ParserElement.verbose_traceback ↵ | Paul McGuire | 2020-06-28 | 4 | -16/+17 | |
| | | | | save/restore to reset_pyparsing_context() | |||||
* | Add expression names and restructure relative time and day expressions based ↵ | Paul McGuire | 2020-06-28 | 1 | -22/+38 | |
| | | | | on reviewing railroad diag | |||||
* | Simplify running railroad diagram examples | Paul McGuire | 2020-06-28 | 1 | -20/+21 | |
| | ||||||
* | Update version to stage for next release work; fix typo in CHANGES file | Paul McGuire | 2020-06-27 | 2 | -3/+3 | |
| | ||||||
* | Additional unit testspyparsing_3.0.0a2 | Paul McGuire | 2020-06-27 | 1 | -5/+91 | |
| | ||||||
* | Minor code cleanups, remove more Py2-compatibilty code | Paul McGuire | 2020-06-27 | 2 | -11/+6 | |
| | ||||||
* | Fix bug when using pyparsing_testing.reset_pyparsing_context as a context ↵ | Paul McGuire | 2020-06-27 | 1 | -1/+1 | |
| | | | | manager, suppressing raised exceptions | |||||
* | Assert packrat not enabled in base test case; log packrat status and cache ↵ | Paul McGuire | 2020-06-27 | 1 | -0/+22 | |
| | | | | type in all cases | |||||
* | Blacken test_examples.py | ptmcg | 2020-06-27 | 1 | -1/+1 | |
| | ||||||
* | Add make_diagram.py to examples to demonstrate creating railroad diags for ↵ | ptmcg | 2020-06-27 | 13 | -204/+279 | |
| | | | | selected examples | |||||
* | Update CHANGES to reflect Issue #227 | ptmcg | 2020-06-27 | 1 | -0/+8 | |
| | ||||||
* | Update unicode ranges (compute by interrogating unicodedata by language ↵ | ptmcg | 2020-06-27 | 1 | -17/+90 | |
| | | | | name) - Issue #227 | |||||
* | Blackening | ptmcg | 2020-06-26 | 2 | -7/+21 | |
| | ||||||
* | Restructure unit tests to do proper testing with and without packrat enabled | ptmcg | 2020-06-26 | 3 | -13/+53 | |
| | ||||||
* | Revert to Python 3.7.1 for most compatibility; rewrite explain() unit test ↵ | ptmcg | 2020-06-26 | 2 | -10/+23 | |
| | | | | to be more tolerant of variations in TypeError str formatting | |||||
* | Force later version of Python 3.7, default is 3.7.1 | ptmcg | 2020-06-26 | 1 | -1/+1 | |
| | ||||||
* | Travis CI builds on Ubuntu 16.04, for updated Python versions | ptmcg | 2020-06-25 | 1 | -0/+2 | |
| | ||||||
* | Modify expected explain string to use Python version-specific TypeError | ptmcg | 2020-06-25 | 1 | -1/+8 | |
| | ||||||
* | More thorough ParseException.explain testing | ptmcg | 2020-06-25 | 2 | -15/+64 | |
| | ||||||
* | Sphinx config cleanup | ptmcg | 2020-06-25 | 2 | -3/+3 | |
| | ||||||
* | Add unit tests for miscellaneous ParseException methods/behavior | ptmcg | 2020-06-25 | 1 | -0/+48 | |
| | ||||||
* | Collapse _checkRecursion methods; moved 3.0.0 summary from CHANGES to ↵ | ptmcg | 2020-06-25 | 5 | -82/+334 | |
| | | | | whats_new_in_3_0_0.rst; cleaned up docstrings, Word() examples, restored setName() docstring; added example to ParseException.explain() | |||||
* | Diagram improvements IV (#225) | Michael Milton | 2020-06-24 | 5 | -367/+668 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add diagram documentation, add more diagram tests, allow more customization of diagrams * Remove accidental edit of unrelated documentation * Add diagram package * Add jinja file to manifest * Add to bdist also * package_data * Railroad improvements * Partial rewrite * Update * Use partials everywhere so we can edit the tree before it's constructed * Rewrite the diagram generator to not duplicate any content; use monospaced font for titles * Small documentation change * Revert back to Python 3.5 type hints, fix a small bug * More diagram fixes * Even more pruning; update docs to use SQL example * Don't check the string value of names now that we don't have to | |||||
* | Follow-up to default vs custom name tracking, from Issue #223 | ptmcg | 2020-06-24 | 2 | -125/+132 | |
| | ||||||
* | Add recurse() method to simplify navigating through hierarchy of ↵ | ptmcg | 2020-06-22 | 3 | -2/+15 | |
| | | | | ParserElements within a pyparsing parser | |||||
* | Diagram Improvements Episode III: Revenge of the Setuptools (#224) | Michael Milton | 2020-06-22 | 5 | -84/+324 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add diagram documentation, add more diagram tests, allow more customization of diagrams * Remove accidental edit of unrelated documentation * Add diagram package * Add jinja file to manifest * Add to bdist also * package_data * Railroad improvements * Partial rewrite * Update * Use partials everywhere so we can edit the tree before it's constructed * Rewrite the diagram generator to not duplicate any content; use monospaced font for titles * Small documentation change * Revert back to Python 3.5 type hints, fix a small bug | |||||
* | Add explicit guard to setup.py against installs using Python < 3.5, for ↵ | ptmcg | 2020-06-22 | 1 | -1/+8 | |
| | | | | those who do 'python setup.py install' directly instead of going thru pip | |||||
* | strRepr cleanup, remove replicated __str__ methods | Paul McGuire | 2020-06-20 | 4 | -170/+89 | |
| | ||||||
* | warn_on_assignment_to_Forward not working on PyPy - disable test for now if ↵ | ptmcg | 2020-06-10 | 1 | -4/+5 | |
| | | | | running on PyPy | |||||
* | warn_on_assignment_to_Forward not working on PyPy - disable test for now if ↵ | ptmcg | 2020-06-10 | 2 | -1/+7 | |
| | | | | running on PyPy | |||||
* | Add new warnings about common errors using Forward: ↵ | ptmcg | 2020-06-09 | 4 | -19/+105 | |
| | | | | warn_on_parse_using_empty_Forward warns when failing to attach an expression; warn_on_assignment_to_Forward warns when using '=' instead of '<<=' | |||||
* | Add CHANGES blurb for new ignoreWhitespace and leaveWhitespace methods with ↵ | Paul McGuire | 2020-06-09 | 1 | -2/+7 | |
| | | | | recurse arguments | |||||
* | Additional configuration for `skipWhitespace` and `leaveWhitespace` (#219) | Michael Milton | 2020-06-09 | 2 | -14/+148 | |
| | | | | | | | * Add .ignoreWhitespace() method * Add recursive arg to leave- and ignoreWhitespace(), with tests * Add tests and implementation of the recursive flag | |||||
* | Fix ParseResults.dump() to show both keys *and* lower-level structures | ptmcg | 2020-06-08 | 2 | -1/+5 | |
| | ||||||
* | Add CHANGES blurb for new railroad-diagram parser documentation feature | Paul McGuire | 2020-06-06 | 1 | -0/+23 | |
| | ||||||
* | Railroad Diagram Improvements (#220) | Michael Milton | 2020-06-03 | 5 | -8/+338 | |
| | | | | | | * Add diagram documentation, add more diagram tests, allow more customization of diagrams * Remove accidental edit of unrelated documentation | |||||
* | Railroad Diagrams (#218) | Michael Milton | 2020-05-31 | 5 | -0/+211 | |
| | | | | | | | | | | | | | * Basic framework * Initial effort * Clean up and document code * jinja newline * Pre-commit, and add extras to tox * We can't use the class type-annotations syntax in Python 3.5 | |||||
* | Add GoToColumn test (#217) | Matt Carmody | 2020-05-31 | 1 | -0/+38 | |
| | | | | | * Add GoToColumn test * Update GoToColumn test with ptmcg's feedback | |||||
* | Expand description of ParseException.explain() and explain_exception() | ptmcg | 2020-05-31 | 1 | -2/+9 | |
| | ||||||
* | Fix up lua parser to parse scripts of zero-or-more statements | Paul McGuire | 2020-05-31 | 1 | -2/+5 | |
| | ||||||
* | Added lua parser example (see #212) | Paul McGuire | 2020-05-31 | 2 | -0/+259 | |
| | ||||||
* | Update HowTo doc, address comments in #213 | Paul McGuire | 2020-05-28 | 1 | -21/+93 | |
| | ||||||
* | CHANGES blurb for PR #216 | ptmcg | 2020-05-22 | 1 | -0/+4 | |
| | ||||||
* | makeRomanNumeral bug fix, added MMMMM test (#216) | Jay Pedersen | 2020-05-22 | 1 | -1/+2 | |
| | | | Co-authored-by: jay <jayped007@gmail.com> | |||||
* | Add misc unit tests for core elements with missing coverage (#214) | Matt Carmody | 2020-05-18 | 2 | -6/+121 | |
| | | | | | | | | | | | | | | | | | * Expand testQuotedStrings * Add tests for expr[n] edge cases * Add ParserElement.ignore(str) test * Add Regex invalid type test * Add test for Word with min=0 * Add Char with asKeyword=True test * Add CharsNotIn tests * Remove unused __req__ and __rne__ | |||||
* | Imports cleanup in unit tests (#215) | Matt Carmody | 2020-05-17 | 1 | -224/+119 | |
| | | | | | * Remove unused import & variables in tests * Remove exploded pyparsing imports |