package lambdapi
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=1066aed2618fd8e6a400c5147dbf55ea977ce8d3fe2e518ac6785c6775a1b8be
sha512=f7f499626aba92e070ae69581299a58525973fdbfd04a160ed3ac89209fb6cbe307b816d0b23e1b75bc83467ce8b4b0530c6f9816eaf58f7a07fde65a450106c
doc/lambdapi.parsing/Parsing/Parser/index.html
Module Parsing.ParserSource
Parsing functions for Lambdapi.
This module includes two parsers: a parser for the Lambdapi syntax whose functions are available either through the submodule Parser.Lp or directly in Parser, and a parser for the Dedukti syntax available through Parser.Dk.
parser_fatal pos fmt is a wrapper for Error.fatal that enforces that the error has an attached source code position.
include module type of struct include Lp end
include PARSER
parse inchan returns a stream of commands parsed from channel inchan. Commands are parsed lazily and the channel is closed once all entries are parsed.
parse_string f s returns a stream of parsed commands from string s which comes from file f (f can be anything).
parse inchan returns a stream of terms parsed from channel inchan. Terms are parsed lazily and the channel is closed once all entries are parsed.
parse_file fname returns a stream of parsed terms of file fname. Terms are parsed lazily.
parse_term_string f s returns a stream of parsed terms from string s which comes from file f (f can be anything).
parse_rwpatt_string f s returns a stream of parsed rewrite pattern specifications from string s which comes from file f (f can be anything).
parse_search_query_string f s returns a stream of parsed terms from string s which comes from file f (f can be anything).
path_of_string s converts the string s into a path.
qident_of_string s converts the string s into a qident.
parse_file fname selects and runs the correct parser on file fname, by looking at its extension.