linux - Running Scheme from the command line -
How do you run a scheme program from a terminal in Linux (Ubuntu)? How to accept logic from the command line in the planning program?
Edit: DrScheme implementation using Im
DOS scheme implementation scheme, And the name you use to execute from the command line, is mzscheme
. Here are the documents to start the command line script:. The use of command line augues is explained here.
The result is that you can use the Shebang script like this:
#! / Usr / bin / env mzscheme #lang scheme / base (... scheme s-exps ...)
or if you want more control over the command line flag for Mzscheme
, you need to start this kind of script:
#! / Bin / sh # | Exec mzscheme -cu "$ 0" $ {1 + "$ @"} | ## Long scheme / Base (... scheme s-exps ...)
The function you use to command < Code>. You will find an example of how to use it in the article linked to the second link link.
Comments
Post a Comment