package bnfgen

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module Grammar : sig ... end
type settings = {
  1. dump_stack : bool;
  2. debug : bool;
  3. debug_fun : string -> unit;
  4. max_reductions : int option;
  5. max_nonproductive_reductions : int option;
  6. symbol_separator : string;
}
val default_settings : settings
val grammar_from_string : string -> (Grammar.grammar, string) Stdlib.result
val grammar_from_channel : Stdlib.in_channel -> (Grammar.grammar, string) Stdlib.result
val grammar_from_file : string -> (Grammar.grammar, string) Stdlib.result
val grammar_to_string : Grammar.grammar -> string
val check_grammar : Grammar.grammar -> (unit, string) Stdlib.result
val check_grammar_exn : Grammar.grammar -> unit
val generate : ?settings:settings -> (string -> unit) -> Grammar.grammar -> string -> (unit, string) Stdlib.result
val generate_string : ?settings:settings -> Grammar.grammar -> string -> (string, string) Stdlib.result
OCaml

Innovation. Community. Security.