Did you know ... Search Documentation:
Pack logicmoo_utils -- prolog/script_files.pl
PublicShow source

This module allows running prolog files as scripts. @author Douglas R. Miles @license LGPL

Prolog source-code will echo while running

 this_script_begin is det
Process This Script.

Echoing the file

Same as :- process_this_script_with(compile_normally, echo_file).

 this_script_ends is det
Resume normal Prolog file handling
 process_script_file is det
Process This Script with :Pred1 echo Echo

Same as :- process_this_script_with(compile_normally, skip(_)).

 process_stream(?S) is det
Process file stream input

Undocumented predicates

The following predicates are exported, but not or incorrectly documented.

 process_script_file(Arg1)
 process_script_file(Arg1, Arg2)
 visit_script_term(Arg1)
 get_file_from_stream(Arg1, Arg2)
 assume_caughtup_to(Arg1, Arg2, Arg3)