Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lark parser #12

Merged
merged 8 commits into from
Jan 17, 2019
Merged

Lark parser #12

merged 8 commits into from
Jan 17, 2019

Conversation

henryiii
Copy link
Member

@henryiii henryiii commented Aug 8, 2018

This replaces the decay backend with the Lark parser, making it easier to maintain. While there is no front-end yet, a decfile parser is also included. A few features have come along:

  • Particle: now supports more types of input in the renamed from_string (was from_AmpGen)
  • Particle: now has a user command line program python -m decaylanguage.particle <particles>
  • Particle: Cleaner repr
  • Decay: Now refactored with a base class (for future DecFile parser possibly)

Along with one regression:

  • Cartesian lines are not combined yet (needs better test or should be dropped from supported language)

And several bugs fixed, primarily with the decaylanguage script (which will probably be moved to decaylanguage.decay at some point, since decaylanguage.particle and decaylanguage.decfile are distinct and equal)

@coveralls
Copy link

coveralls commented Aug 8, 2018

Coverage Status

Coverage decreased (-25.3%) to 55.251% when pulling 0c4258b on lark into d6be14b on master.

@henryiii henryiii merged commit 3b0588a into master Jan 17, 2019
@henryiii henryiii deleted the lark branch January 17, 2019 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants