Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
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.