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

Parser failures in cace_read #39

Open
RTimothyEdwards opened this issue Mar 20, 2024 · 0 comments
Open

Parser failures in cace_read #39

RTimothyEdwards opened this issue Mar 20, 2024 · 0 comments
Assignees

Comments

@RTimothyEdwards
Copy link
Collaborator

The cace_read parser fails to identify an illegal parameter name. Since parameter names are used to generate file names, they must be both unique and may not contain spaces.

The parser also fails to identify a spec entry, and possibly all key:value dictionary entries, in which a key is given but no value is given. In the case of a specification entry, such as "minimum:", a missing value should be set by default to "any". In other cases, defaults should be substituted as makes sense or else a missing value should flag an error.

Ideally, flagged errors should report a line number in the file.

Failure to read a file in cace-gui should not result in an exit, which causes error messages to disappear.

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

2 participants