Package

at.logic.gapt.formats

babel

Permalink

package babel

Content Hierarchy
Visibility
  1. Public
  2. All

Type Members

  1. class BabelExporter extends PrettyPrinter

    Permalink

    Exports lambda expressions in the Babel format.

    Exports lambda expressions in the Babel format. You probably do not want to use this class, use one of expression.toString, .toSigRelativeString, or .toAsciiString instead. These are all implemented using this class.

    This exporter is implemented using the pretty-printing library included in Kiama.

  2. sealed abstract class BabelParseError extends IllegalArgumentException

    Permalink
  3. case class BabelParsingError(parseError: ParseError) extends BabelParseError with Product with Serializable

    Permalink
  4. abstract class BabelSignature extends AnyRef

    Permalink

    A signature for the Babel parser.

    A signature for the Babel parser. This class decides whether a free identifier is a variable or a constant.

  5. case class BabelUnificationError(reason: String) extends BabelParseError with Product with Serializable

    Permalink
  6. case class IsConst(t: Type) extends VarConst with Product with Serializable

    Permalink
  7. case class IsVar(t: Type) extends VarConst with Product with Serializable

    Permalink
  8. case class MapBabelSignature(map: Map[String, Type]) extends BabelSignature with Product with Serializable

    Permalink

    A signature based on a map: The identifiers for which the map is defined are constants, the rest are variables.

    A signature based on a map: The identifiers for which the map is defined are constants, the rest are variables.

    map

    A map from strings to types.

  9. sealed trait VarConst extends AnyRef

    Permalink

    Class with two possible cases, one for variables and one for constants.

Value Members

  1. object BabelLexical

    Permalink
  2. object BabelParser

    Permalink
  3. object BabelParserCombinators

    Permalink
  4. object BabelSignature

    Permalink

    Contains various methods for generating signatures.

  5. object MapBabelSignature extends Serializable

    Permalink
  6. object ast

    Permalink

    Intermediate representation for expressions parsed by Babel.

    Intermediate representation for expressions parsed by Babel.

    This representation is intended to be as simple as possible, all higher-level constructs (such as <-> or ∀) are already desugared into simply-typed lambda terms.

    It differs from the "real" lambda calculus in at.logic.gapt.expr in three major ways:

    1. There are type variables.
    2. There are type annotations.
    3. Free variables, bound variables, and constants are not distinguished; they are all stored as "identifiers".

Ungrouped