Packages

package input

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Value Members

  1. object TPTPParser

    Parser for the TPTP-based input language, including ...

    Parser for the TPTP-based input language, including ...

    • THF (TH0/TH1): Monomorphic and polymorphic higher-order logic,
    • TFF (TF0/TF1): Monomorphic and polymorphic typed first-order logic,
    • FOF: Untyped first-order logic,
    • CNF: (Untyped) clause-normal form, and
    • TPI: TPTP Process Instruction language.

    The parser parses into an abstract syntax tree defined at datastructures.TPTP, resp. its corresponding specializations for the respective language dialect:

    Parsing errors will cause TPTPParser.TPTPParseExceptions. Note that includes etc. are parsed as-is and reprented by a datastructures.TPTP.Include entry in the datastructures.TPTP.Problem representation. In particular, they are not parsed recursively. This has to be implemented externally.

    Since

    January 2021

    Note

    For the implementation of this parser v7.4.0.3 of the TPTP syntax was used.

    ,

    Limitations: Currently, FOOL logic (i.e., TFX) cannot be parsed.

    See also

    Original TPTP syntax definition at http://tptp.org/TPTP/SyntaxBNF.html.

Ungrouped