package earley

  1. Overview
  2. Docs

Functor for building buffers with a preprocessor.

Parameters

module PP : Preprocessor

Signature

val from_fun : ('a -> unit) -> string -> ('a -> string) -> 'a -> buffer

Same as Input.from_fun but uses the preprocessor.

val from_channel : ?filename:string -> Stdlib.in_channel -> buffer

Same as Input.from_channel but uses the preprocessor.

val from_file : string -> buffer

Same as Input.from_file but uses the preprocessor.

val from_string : ?filename:string -> string -> buffer

Same as Input.from_string but uses the preprocessor.