module BatGenlex:A generic lexical analyzer.sig..end
This module implements a simple ``standard'' lexical analyzer, presented as a function from character streams to token streams. It implements roughly the lexical conventions of Caml, but is parameterized by the set of keywords of your language.
This module extends Stdlib's
Genlex
module, go there for documentation on the rest of the functions
and types.
Author(s): Jacques Garrigue, David Teller
type t
val of_list : string list -> tval to_stream_filter : t -> char Stream.t -> Genlex.token Stream.tval to_enum_filter : t -> char BatEnum.t -> Genlex.token BatEnum.tval to_lazy_list_filter : t -> char BatLazyList.t -> Genlex.token BatLazyList.tmodule Languages:sig..end