···
2
+
synopsis: "The Stream and Genlex libraries for use with Camlp4 and Camlp5"
5
+
This package provides two library modules:
6
+
- Stream: imperative streams, with in-place update and memoization
7
+
of the latest element produced.
8
+
- Genlex: a small parameterized lexical analyzer producing streams
9
+
of tokens from streams of characters.
11
+
The two modules are designed for use with Camlp4 and Camlp5:
12
+
- The stream patterns and stream expressions of Camlp4/Camlp5 consume
13
+
and produce data of type 'a Stream.t.
14
+
- The Genlex tokenizer can be used as a simple lexical analyzer for
15
+
Camlp4/Camlp5-generated parsers.
17
+
The Stream module can also be used by hand-written recursive-descent
18
+
parsers, but is not very convenient for this purpose.
20
+
The Stream and Genlex modules have been part of the OCaml standard library
21
+
for a long time, and have been distributed as part of the core OCaml system.
22
+
They will be removed from the OCaml standard library at some future point,
23
+
but will be maintained and distributed separately in this camlpstreams package.
26
+
"Florian Angeletti <florian.angeletti@inria.fr>"
27
+
"Xavier Leroy <xavier.leroy@college-de-france.fr>"
29
+
authors: ["Daniel de Rauglaudre" "Xavier Leroy"]
30
+
license: "LGPL-2.1-only WITH OCaml-LGPL-linking-exception"
31
+
homepage: "https://github.com/ocaml/camlp-streams"
32
+
bug-reports: "https://github.com/ocaml/camlp-streams/issues"
35
+
"ocaml" {>= "4.02.3"}
39
+
["dune" "subst"] {dev}
48
+
"@runtest" {with-test}
52
+
dev-repo: "git+https://github.com/ocaml/camlp-streams.git"
54
+
src: "https://github.com/ocaml/camlp-streams/archive/v5.0.1.tar.gz"
56
+
"md5=afc874b25f7a1f13e8f5cfc1182b51a7"
57
+
"sha512=2efa8dd4a636217c8d49bac1e4e7e5558fc2f45cfea66514140a59fd99dd08d61fb9f1e17804997ff648b71b13820a5d4a1eb70fed9d848aa2abd6e41f853c86"