- pl2detlog_convert(+File, +Options)
- Write the Detlog and the Detlog MNN form of File (and every file it loads with a
relative path) into two folders next to its folder. Options:
form(detlog|mnn|both),
out(Dir) (the folder for a single form), main(Name) or query(Goal) (the entry: its
modes make more of the program deterministic).
- pl2detlog_compile(+File, +Options)
- Convert File, run the query in each form (Prolog, Detlog, Detlog MNN), check each gives
Prolog's output, and build an executable of the fastest. Options:
main(Name) or
query(Goal) (needed when the program has no main/0 or initialization(main, main)),
exe(Path), forms(List), budget(Seconds).
- pl2detlog_check(+File, +Options, -Results)
- Convert File to each form and run the query in each, in a fresh process. Results are
r(Form, Folder, MainFile, Answer-Output, SecondsPerRun).
Undocumented predicates
The following predicates are exported, but not or incorrectly documented.
- pl2detlog_convert(Arg1, Arg2, Arg3)
- pl2detlog_cli(Arg1)