package lambdapi

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

Install

Dune Dependency

Authors

Maintainers

Sources

lambdapi-2.5.1.tbz
sha256=2c251021b6fac40c05282ca183902da5b1008e69d9179d7a9543905c2c21a28a
sha512=69535f92766e6fedc2675fc214f0fb699bde2a06aa91d338c93c99756235a293cf16776f6328973dda07cf2ad402e58fe3104a08f1a896990c1778b42f7f9fcf

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.

OCaml

Innovation. Community. Security.