parseClause

open fun parseClause(input: String, operators: OperatorSet): Clause

Parses input as a Clause using operators. A final full stop is optional.

Structures are promoted to facts; rules and directives retain their specialized types.

Throws

if parsing fails

if the parsed term cannot represent a clause


open fun parseClause(input: String): Clause

Throws

if parsing fails