package lambdapi
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=66d7d29f7a0d10493b8178c4c3aeb247971e24fab3eba1c54887e1b9a82fe005
sha512=69ecf2406e4c7225ab7f8ebe11624db5d2ab989c8f30f5b6e5d426fd8ef9102f142a2840af16fb9103bb712ebcf7d314635f8b413a05df66e7b7a38548867032
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 another parser for the Dedukti 2.7 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
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_file fname returns a stream of parsed commands of file fname. 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).
path_of_string s converts the string s into a path.
qident_of_string s converts the string s into a qident.