Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Update 2020 dates to 2021, fix TravisCI badge in README.rst to use ↵ | ptmcg | 2021-08-01 | 3 | -4/+4 | |
| | | | | travis-ci.com instead of .org | |||||
* | Update __versionTime__; blacken core code and examples | ptmcg | 2021-08-01 | 24 | -300/+667 | |
| | ||||||
* | Rename enable_left_recursion to enableLeftRecursion for consistency with ↵ | ptmcg | 2021-08-01 | 5 | -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) | ptmcg | 2021-07-30 | 1 | -6/+10 | |
| | ||||||
* | Merge branch 'left_recursion_support' | ptmcg | 2021-07-30 | 0 | -0/+0 | |
|\ | ||||||
| * | Add support for LR parsingleft_recursion_support | Max Fischer | 2021-07-30 | 5 | -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' | ptmcg | 2021-07-30 | 5 | -23/+409 | |
|\ \ | ||||||
| * | | adjusted docs for recursion cache | Max Fischer | 2021-06-28 | 1 | -4/+10 | |
| | | | ||||||
| * | | left recursion memo size may be limited | Max Fischer | 2021-06-28 | 3 | -3/+82 | |
| | | | ||||||
| * | | flattened recursion memo | Max Fischer | 2021-06-28 | 1 | -10/+12 | |
| | | | ||||||
| * | | typos | Max Fischer | 2021-06-28 | 1 | -2/+2 | |
| | | | ||||||
| * | | testing memo switches | Max Fischer | 2021-06-28 | 1 | -11/+16 | |
| | | | ||||||
| * | | memoization can be turned off | Max Fischer | 2021-06-28 | 1 | -6/+29 | |
| | | | ||||||
| * | | properly setting names in tests | Max Fischer | 2021-06-27 | 1 | -12/+12 | |
| | | | ||||||
| * | | cleanup | Max Fischer | 2021-06-26 | 2 | -19/+17 | |
| | | | ||||||
| * | | action wins against no-action | Max Fischer | 2021-06-26 | 1 | -5/+9 | |
| | | | ||||||
| * | | fixed a bug for non-string token identifiers | Max Fischer | 2021-06-26 | 1 | -1/+1 | |
| | | | ||||||
| * | | memo update consistent for all actions | Max Fischer | 2021-06-26 | 1 | -2/+2 | |
| | | | ||||||
| * | | draft for peeking recursion | Max Fischer | 2021-06-26 | 1 | -18/+25 | |
| | | | ||||||
| * | | LR memo content is always returned as copy | Max Fischer | 2021-06-26 | 1 | -1/+1 | |
| | | | ||||||
| * | | adjusted example with ambiguous failure case | Max Fischer | 2021-06-23 | 1 | -1/+1 | |
| | | | ||||||
| * | | simplified replacement logic | Max Fischer | 2021-06-23 | 1 | -8/+2 | |
| | | | ||||||
| * | | LR memo no longer mixes action/no-action results | Max Fischer | 2021-06-22 | 1 | -4/+5 | |
| | | | ||||||
| * | | explicitly testing tests for LR compatibility | Max Fischer | 2021-06-22 | 1 | -9/+7 | |
| | | | ||||||
| * | | naive test for existing suite | Max Fischer | 2021-06-22 | 1 | -0/+20 | |
| | | | ||||||
| * | | renamed bounded to left recursion | Max Fischer | 2021-06-21 | 3 | -9/+9 | |
| | | | ||||||
| * | | added tests for repetition rules | Max Fischer | 2021-06-21 | 1 | -0/+27 | |
| | | | ||||||
| * | | expanded docstring | Max Fischer | 2021-06-20 | 1 | -3/+9 | |
| | | | ||||||
| * | | added high-level description of algorithm | Max Fischer | 2021-06-20 | 1 | -0/+14 | |
| | | | ||||||
| * | | flattened Forward parse method | Max Fischer | 2021-06-20 | 1 | -4/+0 | |
| | | | ||||||
| * | | memo cache only provides copies | Max Fischer | 2021-06-20 | 1 | -1/+1 | |
| | | | ||||||
| * | | added base case to unittest | Max Fischer | 2021-06-20 | 1 | -3/+3 | |
| | | | ||||||
| * | | fixed test typos | Max Fischer | 2021-06-20 | 1 | -2/+2 | |
| | | | ||||||
| * | | LR-Forward can match Empty | Max Fischer | 2021-06-20 | 1 | -2/+0 | |
| | | | ||||||
| * | | unittest for empty and non-peg clauses | Max Fischer | 2021-06-20 | 1 | -0/+15 | |
| | | | ||||||
| * | | fixed test typo | Max Fischer | 2021-06-20 | 1 | -1/+1 | |
| | | | ||||||
| * | | added math example | Max Fischer | 2021-06-20 | 1 | -0/+46 | |
| | | | ||||||
| * | | tests for associativity and nesting | Max Fischer | 2021-06-20 | 1 | -1/+33 | |
| | | | ||||||
| * | | basic LR unit test | Max Fischer | 2021-06-20 | 2 | -0/+33 | |
| | | | ||||||
| * | | packrat rejects recursion | Max Fischer | 2021-06-20 | 1 | -0/+2 | |
| | | | ||||||
| * | | bounded recursion must be enabled explicitly | Max Fischer | 2021-06-20 | 1 | -2/+30 | |
| | | | ||||||
| * | | cache is owned and cleared by ParserElement | Max Fischer | 2021-06-19 | 1 | -5/+8 | |
| | | | ||||||
| * | | removed debug output | Max Fischer | 2021-06-19 | 1 | -1/+0 | |
| | | | ||||||
| * | | first draft of LR parsing | Max Fischer | 2021-06-19 | 1 | -1/+51 | |
| |/ | ||||||
* | | Add allowTrailingDelim to delimitedList helper (#285) | Kazantcev Andrey | 2021-07-29 | 2 | -4/+31 | |
|/ | | | Merge pull request #285 - Add allowTrailingDelim to delimitedList helper | |||||
* | Remove old language stating that parseString returns "a list of matched ↵ | ptmcg | 2021-05-14 | 2 | -4/+35 | |
| | | | | strings", and clarify use of the returned ParseResults | |||||
* | Fix misc. documentation typos (#280) | luzpaz | 2021-05-14 | 15 | -40/+40 | |
| | | | Found via `codespell -q 3 -L ba,fourty,halp,inout,strng` | |||||
* | Remove setuptools import fallback to distutils.core (distutils.core use not ↵ | ptmcg | 2021-04-13 | 1 | -4/+1 | |
| | | | | recommended) | |||||
* | #261 - fix table name in sql2dot.py example | ptmcg | 2021-04-13 | 2 | -2/+5 | |
| | ||||||
* | #271 - remove comparison with bytes in ParseResults._null_values | ptmcg | 2021-04-13 | 2 | -1/+8 | |
| |