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

Standardized scheme-eval command #16

Closed
lassik opened this issue Nov 3, 2020 · 1 comment
Closed

Standardized scheme-eval command #16

lassik opened this issue Nov 3, 2020 · 1 comment

Comments

@lassik
Copy link
Contributor

lassik commented Nov 3, 2020

For portability-testing a feature across many implementations, it would be great if we could do something like this:

docker run schemers/bigloo scheme-eval "(+ 1 (* 2 3))"

It would evaluate the expression.

  • On success, write the results to standard output as Scheme forms, one value per line, and exit with code 0.
  • On failure, write free-form info about the exception to stderr, and exit with nonzero code.

If this works consistently across containers (as scheme-script now does among many) it would be easy to write a runner script to launch containers for a test, collect and curate the results.

@lassik
Copy link
Contributor Author

lassik commented Nov 3, 2020

(Duplicate post of #15 due to a glitch in the GitHub UI.)

@lassik lassik closed this as completed Nov 3, 2020
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