How to actually use Prog.
This article describes how to actually use Prog: how to set up the environment and how to use it to create an application.
To get a copy of the Prog environment set up on your computer, do one of the following:
Option 1 is the easiest, option 2 is mainly for if you can't get option 1 to work right, and option 3 is for if you're mad and like building things from source.
If Prog is invoked with no command-line options, it grabs whatever Prog source it can get from standard input and executes it as though it were a source file. This allows Prog to receive input from pipes.
Though Prog can be used interactively by invoking it in this manner, it's more convenient to use the -i/--interact option to enable proper interactive mode.
The following command-line arguments are accepted:
Compile file to a default-named executable.
Enable the debug pragma.
Evaluate code as though it were a one-line source file.
Start Prog in help-browsing mode.
Start Prog in interactive mode.
Specify the output file to use for the next compilation.
Display the version string of the Prog executable.
Enable the warnings pragma.
Load and execute file
Open standard input as a file.
Debugging and warnings are activated regardless of where -d or -w appear on the command line. Multiple -c options produce multiple executables; each -o option only affects the output of the -c immediately following it. If -h, -i, or -v is specified, all other options are ignored.