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

Use a library to parse custom syntax in arguments #52

Open
piodul opened this issue Sep 15, 2023 · 0 comments
Open

Use a library to parse custom syntax in arguments #52

piodul opened this issue Sep 15, 2023 · 0 comments

Comments

@piodul
Copy link
Collaborator

piodul commented Sep 15, 2023

The c-s and s-b frontends have some parameters with custom syntax. Currently, they are all parsed using ad-hoc routines that manipulate on strings, which are tedious to write and hard to read. We should consider pulling in a parsing library and defining the syntaxes of the parameters in a declarative way.

When choosing the library, we should optimize for code readability and clear error messages. The performance is completely irrelevant as parsing only happens at the program start.

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

No branches or pull requests

1 participant