summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* infixNotation unit tests to address missing coverage and features; rename ↵ptmcg2020-07-071-4/+50
| | | | infixNotation tests to meaningful names
* Sphinx and docstring fixesptmcg2020-07-063-26/+35
|
* It is to blackenPaul McGuire2020-06-281-1/+1
|
* When warning for uninitialized Forward, look up stack to parseString ↵Paul McGuire2020-06-281-2/+11
| | | | function call to give correct stacklevel for the warning
* Fixed traceback trimming, and added ParserElement.verbose_traceback ↵Paul McGuire2020-06-284-16/+17
| | | | save/restore to reset_pyparsing_context()
* Add expression names and restructure relative time and day expressions based ↵Paul McGuire2020-06-281-22/+38
| | | | on reviewing railroad diag
* Simplify running railroad diagram examplesPaul McGuire2020-06-281-20/+21
|
* Update version to stage for next release work; fix typo in CHANGES filePaul McGuire2020-06-272-3/+3
|
* Additional unit testspyparsing_3.0.0a2Paul McGuire2020-06-271-5/+91
|
* Minor code cleanups, remove more Py2-compatibilty codePaul McGuire2020-06-272-11/+6
|
* Fix bug when using pyparsing_testing.reset_pyparsing_context as a context ↵Paul McGuire2020-06-271-1/+1
| | | | manager, suppressing raised exceptions
* Assert packrat not enabled in base test case; log packrat status and cache ↵Paul McGuire2020-06-271-0/+22
| | | | type in all cases
* Blacken test_examples.pyptmcg2020-06-271-1/+1
|
* Add make_diagram.py to examples to demonstrate creating railroad diags for ↵ptmcg2020-06-2713-204/+279
| | | | selected examples
* Update CHANGES to reflect Issue #227ptmcg2020-06-271-0/+8
|
* Update unicode ranges (compute by interrogating unicodedata by language ↵ptmcg2020-06-271-17/+90
| | | | name) - Issue #227
* Blackeningptmcg2020-06-262-7/+21
|
* Restructure unit tests to do proper testing with and without packrat enabledptmcg2020-06-263-13/+53
|
* Revert to Python 3.7.1 for most compatibility; rewrite explain() unit test ↵ptmcg2020-06-262-10/+23
| | | | to be more tolerant of variations in TypeError str formatting
* Force later version of Python 3.7, default is 3.7.1ptmcg2020-06-261-1/+1
|
* Travis CI builds on Ubuntu 16.04, for updated Python versionsptmcg2020-06-251-0/+2
|
* Modify expected explain string to use Python version-specific TypeErrorptmcg2020-06-251-1/+8
|
* More thorough ParseException.explain testingptmcg2020-06-252-15/+64
|
* Sphinx config cleanupptmcg2020-06-252-3/+3
|
* Add unit tests for miscellaneous ParseException methods/behaviorptmcg2020-06-251-0/+48
|
* Collapse _checkRecursion methods; moved 3.0.0 summary from CHANGES to ↵ptmcg2020-06-255-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 Milton2020-06-245-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 #223ptmcg2020-06-242-125/+132
|
* Add recurse() method to simplify navigating through hierarchy of ↵ptmcg2020-06-223-2/+15
| | | | ParserElements within a pyparsing parser
* Diagram Improvements Episode III: Revenge of the Setuptools (#224)Michael Milton2020-06-225-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 ↵ptmcg2020-06-221-1/+8
| | | | those who do 'python setup.py install' directly instead of going thru pip
* strRepr cleanup, remove replicated __str__ methodsPaul McGuire2020-06-204-170/+89
|
* warn_on_assignment_to_Forward not working on PyPy - disable test for now if ↵ptmcg2020-06-101-4/+5
| | | | running on PyPy
* warn_on_assignment_to_Forward not working on PyPy - disable test for now if ↵ptmcg2020-06-102-1/+7
| | | | running on PyPy
* Add new warnings about common errors using Forward: ↵ptmcg2020-06-094-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 McGuire2020-06-091-2/+7
| | | | recurse arguments
* Additional configuration for `skipWhitespace` and `leaveWhitespace` (#219)Michael Milton2020-06-092-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 structuresptmcg2020-06-082-1/+5
|
* Add CHANGES blurb for new railroad-diagram parser documentation featurePaul McGuire2020-06-061-0/+23
|
* Railroad Diagram Improvements (#220)Michael Milton2020-06-035-8/+338
| | | | | | * Add diagram documentation, add more diagram tests, allow more customization of diagrams * Remove accidental edit of unrelated documentation
* Railroad Diagrams (#218)Michael Milton2020-05-315-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 Carmody2020-05-311-0/+38
| | | | | * Add GoToColumn test * Update GoToColumn test with ptmcg's feedback
* Expand description of ParseException.explain() and explain_exception()ptmcg2020-05-311-2/+9
|
* Fix up lua parser to parse scripts of zero-or-more statementsPaul McGuire2020-05-311-2/+5
|
* Added lua parser example (see #212)Paul McGuire2020-05-312-0/+259
|
* Update HowTo doc, address comments in #213Paul McGuire2020-05-281-21/+93
|
* CHANGES blurb for PR #216ptmcg2020-05-221-0/+4
|
* makeRomanNumeral bug fix, added MMMMM test (#216)Jay Pedersen2020-05-221-1/+2
| | | Co-authored-by: jay <jayped007@gmail.com>
* Add misc unit tests for core elements with missing coverage (#214)Matt Carmody2020-05-182-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 Carmody2020-05-171-224/+119
| | | | | * Remove unused import & variables in tests * Remove exploded pyparsing imports