package lambdapi
Proof assistant for the λΠ-calculus modulo rewriting
Install
dune-project
Dependency
Authors
Maintainers
Sources
lambdapi-3.0.0.tbz
sha256=1066aed2618fd8e6a400c5147dbf55ea977ce8d3fe2e518ac6785c6775a1b8be
sha512=f7f499626aba92e070ae69581299a58525973fdbfd04a160ed3ac89209fb6cbe307b816d0b23e1b75bc83467ce8b4b0530c6f9816eaf58f7a07fde65a450106c
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)"
>