\fBnimf\fP is a stack based concatenative programming language and interpreter. The interpreter is implemented in Go. It is in the general language family of forth as far as coding style, though the underlying design differs.
.TP
If no input file is provided \fBnimf\fP will run in interactive mode (a REPL). If a file is given \fInimf\fP will run in file mode: it will execute the contents of the file and exit.
If no input file is provided \fBnimf\fP will run in interactive mode (a REPL). If a file is given \fBnimf\fP will run in file mode: it will execute the contents of the file and exit.
.SHOPTIONS
.TP
.B
@ -24,8 +24,12 @@ Sets the quantity of memory cells available to nimf. The default (250000) is usu
.B
\fB-stack-depth\fP
Set the depth of the data and return stacks. The default (250) is usually sufficient, but can be changed via this option to any positive integer.
.SHLIB
\fInimf\fP can inline modules from its provided library as well as from users. The \fBinline\fP word will search the following locations for files with the suffix \fB.nh\fP (the first one found will be used):
.TP
.B
\fB-run\fP
Runs the given program, passed in as a quoted string, and exits. Can be combined with \fI-memory\fP and \fI-stack-depth\fP, but will overwrite any file passed in.
.SHLIBRARY/Modules
\fBnimf\fP can inline modules from its provided library as well as from users. The \fIinline\fP word will search the following locations, in the following order, for files with the suffix \fI.nh\fP (the first one found will be used):
.TP
.B
\fB./\fP
@ -34,6 +38,9 @@ Set the depth of the data and return stacks. The default (250) is usually suffic