/swish/pack/sCASP/prolog/scasp/listing.pl
AllApplicationManualNameSummaryHelp

  • prolog
    • scasp
      • embed.pl -- Embed sCASP programs in Prolog sources
      • ops.pl
      • input.pl -- Read SASP source code
      • common.pl -- Common predicates used in multiple files
      • program.pl -- Input program access
      • variables.pl -- Variable storage and access
      • source_ref.pl -- s(CASP) source references
      • compile.pl -- s(ASP) Ungrounded Stable Models Solver
      • predicates.pl -- Basic information about sCASP predicates
      • comp_duals.pl -- Dual rule computation
      • options.pl -- (Command line) option handling for sCASP
      • nmr_check.pl -- Detect OLON rules and construct nmr_check
      • call_graph.pl -- Build the call graph used for NMR check construction and indexing.
      • pr_rules.pl -- Output formatting and printing.
      • modules.pl -- Encode modules
      • solve.pl -- The sCASP solver
      • verbose.pl -- Print goal and stack in Ciao compatible format
      • model.pl -- sCASP model handling
      • output.pl -- Emit sCASP terms
      • stack.pl
      • listing.pl
        • scasp_portray_program/1
        • scasp_code_section_title/3
      • human.pl -- Print s(CASP) output in human language
      • html.pl -- Render s(CASP) justification as HTML
      • html_text.pl -- Switch between HTML and plain text output
      • messages.pl
      • dyncall.pl --
      • swish.pl -- s(CASP) adapter for SWISH
 scasp_portray_program(:Options)
Output pretty print of the program + dual rules + nmr-checks. Options:
human(Boolean)
If true, write in human format.
query(Boolean)
Print the query (default true)
user(Boolean)
Print the user program (default true)
duals(Boolean)
Print the duals (default false)
constraints(Boolean)
Print the global constraints (default false)
dcc(Boolean)
Print the DCC rules (default false)
write_program(+Detail)
Set defaults for the above to handle the --code commandline option.
source_module(+Module)
Module used for unqualifying terms, Note that scasp_show/2 prepares a temporary module that is our context module. We want the original module to report to.
code_file(+Name)
Dump code to file Name instead of current output