package dolmen
A parser library for automated deduction
Install
Dune Dependency
Authors
Maintainers
Sources
dolmen-0.8.1.tbz
sha256=80fc33ae81817a79c6e6b2f6c01c4cfcc0af02bfe4d2d1b87cf70b84cdde3928
sha512=3a44a99bce871161bc70cf909c813e9e6c91c590873cbc163c69b2ec90ab5be65bf0bf45430bc8d00d85d75cf0af004b06b8f5f1c9d4d47c8a30ab9f28762c04
doc/dolmen.dimacs/Dolmen_dimacs/Make/argument-1-L/index.html
Parameter Make.L
A store for various meta-data about an input file, can be used to optimize representation of locations.
exception Uncaught of t * exn * Printexc.raw_backtrace
The exception to be raised whenever an unexpected exception is raised during parsing.
exception Lexing_error of t * string
The exception to be raised when the lexer cannot parse the input.
exception Syntax_error of t
* [ `Regular of Dolmen_intf.Msg.t
| `Advanced of
string * Dolmen_intf.Msg.t * Dolmen_intf.Msg.t * Dolmen_intf.Msg.t ]
Syntax_error (loc, msg)
denotes a syntax error at the given location. In the `Advanced (error_ref, prod, parsed, expected)
case,
- error_ref is an identifier for the error state
- prod is a delayed message to print in order to identify which production/syntax construction the parser was trying to reduce,
- parsed is a description of the token which raised the error,
- expected is a messages describing what would have been corect tokens/inputs at that point.
val of_lexbuf : Lexing.lexbuf -> t
Make a position using a lexbuf directly.
val mk_pos : Lexing.position -> Lexing.position -> t
Make a position from two lewing positions.
val mk_file : string -> file
Create meta-data for a given filename.
val newline : file -> Lexing.lexbuf -> unit
Offer a way for the file meta-data to store the current location of the lexbuf as the start of a new line.
val update_size : file -> Lexing.lexbuf -> unit
Update the file meta-data to store the maximum offset currently seen for this file.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>