Sample Header Ad - 728x90

Run Scheme one-liner from the command-line

3 votes
1 answer
595 views
How can I run a Scheme expression from the command-line using neither a script saved in a file, nor starting the interactive shell? The equivalent in Python would be: python -c "print 1+1". scheme (+ 1 1) just starts the interactive shell and shows the result inside it.
Asked by Pierre B (2293 rep)
Mar 9, 2017, 01:46 PM
Last activity: Jan 5, 2019, 02:16 PM