Skip to content

Explore lark as replacement for the pyparsing formula parser#124

Draft
pkienzle wants to merge 7 commits intomasterfrom
use-lark-parse
Draft

Explore lark as replacement for the pyparsing formula parser#124
pkienzle wants to merge 7 commits intomasterfrom
use-lark-parse

Conversation

@pkienzle
Copy link
Collaborator

@pkienzle pkienzle commented Mar 5, 2026

This is a standalone program for exploring lark as a replacement for pyparsing.

It does a better job of error messages (#34), and it is more robust than the existing parser.

parse_formula should be a drop-in replacement for periodictable.formulas.parse_formula but it hasn't yet een fully tested.

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.

1 participant