dev-cafe / parselglossy

Generic input parsing library, speaking in tongues.
https://parselglossy.readthedocs.io
MIT License
7 stars 2 forks source link

Grammar mistakes #36

Closed robertodr closed 5 years ago

robertodr commented 5 years ago

Fixes more cases, found by @stigrj, where the grammar was not giving the expected results. See #35 and #30. It also fixes the missing files from the installed package. I have refactored the recursive grammar a bit, also to avoid code duplication. I have no love lost for pyparsing, which is a very strange beast indeed. Ordering of tokens is important both for matching and performance. With the current refactoring tests are noticeably faster.

bast commented 5 years ago

Travis seems to take a while - please merge once CI is done.

codecov[bot] commented 5 years ago

Codecov Report

Merging #36 into master will decrease coverage by 1.46%. The diff coverage is 91.42%.

codecov[bot] commented 5 years ago

Codecov Report

Merging #36 into master will decrease coverage by 1.46%. The diff coverage is 91.42%.