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