package lambdapi
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/Pratt/index.html
Module Parsing.Pratt
Source
Parsing of infix operators using the Pratter library.
The interface for the Pratter library can be seen at
include module type of struct include Pratt end
Source
val parse :
?find_sym:Core.Sig_state.find_sym ->
Core.Sig_state.t ->
Core.Env.t ->
Syntax.p_term ->
Syntax.p_term
parse ~find_sym ss env t
Pratt parses term t
, unsugaring infix operators and prefix operators using signature state ss
and environment env
to determine which term is an operator, and to build new terms. Note that it doesn't recurse into abstractions or implications and alike. ~find_sym
is used to scope symbol identifiers.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>