Lang.ParseFunctions concerning the execution of Common.parseable objects as Angstrom.t parsers.
Constructs an error message from the given parse stack trace.
module AngstromSyntax : sig ... endOperators and let-bindings imported from Angstrom.
val space : unit Angstrom.tParses zero or more whitespace characters (space or tab).
val run_parse_with_stack :
Common.parseable ->
string list ->
(Common.output * Common.bindings) Angstrom.tConverts the given parseable to an Angstrom parser while building a parse stack for debugging messages.
val run_parse :
Common.parseable ->
(Common.output * Common.bindings) Angstrom.tConverts the given parseable to an Angstrom parser.
val run_parse_of_string :
Common.parseable ->
string ->
(Common.output * Common.bindings, string) resultExecutes the parseable on the given string by first converting it to Angstrom.
The string must match entirely.