-
Notifications
You must be signed in to change notification settings - Fork 1
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 #15
Comments
Now there is:
This demonstrates that exceptions go to stderr:
Need to call |
How to handle R6RS vs R7RS eval for Schemes that have both? Should we permit passing custom command line arguments in addition to the thing-to-be-evaled? |
What about using |
That is definitely possible, but slightly more complex. We'd have to make a tempfile on the host OS, give the However, you'd be right that evaling a big expression is not very convenient this way. One option is to read code from stdin, which would let us pass an entire source file without a mount. |
Ideally we'd have a DSL on the host side to write portability tests like this:
Then a runner would run them. Perhaps the list of Schemes in |
For evaling a lot of code at one, yet another option is to pipe an uncompressed |
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.
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.The text was updated successfully, but these errors were encountered: