package babel
- Alphabetic
- Public
- All
Type Members
-
class
BabelExporter
extends PrettyPrinter
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.
- sealed abstract class BabelParseError extends IllegalArgumentException
- case class BabelParsingError (parseError: Failure) extends BabelParseError with Product with Serializable
-
abstract
class
BabelSignature
extends AnyRef
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.
- case class BabelUnificationError (reason: String) extends BabelParseError with Product with Serializable
-
case class
MapBabelSignature
(map: Map[String, Ty]) extends BabelSignature with Product with Serializable
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.
Value Members
- object BabelLexical
- object BabelParser
- object BabelParserCombinators
-
object
BabelSignature
Contains various methods for generating signatures.
- object MapBabelSignature extends Serializable
-
object
ast
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:
- There are type meta-variables.
- There are type annotations.
- Free variables, bound variables, and constants are not distinguished; they are all stored as "identifiers".