Menu

#1 Command-line options.

Feature_Request
open
Other (1)
7
2003-08-28
2003-08-28
No

Some command-line options would be useful, the general
idea for those was this:

Interpreter:
smuf <compiled program file>
smuf -i <compiled program file>
smuf -i -c <uncompiled program file>
(The -i option is optional on all but the last.)

Compiler:
smuf -c -o <out.sm> <file.smuf> [... <file.smuf>]
smuf -c -i [-o <out.sm>] <file.smuf> [... <file.smuf>]
More:
-m <word> - Specify a specific word as main.
-d - Enable special debugging information inside
the bytecode file.
-p - Strip PUBLIC symbols from all words.
-P - Declare all words PUBLIC (good for
debugging).

Discussion


Log in to post a comment.

MongoDB Logo MongoDB