SWI-Prolog provides a large number of
hooks, mainly to control handling messages, debugging, startup,
shut-down, macro-expansion, etc. Below is a summary of all defined hooks
with an indication of their portability.
prolog_load_file/2
Hook into load_files/2
to load other data-formats for Prolog sources from `non-file' resources.
The load_files/2
predicate is the ancestor of consult/1, use_module/1,
etc.