package lambdapi

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Export.CoqSource

Translate the parser-level AST to Coq.

Sourceval log : 'a Lplib.Base.outfmt -> 'a
Sourceval stt : bool ref
Sourceval translate_ident : string -> string
Sourceval raw_ident : string Lplib.Base.pp
Sourceval param_ids : Parsing.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 assoc : Pratter.associativity Lplib.Base.pp
Sourceval print : bool -> Parsing.Syntax.ast -> unit

print b ast sets stt to b and translates ast to Coq on standard output.