package sexp_grammar

  1. Overview
  2. Docs

Like Fold_nonrecursive. Ties the knot for recursive grammars. May raise if the grammar contains malformed recursive definitions, e.g. an undefined type variable or applying a type constructor with the wrong arity. Exceptions may be delayed until of_lazy values are forced.

Parameters

Signature

val of_typed_grammar_exn : _ Sexp_grammar__.Sexp_grammar_intf.{Sexp_grammar}1.t -> Callbacks.t
val of_grammar_exn : Sexp_grammar__.Sexp_grammar_intf.{Sexp_grammar}1.grammar -> Callbacks.t
val of_list_grammar_exn : Sexp_grammar__.Sexp_grammar_intf.{Sexp_grammar}1.list_grammar -> Callbacks.list_t
OCaml

Innovation. Community. Security.