-
Notifications
You must be signed in to change notification settings - Fork 11
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
Add --parse-only
flag
#492
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall looks good. If I am not mistaken the tests are not testing what you want them to test though, that is what my request for changes is about.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall looks good. If I am not mistaken the tests are not testing what you want them to test though, that is what my request for changes is about.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left a small style comment but overall happy with having this merged without further review 👍 .
This PR adds a
--parse-only
flag to the interpreter. Using this flag, the app just parses (and therefore validates) the given Jayvee model without executing it.The process (when called with
--parse-only
) ends with0
in case of valid model, with1
otherwise.