package parsexp

  1. Overview
  2. Docs
type t
val sexp_of_t : t -> Sexplib0.Sexp.t
val position : t -> Positions.pos
val message : t -> string
val report : Stdlib.Format.formatter -> filename:string -> t -> unit

Report an error in a style similar to OCaml, for instance:

File "blah", line 42, character 10: Error: s-expression parsing error; unterminated quoted string.

OCaml

Innovation. Community. Security.