Copyright | (c) Evgenii Kotelnikov 2019 |
---|---|
License | GPL-3 |
Maintainer | evgeny.kotelnikov@gmail.com |
Stability | experimental |
Safe Haskell | None |
Language | Haskell2010 |
Synopsis
- whitespace :: Parser ()
- atom :: Parser Atom
- var :: Parser Var
- distinctObject :: Parser DistinctObject
- function :: Parser (Name Function)
- predicate :: Parser (Name Predicate)
- sort :: Parser (Name Sort)
- tff1Sort :: Parser TFF1Sort
- type_ :: Parser Type
- number :: Parser Number
- term :: Parser Term
- literal :: Parser Literal
- clause :: Parser Clause
- unsortedFirstOrder :: Parser UnsortedFirstOrder
- sortedFirstOrder :: Parser SortedFirstOrder
- monomorphicFirstOrder :: Parser MonomorphicFirstOrder
- polymorphicFirstOrder :: Parser PolymorphicFirstOrder
- unit :: Parser Unit
- tptp :: Parser TPTP
- intro :: Parser Intro
- parent :: Parser Parent
- source :: Parser Source
- info :: Parser Info
Whitespace
whitespace :: Parser () Source #
Consume white space and trailing comments.
Names
Parse an atomic word. Single-quoted atoms are parsed without the single
quotes and with the characters '
and \
unescaped.
distinctObject :: Parser DistinctObject Source #
Parse a distinct object. Double quotes are not preserved and the characters
'
and \
are unescaped.
Sorts and types
First-order logic
unsortedFirstOrder :: Parser UnsortedFirstOrder Source #
Parse a formula in unsorted first-order logic.
sortedFirstOrder :: Parser SortedFirstOrder Source #
An alias for monomorphicFirstOrder
.
monomorphicFirstOrder :: Parser MonomorphicFirstOrder Source #
Parse a formula in sorted monomorphic first-order logic.
polymorphicFirstOrder :: Parser PolymorphicFirstOrder Source #
Parse a formula in sorted polymorphic first-order logic.