Modules - shell

The shell class provides an interactive shell that prompts for terms and then executes them.

:- import(shell).

main(_)
{
    shell::main("| ?- ");
}

shell::main/1


shell::main/1 - launch the interactive shell.

Usage
shell::main(Prompt)
Description
Displays Prompt on standard output and then reads a term from standard input to be executed. If the term is not exit or quit, then the process repeats after execution of the term. The help command can be used to request interactive help.

Generated on 26 May 2011 for plang by  doxygen 1.6.1