Next: , Up: guimb   [Contents][Index]


Specifying Scheme Program to Execute

Specifying Scheme Program to Execute

The Scheme program or expression to be executed is passed to guimb via the following options:

-s file
--source file

Load Scheme source code from file.

-c expr
--code expr

Execute given scheme expression.

The above switches stop further argument processing, and pass all remaining arguments as the value of (command-line).

If the remaining arguments must be processed by guimb itself, use following options:

-e expr
--expression expr

Execute scheme expression.

-f file
--file file

Load Scheme source code from file.

You can specify both of them. In this case, the file is read first, then expr is executed. You may still pass any additional arguments to the script using --guile-arg option.