package camlp-streams

  1. Overview
  2. Docs
The Stream and Genlex libraries for use with Camlp4 and Camlp5

Install

Dune Dependency

Authors

Maintainers

Sources

v5.0.tar.gz
md5=305d8eaf9cebaf137a8a63770f0ea162
sha512=f42e2f5e5ca353b3d647cd7e97a278c167c2d1abd185a634f155965cec29e35d9be7ce940b4c205b0577d7e9b6f714580bfd2e2fd79f1b1b461bc3fb96d26d36

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.

Published: 29 Jun 2021

README

The Stream and Genlex libraries for use with Camlp4 and Camlp5

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 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 camlp-streams package.

Dependencies (2)

  1. ocaml >= "5.0"
  2. dune >= "2.5"

Dev Dependencies

None

Used by (34)

  1. atdgen-runtime >= "2.3.3" & < "2.10.0"
  2. batteries >= "3.6.0"
  3. biniou >= "1.2.2"
  4. camlp4 >= "5.0"
  5. camlp5 >= "8.00.03"
  6. camomile >= "2.0.0"
  7. cca >= "0.6.2"
  8. coq-lsp != "0.1.6.1+8.17" & < "0.1.7+8.17" | = "0.1.8+8.16"
  9. dream >= "1.0.0~alpha4"
  10. frama-clang
  11. gapi-ocaml >= "0.4.5"
  12. lablgl >= "1.07"
  13. lablgtk >= "2.18.13"
  14. lablgtk3 >= "3.1.3"
  15. lablgtk3-goocanvas2 >= "3.1.3"
  16. lablgtk3-sourceview3 >= "3.1.3"
  17. lambdapi >= "2.2.1"
  18. ledit >= "2.06"
  19. lutils >= "1.54.1"
  20. lutin >= "2.71.15"
  21. mdx >= "2.3.1"
  22. mpp >= "0.3.6"
  23. not-ocamlfind >= "0.09"
  24. ocaml-lsp-server >= "1.17.0"
  25. ocamlformat-lib
  26. odoc-parser >= "1.0.1"
  27. pgocaml >= "4.4.0"
  28. pgx >= "2.2"
  29. ppx_dream_eml
  30. ppx_parser
  31. pratter >= "1.2.1"
  32. redis-sync >= "0.6"
  33. tar >= "2.0.1"
  34. ulex-camlp5 >= "1.3"

Conflicts

None