Entry function of DIL.
Creates the global compilation context.
Parses a debug or version command line option.
Prints the errors collected in diag.
Prints the help message of a command. If the command wasn't found, the main help message is printed.
Reads the standard input and returns its contents.
Updates cc with variables from GlobalSettings.
Available commands.