scasp

Prolog files

call_graph.pl  -- Build the call graph used for NMR check construction and indexing.Show source
a/4Arc in the call graph from Head to Goal.Source
ar/2Associate an arc ID with a list of rule IDs.Source
build_call_graph/2Build and assert the call graph.Source
destroy_call_graph/0Retract the assertions for the call graph.Source
common.pl  -- Common predicates used in multiple filesShow source
comp_duals.pl  -- Dual rule computationShow source
compile.pl  -- s(ASP) Ungrounded Stable Models SolverShow source
dyncall.pl  -- Show source
embed.pl  -- Embed sCASP programs in Prolog sourcesShow source
html.pl  -- Render s(CASP) justification as HTMLShow source
html_bindings/4Print the variable bindings.Source
html_justification_tree/4Convert the tree to HTML.Source
html_model/4Emit the model as HTML terms.Source
html_model_term/4Emit a model term.Source
html_predicate/4Source
html_program/1Source
html_program/3Emit the current program in human format using HTML.Source
html_query/4Emit the query.Source
html_rule/4Source
html_text.pl  -- Switch between HTML and plain text outputShow source
emit_as/4Causes all emit//1 calls to either behave as html//1 or convert the commands to output for print_message_lines/3.Source
emitting_as/1Current emit mode.Source
fixup_layout/2Fixup layout instructions in the token list.Source
human.pl  -- Print s(CASP) output in human languageShow source
input.pl  -- Read SASP source codeShow source
listing.plShow source
messages.plShow source
scasp_lang/1True when Lang is the language used for messages and justifications.Source
model.pl  -- sCASP model handlingShow source
canonical_model/2Source
print_model/2Print the model in aligned columns.Source
unqualify_model/3Restore the model relation to modules.Source
modules.pl  -- Encode modulesShow source
nmr_check.pl  -- Detect OLON rules and construct nmr_checkShow source
ops.plShow source
options.pl  -- (Command line) option handling for sCASPShow source
scasp_help/0Print command line option help.Source
scasp_opt_help/2Allow reusing scasp option processing.Source
scasp_opt_meta/2Allow reusing scasp option processing.Source
scasp_opt_type/3Allow reusing scasp option processing.Source
scasp_parse_args/3Select from the list of arguments in Args which are the user-options, Options and which are the program files, Sources.Source
scasp_set_options/1Set Prolog flags that control the solver from Options.Source
scasp_set_options/2Set Prolog flags that control the solver from Options.Source
scasp_version/1print the current version of s(CASP).Source
output.pl  -- Emit sCASP termsShow source
connector/3Get an ASCII or Unicode connector string with the claimed Semantics.Source
human_expression/3If there is a human print rule for Atom, return a list of format actions as Actions.Source
inline_constraints/2Get constraints on variables notated as Var | {Constraints} and use assigned variable names.Source
ovar_analyze_term/1Analyze variables in an output term.Source
ovar_analyze_term/2Analyze variables in an output term.Source
ovar_clean/1Delete all attributes added by ovar_analyze_term/1.Source
ovar_is_singleton/1True when Var is a singleton variable.Source
ovar_set_bindings/1Given Bindings as a list of Name=Var, set the names of the variables.Source
ovar_set_name/2Set the name of Var to Name.Source
ovar_var_name/2True when var is not a singleton and has the assigned name.Source
print_model_term/2Print a model element to the terminal.Source
pr_rules.pl  -- Output formatting and printing.Show source
clean_pr_program/1Prepare Module to receive a compiled sCASP program.Source
generate_pr_rules/2Translate the sCASP program from the defined_* predicates into pr_* predicates for sCASP.Source
process_pr_pred/5Process a #pred Spec :: Template. directive.Source
predicates.pl  -- Basic information about sCASP predicatesShow source
clp_builtin/1Success if Goal is a builtin constraint predicate.Source
clp_interval/1Success if Goal is a builtin constraint predicate to extract interval limits.Source
prolog_builtin/1Success if Goal is a builtin prolog predicate (the compiler introduced its dual).Source
scasp_compiled/1True when Head is part of the transformed representation.Source
table_predicate/1Success if Goal is defined as a tabled predicate with the directive :- table pred/n..Source
user_predicate/1Success if Goal is a user predicate.Source
program.pl  -- Input program accessShow source
solve.pl  -- The sCASP solverShow source
solve/4Solve the list of sub-goals Goal where StackIn is the list of goals already visited and returns in StackOut the list of goals visited to prove the sub-goals and in Model the model that supports the sub-goals.Source
source_ref.pl  -- s(CASP) source referencesShow source
stack.plShow source
swish.pl  -- s(CASP) adapter for SWISHShow source
variables.pl  -- Variable storage and accessShow source
body_vars/3Get the body variables (variables used in the body but not in the head) for a clause.Source
is_var/1Test an entry to see if it's a variable (the first non-underscore is an upper-case letter.Source
is_var/2Test an entry to see if it's a variable (the first non-underscore is an upper-case letter.Source
revar/3If Term is a term that contains atoms using variable syntax ([A-Z].*), VarTerm is a copy of Term with all such atoms replaced by variables.Source
var_list/2Get a list of N variables, each of which is different.Source
verbose.pl  -- Print goal and stack in Ciao compatible formatShow source
print_check_calls_calling/2Auxiliar predicate to print StackIn the current stack and Goal.Source
print_goal/1Print an sCASP goal.Source
scasp_info/2Emit an informational through print_message/2.Source
scasp_trace/2Emit a debug messages through print_message/2.Source
scasp_warning/1Emit a warning through print_message/2.Source
scasp_warning/2Emit a warning through print_message/2.Source