Module PrologGenlex


module PrologGenlex: sig .. end
A lexical analyzer for ISO-Prolog syntax.

This module is similar to the Genlex module of the OCaml standard library, but uses ISO-Prolog instead of OCaml syntax.

Current Restrictions:




type prolog_token =
| PunctuationPrologToken of string
| VarPrologToken of string
| ConstPrologToken of string
| IntPrologToken of int
| FloatPrologToken of float
The type of tokens.
val prolog_lexer : char Stream.t -> prolog_token Stream.t
The lexer function.