package lambdapi
All checked builds passInstall
dune-project
Dependency
Authors
Maintainers
Sources
sha256=0e2e73e0ea0c674f1263bf85ed3453ed3d6084d38eea29974a03ba9e382d29d7
sha512=2831db57fcd09206687a92fc9ee7d363e87bcec5167949e9c8161d41c63d5887b9f3556bfd63a7a9a0c12e5a5dc61a397baf4f496ebdb2a2fce122142c05e7a1
doc/lambdapi.parsing/Parsing/Parser/Lp/index.html
Module Parser.LpSource
Parsing lp syntax.
include PARSER with type lexbuf := Sedlexing.lexbuf
parse_lexbuf lb is the same as parse_string but with an already created lexbuf.
parse f ic returns a stream of commands parsed from channel ic created from file f. Commands are parsed lazily and the channel is closed once all entries are parsed.
parse_file f returns a stream of parsed commands of file f. Commands are parsed lazily.
parse_string f s returns a stream of parsed commands from string s which comes from file f (f can be anything).
parse_rwpatt_string p s parses a term from string s assuming that s starts at position p.
parse_rwpatt_string f s parses a rewrite pattern specification from string s assuming that s starts at position p.
val parse_search_string :
allow_rocq_syntax:bool ->
alone:bool ->
Lexing.position ->
string ->
Syntax.searchparse_search_string ~allow_rocq_syntax ~alone p s parses a query from string s assuming that s starts at position p. ~allow_rocq_syntax to allow a subset of Rocq syntax (fun/forall/exists) ~alone to parse the query only if followed by EOF.