package lambdapi

  1. Overview
  2. Docs
Proof assistant for the λΠ-calculus modulo rewriting

Install

dune-project
 Dependency

Authors

Maintainers

Sources

lambdapi-2.3.1.tbz
sha256=ef0c364e355c6c44327e62e79c484b1808d6e144bd6b899d39f0c9c3a351d5f2
sha512=b8b01a1203ea75ae79c59f67e787097f3df7603fc814776fbdd867625165dd00c70918d6edbfdc05c3a63fe7686f95e0523ad106f9da63234a2db33c4d42837e

doc/lambdapi.parsing/Parsing/Pretty/index.html

Module Parsing.PrettySource

Pretty-printing the parser-level AST.

This module defines functions that allow printing elements of syntax found in the parser-level abstract syntax. This is used, for example, to print a file in the Lambdapi syntax, given the AST obtained when parsing a file in the Dedukti syntax.

Sourceval keyword_table : (string, LpLexer.token) Hashtbl.t

Keywords table.

Sourceval is_keyword : string -> bool
Sourceval raw_ident : string Lplib.Base.pp
Sourceval param_id : Syntax.p_ident option Lplib.Base.pp
Sourceval param_ids : Syntax.p_ident option list Lplib.Base.pp
Sourcetype priority = [
  1. | `Func
  2. | `Appl
  3. | `Atom
]

The possible priority levels are `Func (top level, including abstraction and product), `Appl (application) and `Atom (smallest priority).

Sourceval params_list : Syntax.p_params list Lplib.Base.pp
Sourceval rule : string -> Syntax.p_rule Lplib.Base.pp
Sourceval inductive : string -> Syntax.p_inductive Lplib.Base.pp

unpack eqs transforms a p_term of the form LpLexer.cons (LpLexer.equiv t u) (LpLexer.cons (LpLexer.equiv v w) ...) into a list [(t,u); (v,w); ...]. See unif_rule.ml.