summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Add note on enable/disable memoization methods in whats_new_in_3_0_0.rstptmcg2021-08-141-0/+13
|
* It is to blackptmcg2021-08-141-5/+15
|
* Fix unit test that enables/disables memoization, to not interfere with ↵ptmcg2021-08-141-1/+26
| | | | test-level settings; add flag to enable verbose tracebacks for unit testing
* Add support for Suppress(...) to suppress the skipped textptmcg2021-08-124-37/+103
|
* Fix old method names in comparison (#295)Daniel Roseman2021-08-121-2/+2
| | | Looks like these got over-zealously corrected to the new versions.
* More informative exception messagesptmcg2021-08-094-14/+40
|
* Update version for next phaseptmcg2021-08-091-1/+1
|
* Clean up number word parsers for better explanatory value.ptmcg2021-08-092-45/+73
|
* Revert PEP8 naming in README.rst until 3.0 full release.ptmcg2021-08-091-2/+2
|
* Add simplified 1-99 example, extracted from number_words.pyPaul McGuire2021-08-081-0/+72
|
* Update version time; prep for releasepyparsing_3.0.0b3ptmcg2021-08-081-1/+1
|
* Use new PEP-8 names in project README.rstptmcg2021-08-081-2/+2
|
* Sweep code for usage of Optional -> Opt; sweep HowToUsePyparsing.rst for ↵ptmcg2021-08-083-111/+101
| | | | legacy names
* Sweep code for calls using legacy namesptmcg2021-08-087-102/+171
|
* Update docs to include `delimited_list` added argument `allow_trailing_delim`Paul McGuire2021-08-072-1/+12
|
* Added PEP-8 notes to the whats_new_in_3_0_0.rst docPaul McGuire2021-08-071-1/+113
|
* Add PEP-8 naming, with compatibility synonymsptmcg2021-08-0711-780/+1036
|
* TravisCI not supporting 3.10 yet, leave outptmcg2021-08-072-3/+1
|
* Fix Travis integration (still referenced 3.5, tho no longer supported Python ↵ptmcg2021-08-072-3/+3
| | | | for pyparsing 3)
* Remove Py3.5 from compatibility targets, add Py3.10, update version timestampptmcg2021-08-074-6/+12
|
* Minor code cleanupsptmcg2021-08-075-119/+106
|
* Renumber test classesptmcg2021-08-011-21/+21
|
* Fix internal bug in ParseResults.getName() (how did this ever work?)ptmcg2021-08-011-1/+1
|
* Update 2020 dates to 2021, fix TravisCI badge in README.rst to use ↵ptmcg2021-08-013-4/+4
| | | | travis-ci.com instead of .org
* Update __versionTime__; blacken core code and examplesptmcg2021-08-0124-300/+667
|
* Rename enable_left_recursion to enableLeftRecursion for consistency with ↵ptmcg2021-08-015-4/+110
| | | | other pyparsing names (left in enable_left_recursion synonym as omen of names to come); added notes to CHANGES and whats_new_in_3_0_0.rst; added left_recursion.py to examples.
* Disable SQL parse test when running with LR enabled (SQL parser uses packrat)ptmcg2021-07-301-6/+10
|
* Merge branch 'left_recursion_support'ptmcg2021-07-300-0/+0
|\
| * Add support for LR parsingleft_recursion_supportMax Fischer2021-07-305-23/+409
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * first draft of LR parsing * removed debug output * cache is owned and cleared by ParserElement * bounded recursion must be enabled explicitly * packrat rejects recursion * basic LR unit test * tests for associativity and nesting * added math example * fixed test typo * unittest for empty and non-peg clauses * LR-Forward can match Empty * fixed test typos * added base case to unittest * memo cache only provides copies * flattened Forward parse method * added high-level description of algorithm * expanded docstring * added tests for repetition rules * renamed bounded to left recursion * naive test for existing suite * explicitly testing tests for LR compatibility * LR memo no longer mixes action/no-action results * simplified replacement logic * adjusted example with ambiguous failure case * LR memo content is always returned as copy * draft for peeking recursion * memo update consistent for all actions * fixed a bug for non-string token identifiers * action wins against no-action * cleanup * properly setting names in tests * memoization can be turned off * testing memo switches * typos * flattened recursion memo * left recursion memo size may be limited * adjusted docs for recursion cache
* | Merge branch 'feature/left_recurse_Medeiros_etal'ptmcg2021-07-305-23/+409
|\ \
| * | adjusted docs for recursion cacheMax Fischer2021-06-281-4/+10
| | |
| * | left recursion memo size may be limitedMax Fischer2021-06-283-3/+82
| | |
| * | flattened recursion memoMax Fischer2021-06-281-10/+12
| | |
| * | typosMax Fischer2021-06-281-2/+2
| | |
| * | testing memo switchesMax Fischer2021-06-281-11/+16
| | |
| * | memoization can be turned offMax Fischer2021-06-281-6/+29
| | |
| * | properly setting names in testsMax Fischer2021-06-271-12/+12
| | |
| * | cleanupMax Fischer2021-06-262-19/+17
| | |
| * | action wins against no-actionMax Fischer2021-06-261-5/+9
| | |
| * | fixed a bug for non-string token identifiersMax Fischer2021-06-261-1/+1
| | |
| * | memo update consistent for all actionsMax Fischer2021-06-261-2/+2
| | |
| * | draft for peeking recursionMax Fischer2021-06-261-18/+25
| | |
| * | LR memo content is always returned as copyMax Fischer2021-06-261-1/+1
| | |
| * | adjusted example with ambiguous failure caseMax Fischer2021-06-231-1/+1
| | |
| * | simplified replacement logicMax Fischer2021-06-231-8/+2
| | |
| * | LR memo no longer mixes action/no-action resultsMax Fischer2021-06-221-4/+5
| | |
| * | explicitly testing tests for LR compatibilityMax Fischer2021-06-221-9/+7
| | |
| * | naive test for existing suiteMax Fischer2021-06-221-0/+20
| | |
| * | renamed bounded to left recursionMax Fischer2021-06-213-9/+9
| | |
| * | added tests for repetition rulesMax Fischer2021-06-211-0/+27
| | |