forked from ocaml/camlp-streams
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dune-project
39 lines (33 loc) · 1.38 KB
/
dune-project
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
(lang dune 2.7)
(generate_opam_files true)
(formatting disabled)
(name camlp-streams)
(source (github ocaml/camlp-streams))
(authors "Daniel de Rauglaudre" "Xavier Leroy")
(maintainers
"Florian Angeletti <florian.angeletti@inria.fr>"
"Xavier Leroy <xavier.leroy@college-de-france.fr>")
(package
(name camlp-streams)
(synopsis "The Stream and Genlex libraries for use with Camlp4 and Camlp5")
(description "
This 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 Camlp4 and Camlp5:
- The stream patterns and stream expressions of Camlp4/Camlp5 consume
and produce data of type 'a Stream.t.
- The Genlex tokenizer can be used as a simple lexical analyzer for
Camlp4/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 camlpstreams package.
")
(depends
(ocaml (>= 4.02.3)))
)