package dolmen

  1. Overview
  2. Docs

The Lexer module for the language.

exception Error

The exception raised by the lexer when it cannot produce a token.

val descr : token -> Tok.descr

Asspcoate a description to each token, to help with error messages.

val token : (Stdlib.Lexing.lexbuf -> unit) -> Stdlib.Lexing.lexbuf -> token

The function producing token from a lexbuf.

OCaml

Innovation. Community. Security.