klauer / blark

Beckhoff TwinCAT ST (IEC 61131-3) code parsing in Python using Lark (Earley)
https://klauer.github.io/blark/
GNU General Public License v2.0
42 stars 5 forks source link

FIX: string length expression #72

Closed klauer closed 1 year ago

klauer commented 1 year ago

Context

Closes #70

Building on @engineerjoe440 's branch

Changes

Continuous Integration

Grammar

Dataclasses

Test suite

codecov-commenter commented 1 year ago

Codecov Report

Merging #72 (39c32d0) into master (1e09713) will increase coverage by 0.2%. The diff coverage is 90.0%.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/klauer/blark/pull/72/graphs/tree.svg?width=650&height=150&src=pr&token=QZDTKF30TH&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=K+Lauer)](https://app.codecov.io/gh/klauer/blark/pull/72?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=K+Lauer) ```diff @@ Coverage Diff @@ ## master #72 +/- ## ======================================== + Coverage 72.2% 72.5% +0.2% ======================================== Files 18 18 Lines 3816 3835 +19 ======================================== + Hits 2758 2783 +25 + Misses 1058 1052 -6 ``` | [Impacted Files](https://app.codecov.io/gh/klauer/blark/pull/72?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=K+Lauer) | Coverage Δ | | |---|---|---| | [blark/tests/conftest.py](https://app.codecov.io/gh/klauer/blark/pull/72?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=K+Lauer#diff-YmxhcmsvdGVzdHMvY29uZnRlc3QucHk=) | `83.6% <0.0%> (ø)` | | | [blark/transform.py](https://app.codecov.io/gh/klauer/blark/pull/72?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=K+Lauer#diff-YmxhcmsvdHJhbnNmb3JtLnB5) | `98.9% <92.0%> (-0.2%)` | :arrow_down: | | [blark/tests/test\_transformer.py](https://app.codecov.io/gh/klauer/blark/pull/72?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=K+Lauer#diff-YmxhcmsvdGVzdHMvdGVzdF90cmFuc2Zvcm1lci5weQ==) | `94.5% <100.0%> (+0.1%)` | :arrow_up: | ... and [2 files with indirect coverage changes](https://app.codecov.io/gh/klauer/blark/pull/72/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=K+Lauer)
klauer commented 1 year ago

@engineerjoe440 mind taking a look before I merge this?

klauer commented 1 year ago

Ah, no rush - blark is low priority for all involved. :) If you're willing to take a look later I'm happy to wait to merge. I'll be out for about a week starting tomorrow, also.

Have fun with the conference!

engineerjoe440 commented 1 year ago

Thank you! I'll give it a run-down on Friday. Can't wait!

engineerjoe440 commented 1 year ago

Just gave this a quick run and it's looking pretty nice! Thank you, again!