package lambdapi
Proof assistant for the λΠ-calculus modulo rewriting
Install
Dune Dependency
Authors
Maintainers
Sources
lambdapi-2.6.0.tbz
sha256=d01e5f13db2eaba6e4fe330667149e0059d4886c651ff9d6b672db2dfc9765ed
sha512=33b68c972aca37985ed73c527076198e7d4961c7e27c89cdabfe4d1cff97cd41ccfb85ae9499eb98ad9a0aefd920bc55555df6393fc441ac2429e4d99cddafa8
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)"
>