package lambdapi

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

Install

Dune Dependency

Authors

Maintainers

Sources

lambdapi-2.4.1.tbz
sha256=221dff97ab245c49b7e6480fa2a3a331ab70eb86dd5d521e2c73151029bbb787
sha512=a39961bb7f04f739660a98a52981d4793709619cd21310ca6982ba78af81ef09e01c7517ee3b8b2687b09f7d2614d878c1d69494ca6ab8ef8205d240c216ce8a

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.