PrologStandardExampleTheories

An object containing the collection of Prolog Standard databases and requests, testing ISO functionality.

These are the theories/goals used as worked examples by the ISO Prolog standard itself (e.g. in its sections on clause selection, conjunction, call/1, catch/throw, negation-as-failure and if-then(-else)), transcribed here so TestSolver and TestingClauseTheories can reuse them instead of re-deriving the same fixtures.

Author

Enrico

Properties

Link copied to clipboard

The database used in Prolog standard while writing examples for Call

Link copied to clipboard

The database used in Prolog standard while writing examples for Catch

Link copied to clipboard

The database used in Prolog standard while writing examples for Conjunction

Notable Prolog Standard example request goals and respective expected Solutions for If-Then-Else

Link copied to clipboard

The database used in Prolog standard while writing examples for If-Then

Link copied to clipboard

The database used in Prolog standard while writing examples for Not

Link copied to clipboard

The clause database used in Prolog Standard reference manual, when explaining solver functionality and search-trees

Link copied to clipboard

Functions

fun allPrologStandardTestingTheoryToRespectiveGoalsAndSolutions(callErrorSignature: Signature, nafErrorSignature: Signature, notErrorSignature: Signature): Map<Theory, List<Pair<Struct, List<Solution>>>>

Collection of all Prolog Standard example databases and their respective callable goals with expected solutions

Link copied to clipboard

Prolog Standard examples to test call primitive with callStandardExampleTheory

Notable notStandardExampleTheory request goals and respective expected Solutions