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

provide machine-readable, reliable output for result of checking realizability etc. #26

Open
slivingston opened this issue Jul 5, 2016 · 0 comments

Comments

@slivingston
Copy link
Member

Currently gr1c uses exit codes both to indicate errors (including unhandled signals, e.g., segmentation faults) and to report some results, e.g., realizability. This can cause confusion when other programs are interpreting exit codes, especially in situations where negative exit codes are converted to positive integers.

To address this, gr1c should give output in a machine-readable form for all operations (not only synthesis) and outcomes. Thus, other programs would only need to consider nonzero exit codes as errors and can otherwise only attempt to parse gr1c output. Consider keeping some or all of the current usage of exit codes from gr1c to facilitate shell scripting.

This feature request is motivated by a comment in tulip-control/tulip-control#152.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant