CLI
lin's CLI (Command Line Interface) is (as of now) the only way to execute lin. There are two ways to use it.
String
lin -e '1 2 3 +'
Although convenient for single-line code snippets, this approach is not so great for multiline code.
File
lin file.lin
This is the recommended way of running lin programs.
Debugging
lin -v file.lin
The -v
flag turns on verbose mode, which displays detailed information about stack state.