Stream and Genlex libraries for use with Camlp5

Edit Package ocaml-camlp-streams
https://opam.ocaml.org/packages/camlp-streams

The camlp-streams package provides two library modules:

Stream: imperative streams, with in-place update and memoization of the latest element produced.
Genlex: a small parameterized lexical analyzer producing streams of tokens from streams of characters.

The two modules are designed for use with Camlp5:

The stream patterns and stream expressions of Camlp5 consume and produce data of type 'a Stream.t.
The Genlex tokenizer can be used as a simple lexical analyzer for Camlp5-generated parsers.

The Stream module can also be used by hand-written recursive-descent parsers, but is not very convenient for this purpose.

The Stream and Genlex modules have been part of the OCaml standard library for a long time, and have been distributed as part of the core OCaml system. They will be removed from the OCaml standard library at some future point, but will be maintained and distributed separately in this camlp-streams package.

Refresh
Refresh
Source Files (show unmerged sources)
Filename Size Changed
_service 0000000722 722 Bytes
ocaml-camlp-streams-5.0.1.tar.xz 0000015872 15.5 KB
ocaml-camlp-streams.changes 0000000464 464 Bytes
ocaml-camlp-streams.spec 0000002745 2.68 KB
Latest Revision
buildservice-autocommit accepted request 1056070 from Olaf Hering's avatar Olaf Hering (olh) (revision 7)
baserev update by copy to link target
Comments 0
openSUSE Build Service is sponsored by