Node:Invoking Q, Next:Syntax, Previous:Acknowledgements and licensing, Up:Top
The way you run Q is very similar to how you run a typical shell.
Q [options] [file args]
First Q processes the options (these begin with a hyphen).
If there are no more arguments after processing the options, Q enters interactive mode: If prompts for an expression, evaluates it, and print it, before prompting for the next expression, and so on.
If there are arguments remaining after the options,
the first argument must name a Q source file.
Q evaluates that source file non-interactively,
setting the argv
array to whater arguments are left over.
These options are currently supported by Q:
-e expression
expresion
-f filename
-i
-Lnumber
--Lisp
--lisp
--Lisp
--Scheme
--scheme
--Scheme
--