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
scasp_compile/2Create an sCASP program from Terms.Source
scasp_compile_query/3Source
scasp_load/2Load the files from Sources.Source
scasp_query/1True when Query is the (last) sCASP query that is part of the program.Source
scasp_query/3True when Query is the s(CASP) query as a list that includes the NMR check if required.Source
dyncall.pl  -- Show source
embed.pl  -- Embed sCASP programs in Prolog sourcesShow source
html.pl  -- Render s(CASP) justification as HTMLShow source
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
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
predicates.pl  -- Basic information about sCASP predicatesShow source
program.pl  -- Input program accessShow source
assert_nmr_check/1Assert the NMR check.Source
assert_program/1Get rules, initial query and called predicates and assert them for easy access.Source
assert_rule/1Assert a program rule.Source
defined_nmr_check/1Dynamic predicate for the list of NMR sub-checks.Source
defined_predicates/1Dynamic predicate for the list of predicate symbols defined in the input program.Source
defined_query/2Dynamic predicate for query.Source
defined_rule/4Dynamic predicate for asserted rules.Source
destroy_program/0Remove all asserted predicates to allow multiple funs with different programs.Source
has_prefix/2Succeed if Functor begins with a reserved prefix, returning the character part of the (first) prefix.Source
non_printable/1True if Name should not be printed.Source
replace_prefix/4Source
reserved_prefix/1Define reserved prefixes for predicates and compound terms.Source
solve.pl  -- The sCASP solverShow 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
verbose.pl  -- Print goal and stack in Ciao compatible formatShow source