Unless inside a browser, Dogelog Player can be invoked from the command line. If a Prolog text <text> is supplied the Prolog system goes into scripting mode. In scripting mode, the Prolog system consults the Prolog text and then exits the Prolog system. The consulted Prolog text has access to the arguments <arg1> .. <argn> via the Prolog flag argv.
dogelog <text> <arg1> .. <argn>
If no Prolog <text> is supplied the Prolog system enters a Prolog top-level that consists of a read eval print loop (REPL). The Prolog system will read queries and show answer substitu-tions until it encounters a stream end of file (EOF) or the atom “end_of_file” in its input. The REPL will use some ASCII coloring to distinguish input/output.
The following session predicates are provided: