| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
| |
Found via `codespell -q 3 -L ba,fourty,halp,inout,strng`
|
| |
|
|
|
| |
since `pip install railroad` installs anthor package, I think it is better to point out the corrected one.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
creating railroad diags; changed create_diagram from monkeypatch to included method on ParserElement; better debug exception if Dict is constructed with non-Group expression
|
| |
|
| |
|
| |
|
|
|
|
| |
add py39-dev version
|
|
|
|
| |
action, plus aslist and asdict args to Group and Dict classes to emit native Python types instead of ParseResults; also update repr() output of ParseResults to include the type name instead of just a bare tuple.
|
|
|
|
| |
setDebug output to include current text line and parse location
|
|
|
|
| |
enclosed in extra nesting level; results names not maintained; did not handle mix with required expressions)
|
| |
|
|
|
|
| |
diagnostics to an enum, and add enable_diag(), disable_diag() and enable_all_warnings() methods; clean up pyparsing imports in test_unit.py
|
|
|
|
| |
sys.version_info
|
|
|
|
| |
try/pass/fail events (which were previously omitted from debugging output)
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
| |
Looks like an issue in changing the type of string format used
|
| |
|
|
|
|
| |
tests to improve ParseResults coverage
|
| |
|
| |
|
| |
|
|
|
|
| |
function call to give correct stacklevel for the warning
|
|
|
|
| |
save/restore to reset_pyparsing_context()
|
| |
|
| |
|
|
|
|
| |
manager, suppressing raised exceptions
|
|
|
|
| |
name) - Issue #227
|
| |
|
| |
|
| |
|
|
|
|
| |
whats_new_in_3_0_0.rst; cleaned up docstrings, Word() examples, restored setName() docstring; added example to ParseException.explain()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
| |
|
|
|
|
| |
ParserElements within a pyparsing parser
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
| |
|
|
|
|
| |
warn_on_parse_using_empty_Forward warns when failing to attach an expression; warn_on_assignment_to_Forward warns when using '=' instead of '<<='
|
|
|
|
|
|
|
| |
* Add .ignoreWhitespace() method
* Add recursive arg to leave- and ignoreWhitespace(), with tests
* Add tests and implementation of the recursive flag
|