0mm
BinProlog Professional Edition
Predicate Cross-Reference Guide
Written by BinProlog Itself
Paul Tarau
under the kind regards of:
BinNet Corp.
WWW: http://www.binnetcorp.com
$hx/3
# /3
(#*)/3
(#+)/3
(#-)/3
(#:)/3
(#<)/3
(#=)/3
(#>)/3
(#?)/3
$process_catch/3
* /3
** /3
(+)/2
(++)/3
(,)/2
(-)/2
(->)/2
(.)/3
/ /3
// /3
/\ /3
(::-)/2
(;)/2
<< /3
>> /3
@ /3
(@<)/2
(@=<)/2
(@>)/2
(@>=)/2
\ /2
(\+)/1
\/ /3
(\=)/2
^ /2
abolish/1
abs/2
abstime/1
acos/2
all/2
all/3
all_answers/3
all_but_at_least/4
all_for/2
and/2
answer_of/2
appendN/2
append_conj/3
append_disj/3
argn/3
asin/2
asm/0
asm/1
assert_from_chars/1
asserta/1
asserted/1
atan/2
atan2/3
atom_chars/2
bagof/3
bb/0
bb_gc0/0
bb_get/3
bbgc/0
bp_only/1
bp_val/3
call/1
call/3
call/5
call/6
call/7
call_external/3
call_jinni/1
catch/3
cd/0
cd/1
ceiling/2
char_of/2
check_password/1
cin/1
clause_of/2
clean_up_dead_engines/0
clean_up_engines/0
clone_term/3
close/1
close_socket/1
cmake/0
co/0
compare/3
compile/1
compound/1
compute/4
cos/2
count_terms/2
cout/1
cpopq/3
create_new_engine/1
current_engine/1
current_output/1
current_predicate/1
current_thread/1
cwrite/1
db_assert/2
db_asserted/2
db_clean/0
db_is_dynamic/2
db_listing/1
db_listing/2
dcg_call/5
dcg_connect/1
dcg_def/1
dcg_tell/1
dcg_telling/1
dcg_val/1
dconsult/1
default_login/1
default_this_host/1
delete_all_terms/1
destroy_array/1
det_call/1
detect_ip_addr/1
detect_user/1
dir/0
dir2dirs/2
dir2files/2
(discontiguous)/1
display/1
dyn2stat/1
(dynamic)/1
dynbbgc/0
ed/0
edit/0
edit/2
element_of/2
emacs/0
end_module/1
end_of_file/0
eq/2
exit/0
exp/2
expand_term/2
false/0
fcall/3
fcompile/1
file2chars/2
file2sock/2
file_size/2
find_while/4
findall/3
float/2
floor/2
flush_output/0
flush_output/1
foldr/4
for_all/2
forall/1
forall/2
foreach/1
free_term/1
free_thread_guard/1
from_engine/1
garbage_collect/0
gc/0
gc_call/1
gc_status/1
generic_write/1
get/1
get/2
get_all_terms/2
get_char/2
get_critical/2
get_deep_cut/2
get_load_method/1
get_neck_cut/1
get_next_term/2
get_password/1
get_term/2
global_get/3
global_rm/2
global_set/3
handle_service/2
has_terms/1
hash_clear/1
hash_clear/2
hash_compile/0
hash_find_unique/3
hash_gc/0
hash_load/1
hash_push/2
hash_put/2
hash_rm/2
hash_rm_one/2
hash_save/1
hash_trace/2
help/0
help/1
hkey/2
host2ip/2
hostname/1
hypot/3
if_any/3
in/1
info/0
instance_of/2
interactive/1
is_an/1
is_discontiguous/1
is_engine/1
is_maj/1
is_min/1
is_num/1
is_public/1
is_spec/1
is_terminator/1
list_engines/0
listify/2
listing/0
listing/1
load/1
local_when/1
log/2
log/3
ls/0
ls2list/2
lval/3
make_array/2
make_compileable/2
make_spaced_cmd/2
map/2
map/3
map_gc/1
map_new/1
map_show/1
maps_clean/0
maps_gc/0
maps_iterate/1
maps_show/0
match_before/4
max/3
memberchk/2
min/3
mmap_new/1
mmap_put/3
mmap_rm_all/2
mmap_rm_one/3
mmap_show/1
mmaps_clean/0
mmaps_gc/0
mmaps_iterate/1
mmaps_show/0
mod/3
(mode)/1
(module)/2
modules/1
msort/2
new_builtin/3
new_engine/3
new_key_iterator/1
new_name/2
new_term/2
new_thread_guard/1
nobbgc/0
nogc/0
(not)/1
notepad/0
notify_about/1
notrace/0
nth_answer/2
nth_member/3
number_chars/2
oconsult/1
older_file/2
one/4
op/3
open/3
otherwise/0
otime/1
out/1
override/3
peer_addr/2
peer_port/2
phrase/2
pico/0
plus/4
pow/3
pp_term/1
print/1
process_term/3
prod/2
profile/0
prolog_flag/2
prolog_init/1
prolog_load/1
prolog_run/1
push_term/2
put_char/2
put_critical/2
put_term/2
pwd/0
pwd/1
qcompile/1
qmake/1
quietmes/1
quit/0
random/1
random_seed/1
rd/1
read_line/1
read_term/2
read_term_from_chars/2
read_terms_from_chars/2
read_words/1
reboot/0
remote_run/1
remove_current_term/1
restart/0
retract/1
retract1/1
return/1
reverse/2
round/2
rpc_server/0
rpc_test/0
run_server/0
scompile/1
sconsult/1
see_at/1
seeing_at/1
sentence_of/2
service_loop/2
set_c_threshold/1
set_hash_max/1
set_host/1
set_load_method/1
set_login/1
set_output/1
set_password/1
set_port/1
set_prolog_flag/2
set_this_host/1
set_this_port/1
set_timeout/1
setarg/3
setof/3
shell/1
show_defaults/0
show_engine/0
show_info/2
sign/2
sin/2
sock2file/2
sock_read/2
sock_readln/2
sock_write/2
sock_writeln/2
solutions/2
spawn/1
spying/1
sqrt/2
stat/0
stat2dyn/1
static_prolog_flag/2
stop/0
stop/1
stop_service/0
sum/2
swrite/2
swrite/3
tab/1
tan/2
tell_at/1
tell_at_end/1
telling_at/1
term_hash/2
textedit/0
the/1
this_db/1
thread_cancel/1
thread_exit/0
thread_join/1
thread_notify/1
thread_notify_all/1
thread_wait/1
throw/1
timed_call/4
to_engine/2
to_string/2
to_tokens/2
tokens_of/2
toplevel/0
trace/0
trace/1
trim_term/4
truncate/2
try_unlock_thread_guard/1
tstest/3
tsync_op/3
unix/1
update_current_term/2
variant_of/2
vars_of/2
vget/2
vi/0
wait_for/2
write_term_to_chars/2
write_words/1
writeq/1
x_gc/0
x_profile/0
x_trace/1
x_trace/2
xload/1
xsave/1
~ /1
# /3
INFO: bitwise XOR
EXAMPLE(S):
?-#(1,2,_A).
_A = 3;
no
(##)/1
INFO: executes arg 1 at compile time - make sure the executed code terminates
Calls:
Is called from:
hash_clear/1
hash_put/2
hash_rm/2
hash_rm_one/2
numbervars/3
x_asserta/1
x_assertz/1
x_retractall/1
(#*)/3
INFO: (X): adds intuitionisic assumption *(X) to be used indefinitely by #- operation
(#+)/3
INFO: (X): adds linear assumption +(X) to be consumed at most once, by a #- operation
(#-)/3
INFO: (X): consumes +(X) linear assumption or matches *(X) intuitionistic assumption
(#:)/3
INFO: (X): matches X against current dcg token
(#<)/3
INFO: (Xs): sets the dcg token list to be Xs
(#=)/3
INFO: (X): unifies X with any matching existing or future +(X) linear assumptions
(#>)/3
INFO: (Xs): unifies current dcg token list with Xs
(#?)/3
INFO: (X): matches +(X) or *(X) assumptions without any binding
$process_catch/3
INFO: processes data sent by catch for throw
Calls:
copy_term/2
untrail_to/1
* /3
INFO: multiply
EXAMPLE(S):
?-*(10,3,_A).
_A = 30;
no
** /3
INFO: returns arg 1 at power arg 2, a float
EXAMPLE(S):
?-**(2,3,_A).
_A = 8;
no
(+)/2
INFO: returns 0 + arg 1
Calls:
(+)/3
(+)/3
INFO: add
EXAMPLE(S):
?-+(10,3,_A).
_A = 13;
no
Is called from:
(+)/2
(++)/3
INFO: concatenates N lists, usable in is/2
(,)/2
INFO: A,B succeeds if A suceeds and B, called after A, succeeds
(-)/2
INFO: returns 0 - arg 1
Calls:
(-)/3
(-)/3
INFO: subtract
EXAMPLE(S):
?--(10,3,_A).
_A = 7;
no
Is called from:
(-)/2
(->)/2
INFO: Cond->Then executes Cond once; if it succeeds it also executes Then
(.)/3
INFO: (Head,Tail,List) builds List=[Head|Tail]
/ /3
INFO: division
EXAMPLE(S):
?-/(10,3,_A).
_A = 3.33333333;
no
// /3
INFO: integer division
EXAMPLE(S):
?-//(10,3,_A).
_A = 3;
no
/\ /3
INFO: bitwise AND
EXAMPLE(S):
?-/\(1,2,_A).
_A = 0;
no
(::-)/2
INFO: variant of :- for hand transformed binary clauses - use with care
(;)/2
INFO: A;B succeeds if A succeeds or B, called after A, succeeds
(<)/2
INFO: numeric comparison
Calls:
less/2
<< /3
INFO: left shifts arg 1 by arg 2 bits
EXAMPLE(S):
?-<<(1,5,_A).
_A = 32;
no
(=)/2
INFO: (X,Y) true if (possibly cyclic) terms X and Y unify - cyclic terms can result from =/2, as occur check is not performed
EXAMPLE(S):
?-f(_A,s(a)) = f(_B,_B).
_A = s(a);
_B = s(a);
no
Is called from:
abs/2
apropos/2
ask/5
atom_codes/2
bagof/3
call_jinni/1
call_jinni/3
char_of/2
clean_up_dead_engines/0
clean_up_engines/1
current_module/1
db_retract1/2
det_call/1
dir2list/3
drop_at_least/2
dynco/1
file_size/2
from_engine/1
gensym_no/2
get/1
get/2
get_char/2
get_engine_id/2
get_engine_thread/2
has_terms/1
hash_trace/2
if_any/3
info/1
interactive/1
(is)/2
is_prolog/1
line_of/2
list_engines/0
make_compileable/2
maps_iterate/1
max/3
memberchk/2
min/3
mmaps_iterate/1
new_thread_guard/1
nth_answer/2
numbervars/3
phrase/3
popen/3
rpc_test/1
sentence_of/2
show_info/2
sign/2
synchronize_on/3
take_at_most/2
term_of/2
the/3
timed_call/4
to_lower_char/2
to_tokens/2
to_upper_char/2
to_word_codes/2
trim_term/4
x_trace/2
x_traced_call/1
(=..)/2
INFO: called univ -this is bidirectional- it converts between a term and its view as a alist of components
EXAMPLE(S):
?-f(a,b) =.. _A.
_A = [f,a,b];
no
?-_A =.. [f,a,b].
_A = f(a,b);
no
Calls:
var/1
(=:=)/2
INFO: numeric comparison
Calls:
arith_eq/2
(=<)/2
INFO: numeric comparison
Calls:
less_eq/2
free_thread_guard/1
min/3
quietmes/2
to_lower_char/2
to_upper_char/2
(==)/2
INFO: true if args are identical terms
Is called from:
(=\=)/2
INFO: numeric comparison
Calls:
arith_dif/2
clean_up_engines/1
(>)/2
INFO: numeric comparison
Calls:
greater/2
default_this_port/1
get/1
has_threads/0
max/3
sign/2
timed_call/4
(>=)/2
INFO: numeric comparison
Calls:
greater_eq/2
abs/2
float/1
free_thread_guard/1
to_lower_char/2
to_upper_char/2
>> /3
INFO: right shifts arg 1 by arg 2 bits
EXAMPLE(S):
?->>(16,2,_A).
_A = 4;
no
@ /3
INFO: alternative form for C/3 DCG connect relation
Calls:
C/3
(@<)/2
INFO: instance of compare/3 with arg 1: <
(@=<)/2
INFO: instance of compare/3 with arg 1: = or <
(@>)/2
INFO: instance of compare/3 with arg 1: >
(@>=)/2
INFO: instance of compare/3 with arg 1: > or =
C/3
INFO: DCG connect predicate
Is called from:
\ /2
INFO: complement
Calls:
\ /3
\ /3
INFO: bitwise or of first arg with bitwise complement of second
EXAMPLE(S):
?-\(0,2,_A).
_A = -3;
no
Is called from:
\ /2
(\+)/1
INFO: succeeds if its argument is executed and fails
Calls:
fail/0
\/ /3
INFO: bitwise OR
EXAMPLE(S):
?-\/(1,2,_A).
_A = 3;
no
(\=)/2
INFO: true if args fail to unify
Calls:
fail/0
(\==)/2
INFO: true if arg 1 is not identical to arg 2
Is called from:
^ /2
INFO: calls arg 2 and binds arg 1
EXAMPLE(S):
?-_A^eq(_A,1).
_A = 1;
no
abolish/1
INFO: abolish(F/N) deletes predicate F/N
Calls:
abort/0
INFO: returns to toplevel
Is called from:
abs/2
INFO: int function
Calls:
abstime/1
INFO: gets time in secs since arbitrary origin
EXAMPLE(S):
?-abstime(_A).
_A = 343415941;
no
Calls:
acos/2
INFO: float function
addq/3
INFO: adds to end of persistent queeue
EXAMPLE(S):
?-addq(key1,key2,33).
yes
Calls:
(==)/2
(\==)/2
bb_gc/0
clear_bp_error/0
fatal_error/2
get_bp_error/4
all/2
INFO: gets the list of terms matching arg 1 from Linda blackboard
Calls:
local_all/2
all/3
INFO: gets a selection arg 1 of terms matching arg 2 from Linda blackboard
Calls:
local_all/3
all_answers/3
INFO: (X,G,Xs): like findall/3, but such that if V is not common to X and G then V cannot be bound by execution of G
EXAMPLE(S):
?-all_answers(_A,member(s(_A),[_B,_C,_C,_D]),_E).
_A = _x149098;
_B = s(_x150167);
_C = s(_x150194);
_D = s(_x150248);
_E = [_x150167,_x150194,_x150194,_x150248];
no
all_but_at_least/4
INFO: (N,X,G,Xs) findall variant, computing all but the first N answers X of G
Calls:
drop_at_least/2
all_for/2
INFO: all_for(X,Xs) collects all constrained terms X on the blackboard to list Xs
and/2
INFO: conjunction, like comma
answer_of/2
INFO: (X,G): X is an answer for G, after finding all, sorting and removing duplicates
Calls:
answer_one_query/2
INFO: handles a Jinni service S with password P
Is called from:
service_loop/2
append/3
INFO: concatenates/decomposes lists
EXAMPLE(S):
?-append([1,2],[3,4],_A).
_A = [1,2,3,4];
no
?-append(_A,_B,[1,2]).
_A = [];
_B = [1,2];
_A = [1];
_B = [2];
_A = [1,2];
_B = [];
no
Calls:
append/3
appendN/2
INFO: concatenates N lists
EXAMPLE(S):
?-appendN([[a,b],[],[c]],_A).
_A = [a,b,c];
no
append_conj/3
INFO: concatenates 2 conjunctions
append_disj/3
INFO: concatenates 2 disjunctions
apropos/1
INFO: prints names of predicates defined in the system
EXAMPLE(S):
?-apropos(garbage).
use info/1 to get a description of a predicate
garbage_collect/0-[built_in,performs heap gc now]
yes
Calls:
Is called from:
help/1
apropos/2
INFO: returns names of predicates defined in the system
EXAMPLE(S):
?-apropos(retract,_A).
_A = retract/1-[built_in,backtracks over deleting matching clauses];
_A = retract1/1-[built_in,deletes first matching clause in the current database];
_A = retractall/1-[built_in,deletes all matching clauses];
_A = x_retract/1-[built_in,db hook, backtracks over deleting matching clauses];
_A = x_retractall/1-[built_in,db hook, deletes all matching clauses];
_A = db_retract/2-[built_in,does retract/1 arg 2 from database given as arg 1];
_A = db_retract/3-[built_in,db_retract(Db,H,B) retracts clause with head H and body B from database Db];
_A = db_retract1/2-[built_in,deletes from database given as arg 1 a matching clause];
_A = db_retractall/2-[built_in,removes from database given as arg 1, all matching clauses];
_A = db_retractall/3-[built_in,removes from database given as arg 1, all matching clauses seen as head + body];
_A = prolog:x_retract_each/1-[compiled];
_A = prolog:db_retractall0/3-[compiled];
_A = prolog:x_retract/2-[compiled];
_A = prolog:x_retract_args/5-[compiled];
no
Calls:
(=)/2
(\==)/2
bp_info/2
functor/3
name/2
near_match/2
predicate_property/2
apropos/1
arg/3
INFO: arg(I,T,X) extracts arg I of term T to be unified with X
EXAMPLE(S):
?-arg(2,f(a,b),_A).
_A = b;
no
Is called from:
(##)/1
argn/3
db_retractall/3
float/1
hash_load/1
hash_save/2
if_any/3
term_of/2
argn/3
INFO: generates all n args of term
EXAMPLE(S):
?-argn(_A,f(a,b),_B).
_A = 1;
_B = a;
_A = 2;
_B = b;
no
Calls:
arith_dif/2
INFO: arithemetic comparison
Is called from:
(=\=)/2
arith_eq/2
INFO: arithemetic comparison
Is called from:
(=:=)/2
array_get/3
INFO: gets and dereferences array element
Is called from:
array_get0/3
INFO: gets array element
Is called from:
vget0/2
array_set/3
INFO: sets array element
Is called from:
vset/2
asin/2
INFO: float function
ask/5
INFO: ask(ClientSocket,X,G,W,R): calls rpc server on on ClientSocket with query X goal G password W and gets result R back - supports socket reuse
Calls:
(=)/2
rpc/3
ask_engine/2
INFO: ask_engine(E,X) retrieves from engine E (a copy of) answer X
Is called from:
get/2
ask_thread/2
INFO: (E,R): asks an answer of engine E on a new thread R
Is called from:
bg/7
asm/0
INFO: shows transformations and readable BinWAM assembler for Prolog code entered at terminal
asm/1
INFO: generates readable binarized form and BinWAM assembler to a file
assert/1
INFO: adds a clause
Calls:
assertz/1
set_default/1
assert_from_chars/1
INFO: asserts a program from clauses in list of chars
Calls:
assert_from_chars/2
INFO: (Db,Cs) asserts to database Db, a set of clauses parsed from list of char codes Cs
Calls:
foreach/2
assert_from_chars/1
asserta/1
INFO: adds a clause to be first in a predicate definition
Calls:
asserted/1
INFO: runs a predicated if asserted
Calls:
assertz/1
INFO: adds a clause to be last in a predicate definition
Calls:
Is called from:
assert/1
atan/2
INFO: float function
atan2/3
INFO: float function
atom/1
INFO: true if symbol (functor of arity 0)
EXAMPLE(S):
?-atom(a).
yes
Calls:
Is called from:
atom_chars/2
INFO: (Atom,CharAtoms): converts between an atom and its list of char atoms representation
EXAMPLE(S):
?-atom_chars(hello,_A).
_A = [h,e,l,l,o];
no
?-atom_chars(_A,[104,101,108,108,111]).
no
Calls:
atom_codes/2
INFO: (Atom,CharCodes): converts between an atom and its list of char code representation
EXAMPLE(S):
?-atom_codes(hello,_A).
_A = [104,101,108,108,111];
no
?-atom_codes(_A,[104,101,108,108,111]).
_A = hello;
no
Calls:
Is called from:
atomic/1
INFO: true if an integer or symbolic constant
Is called from:
atom/1
close/1
compound/1
make_compileable/2
numbervars/3
system/2
trim_term/4
bagof/3
INFO: all solutions predicate generating unsorted bags of possibly dupplicated answers
EXAMPLE(S):
?-bagof(_A,member(_A,[3,2,2,1]),_B).
_A = _x148833;
_B = [3,2,2,1];
no
Calls:
bb/0
INFO: lists (long!) content of the blackboard
bb_def/3
INFO: bb_def(K1,K2,T) associates to K1 and K2 (a copy of) T on the blackboard
Is called from:
bb_gc/0
INFO: performs blackboard gc now, if enabled
Calls:
Is called from:
bb_gc0/0
INFO: performs blackboard gc now, in this engine
Calls:
bb_reset/1
copy_term/2
debugmes/1
fail/0
(is)/2
statistics/2
bb_get/3
INFO: bb_get(K1,K2,T) consumes the term T associated with K1 and K2
Calls:
bb_let/3
INFO: bb_let(K1,K2,T) updates or defines the term associated with K1 and K2 to be T
Calls:
Is called from:
bb_reset/1
INFO: cleans up and resizes to at least arg 1 bytes compound term area of the blackboard
Is called from:
bb_gc0/0
bb_rm/2
INFO: removes the term associated with K1 and K2 from the blackboard
Is called from:
bb_set/3
INFO: bb_set(K1,K2,T) updates the term associated with K1 and K2 to be a copy of T
Is called from:
bb_val/3
INFO: bb_val(K1,K2,T) T is (a copy of) the term associated with keys K1 and K2
Calls:
copy_term/2
bb_get/3
current_module/1
from_engine/1
is_module/1
is_prolog/1
map_get/3
show_default/1
bbgc/0
INFO: enables blackboard gc
bbgc_status/1
INFO: shows if blackboard gc is enabled or not
Calls:
vget0/2
bb_gc/0
begin_critical/0
INFO: begin serialized execution - enters critical region
Calls:
lock_thread_guard/1
sdebug/1
bg/1
INFO: runs Goal in background thread - you can set engine size like in heap(500)=>bg(...)
Calls:
bg/2
rpc_test/0
bg/2
INFO: runs Goal in new background thread, which is returned in second arg
Calls:
bg/3
bg/1
bg/3
INFO: bg(Goal,Thread,EngineAddr): runs goal in background if threads are available
Calls:
bg/4
bg/4
INFO: bg(Goal,Thread,EngineAddr,EngineID): runs goal in background on new engine - with unique EngineID
Calls:
bg/7
bg/3
bg/7
INFO: bg(Goal,H,S,T,-Thread,-EngineAddr,-EngineID): runs goal in background on engine with given heap,stack,trail
Calls:
ask_thread/2
debugmes/1
get_engine_id/2
has_threads/0
load_engine/3
topcall/1
boot/0
INFO: regenerates file wam.bp in BinProlog src directory
Is called from:
reboot/0
bp_info/2
INFO: keeps basic help info on BinProlog builtins
Calls:
Is called from:
apropos/2
bp_only/1
INFO: runs goal only if is_prolog(binprolog) is true
Calls:
bp_only/2
bp_only/2
INFO: (Goal,Alternative): runs goal only if is_prolog(binprolog) is true otherwise runs Alternative
Calls:
is_prolog/1
bp_only/1
bp_val/3
INFO: unifies with 2 key indexed global logical variable
call/1
INFO: executes (atomic!) arg 1
call/2
INFO: efficient call/N variant
Calls:
term_append/3
include/1
call/3
INFO: efficient call/N variant
Calls:
term_append/3
call/4
INFO: efficient call/N variant
Calls:
term_append/3
compute/4
call/5
INFO: efficient call/N variant
Calls:
term_append/3
call/6
INFO: efficient call/N variant
Calls:
term_append/3
call/7
INFO: efficient call/N variant
Calls:
term_append/3
call_external/3
INFO: args: StringToStringFunctionAddress,InputChars,OuputChars - calls a C function
call_ifdef/2
INFO: calls if predicate head is defined, calls arg 2 if not
Calls:
Is called from:
call_jinni/1
INFO: call_jinni(G) calls Jinni in Twin Prolog with first answer binding G and fails if no answers are found
Calls:
call_jinni/2
INFO: call_jinni(G,R) calls Jinni in Twin Prolog with first answer R=the(G) or R=no, without binding G
Calls:
call_jinni/3
call_jinni/1
call_jinni/3
INFO: call_jinni(X,G,R) calls Jinni in Twin Prolog with first answer R=the(X) or R=no, without binding G
Calls:
(=)/2
callable/1
INFO: checks if predicate head is defined (callable)
Calls:
Is called from:
default/2
catch/3
INFO: ISO Prolog exception operator: executes arg 1 and if it catches arg 2, it executes arg 3
Calls:
fail/0
cd/0
INFO: changes local dir to HOME directory or / if no such env var
cd/1
INFO: changes local dir to arg 1
Calls:
unix_cd/1
cdelq/4
INFO: deletes first matching element from a queue
EXAMPLE(S):
?-cdelq(key1,key2,_A,_B).
_A = _x148632;
_B = 33;
no
Calls:
array_get/3
cdelq_any/3
INFO: deletes any matching element from a queue
EXAMPLE(S):
?-cdelq_any(key1,key2,_A).
no
Calls:
array_get/3
mmap_rm/3
ceiling/2
INFO: float to int function
EXAMPLE(S):
?-ceiling(1.3,_A).
_A = 2;
no
Calls:
change_arg/3
INFO: destructive: change_arg(I,T,X) replaces arg I of T with X
EXAMPLE(S):
?-change_arg(2,f(a,b),c).
yes
Is called from:
if_any/3
char_of/2
INFO: reads a Prolog file to a set of ascii codes - on backtracking
Calls:
(=)/2
(=:=)/2
fail/0
fclose/1
fgetc/2
find_file/2
fopen/3
repeat/0
check_password/1
INFO: checks that password matches default password
Calls:
cin/1
INFO: tries to get and remove a term from Linda blackboard
Calls:
local_cin/1
clause/2
INFO: clause(H,B) generates a clause with head matching H and body B
Calls:
Is called from:
asserted/1
clause_of/2
INFO: reads a Prolog file to a set of clauses - on backtracking
Calls:
term_of/2
clean_up_dead_engines/0
INFO: frees resources used by dead engines
Calls:
clean_up_engines/0
INFO: frees resources used by all engines except main
Calls:
clean_up_engines/1
clean_up_engines/1
INFO: internal predicate
Calls:
(=)/2
(=\=)/2
debugmes/1
destroy_engine/1
fail/0
get_engine_prop/3
list_engines/1
member/2
clear_bp_error/0
INFO: clears errors set by various conditions
Calls:
set_bp_error/4
clone_term/3
INFO: clone_term(Vs,T,CT) does copy_term(T,C) while keeping unchanged variables Vs - useful if doing things like setarg/3 on the new copy
EXAMPLE(S):
?-clone_term([_A,_C],f(_A,_B,_B,_C),_D).
_A = _x149609;
_B = _x148979;
_C = _x149612;
_D = f(_x149609,_x149610,_x149610,_x149612);
no
Calls:
copy_term/2
close/1
INFO: closes a stream opened by open/3
Calls:
atomic/1
close_iterator/1
INFO: (Iterator) closes an iterator
Calls:
term_store_op/4
get_all_terms/2
close_socket/1
INFO: closes a server, service or client
close_stream/2
INFO: (Type,StreamID) closes various streams
Is called from:
fclose/1
cmake/0
INFO: compiles BinProlog's Prolog components to compact C code - for packaging as standalone executable
Calls:
cmake/1
cmake/1
INFO: compiles a Project to compact C code - for packaging as standalone executable
Calls:
cmake/2
cmake/0
cmake/2
INFO: (Project,Module): compiles to C a project with all clauses belonging to Module
Is called from:
cmembq/3
INFO: generates (copies of) members of a queue
EXAMPLE(S):
?-cmembq(key1,key2,_A).
no
Calls:
array_get/3
cnl/0
INFO: writes a new line
Is called from:
nl/0
co/0
INFO: reconsults/recompiles last file
Calls:
include/1
co/1
INFO: reconsults using fast reader
Calls:
reconsult/1
~ /1
codes_words/2
INFO: converts a list of character codes to a list of words and back
Calls:
to_words/2
var/1
words_code/2
compare/3
INFO: returns <,=,> in arg 1 after comparing arg 2 with arg 3
EXAMPLE(S):
?-compare(_A,1,2).
_A = (<);
no
?-compare(_A,f(b),f(a)).
_A = (>);
no
?-compare(_A,s(_B),s(_B)).
_A = (=);
_B = _x148979;
no
compile/1
INFO: applies current compilation method to the file arg 1
compound/1
INFO: true if it has arity > 0
EXAMPLE(S):
?-compound(f(a)).
yes
Calls:
compute/4
INFO: applies Op to arg 2 and arg 3 giving a result
Calls:
call/4
consult/1
INFO: consults with possible duplication of clauses, allows later dynamic recompilation depending on db_ratio/1
Calls:
Is called from:
xload/1
consult/2
INFO: consult(File,DB) consults File into DB)
Calls:
db_consult/2
consult/1
copy_term/2
INFO: returns a copy of arg 1 with fresh variables
EXAMPLE(S):
?-copy_term(f(_A,_A,_B,_B),_C).
_A = _x148811;
_B = _x148813;
_C = f(_x149247,_x149247,_x149249,_x149249);
no
Is called from:
cos/2
INFO: float function
count_terms/2
INFO: returns the number of terms attached to a key
Calls:
term_store_op/4
cout/1
INFO: adds a term to the blackboard, unless already a matching one is there
Calls:
local_cout/1
cpopq/3
INFO: pops (copy of) first element of persistent queue
EXAMPLE(S):
?-cpopq(key1,key2,_A).
no
Calls:
create_engine/1
INFO: makes a new engine or reuses a dead one
Is called from:
open_engine/3
create_engine/4
INFO: create_engine(Heap,Stack,Trail,IntHandle) creates an engine IntHandle
Is called from:
create_new_engine/1
create_new_engine/1
INFO: creates an engine as big as the current one
Calls:
create_engine/4
ctime/1
INFO: gets elapsed cpu time in ms
EXAMPLE(S):
?-ctime(_A).
_A = 4234;
no
Calls:
statistics/2
current_db/1
INFO: gets the name of currently active database
Calls:
vget0/2
abolish/1
assert_from_chars/1
asserta/1
assertz/1
clause/2
consult/1
db_clean/0
db_save/1
dyn2stat/1
is_asserted/1
make_compileable/2
oconsult/1
retract/1
retract1/1
retractall/1
stat2dyn/1
this_db/1
current_engine/1
INFO: gets the unique id of the current engine
Calls:
current_engine_id/1
current_engine_addr/1
INFO: returns current engine handle
Is called from: