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