lark-parser / lark

Lark is a parsing toolkit for Python, built with a focus on ergonomics, performance and modularity.
MIT License
4.81k stars 409 forks source link

Standalone: Added support for interactive parser. #1356

Closed erezsh closed 11 months ago

erezsh commented 11 months ago

parse_interactive and on_error are now working

codecov-commenter commented 11 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (44483c9) 89.35% compared to head (c611d56) 89.39%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1356 +/- ## ========================================== + Coverage 89.35% 89.39% +0.03% ========================================== Files 52 52 Lines 7701 7729 +28 ========================================== + Hits 6881 6909 +28 Misses 820 820 ``` | [Flag](https://app.codecov.io/gh/lark-parser/lark/pull/1356/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=lark-parser) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/lark-parser/lark/pull/1356/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=lark-parser) | `89.39% <100.00%> (+0.03%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=lark-parser#carryforward-flags-in-the-pull-request-comment) to find out more. | [Files](https://app.codecov.io/gh/lark-parser/lark/pull/1356?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=lark-parser) | Coverage Δ | | |---|---|---| | [lark/parsers/lalr\_interactive\_parser.py](https://app.codecov.io/gh/lark-parser/lark/pull/1356?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=lark-parser#diff-bGFyay9wYXJzZXJzL2xhbHJfaW50ZXJhY3RpdmVfcGFyc2VyLnB5) | `78.94% <ø> (ø)` | | | [lark/tools/standalone.py](https://app.codecov.io/gh/lark-parser/lark/pull/1356?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=lark-parser#diff-bGFyay90b29scy9zdGFuZGFsb25lLnB5) | `87.96% <100.00%> (+0.11%)` | :arrow_up: | | [tests/test\_parser.py](https://app.codecov.io/gh/lark-parser/lark/pull/1356?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=lark-parser#diff-dGVzdHMvdGVzdF9wYXJzZXIucHk=) | `95.07% <100.00%> (ø)` | | | [tests/test\_tools.py](https://app.codecov.io/gh/lark-parser/lark/pull/1356?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=lark-parser#diff-dGVzdHMvdGVzdF90b29scy5weQ==) | `99.09% <100.00%> (+0.28%)` | :arrow_up: |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.