package dolmen

  1. Overview
  2. Docs
A parser library

Install

Dune Dependency

Authors

Maintainers

Sources

dolmen-v0.6.tbz
sha256=81b034da2de84da19fb6368aaa39135f6259ee2773ff08c8f03da9ceeb10748c
sha512=98786ff1cc5b0c8bc4cb2dfe756ae15556c3876a206546b04374826be7d0a422dd5526d93f09cb0ea0d4985b71c408c182a951d4df908399c7e04b17c91a7d70

doc/dolmen.dimacs/Dolmen_dimacs/Make/Parser/index.html

Module Make.ParserSource

The Parser module for the language.

Main interface

Sourceexception Error

Exception raised by the parser when it encounters an error.

A function that parses an entire file, i.e until the end-of-file token, and return the list of parsed statements.

Sourceval input : (Lexing.lexbuf -> token) -> Lexing.lexbuf -> statement option

A function to parse a single statement. Reutnrs None if it encounters the end-of-file token. Used for incremental parsing.

Menhir incremental interface

Sourcemodule MenhirInterpreter : sig ... end
Sourcemodule Incremental : sig ... end
OCaml

Innovation. Community. Security.