camlp-streams
brew install camlp-streams
v5.0.1_6
LGPL-2.1-only WITH OCaml-LGPL-linking-exception
Stream and Genlex libraries for use with Camlp4 and Camlp5
25
30-day installs · #6254
56
90-day · #7040
298
365-day · #6329
16
★ GitHub stars · updated 10mo ago
Runtime dependencies
Build dependencies
Links
- https://github.com/ocaml/camlp-streams
- GitHub: ocaml/camlp-streams
- Brew formula source: Formula/c/camlp-streams.rb
Raw metadata
{
"aliases": [],
"alternatives": [],
"build_dependencies": [
"dune"
],
"categories": [],
"caveats": null,
"conflicts_with": [],
"dependencies": [
"ocaml"
],
"deprecated": 0,
"deprecation_reason": null,
"desc": "Stream and Genlex libraries for use with Camlp4 and Camlp5",
"disable_reason": null,
"disabled": 0,
"enrichment_fetched_at": "2026-06-20T23:36:06+00:00",
"first_seen": "2026-06-20T23:34:18+00:00",
"full_name": "camlp-streams",
"github_default_branch": "trunk",
"github_last_commit_at": "2025-10-14T14:01:53Z",
"github_readme_excerpt": "# The Stream and Genlex libraries for use with Camlp4 and Camlp5\n\nThe `camlp-streams` package provides two library modules:\n- `Stream`: imperative streams, with in-place update and memoization of the latest element produced.\n- `Genlex`: a small parameterized lexical analyzer producing streams of tokens from streams of characters.\n\nThe two modules are designed for use with [Camlp4](https://github.com/camlp4/camlp4/) and [Camlp5](https://github.com/camlp5/camlp5):\n- The stream patterns and stream expressions of Camlp4/Camlp5 consume and produce data of type `\u0027a Stream.t`.\n- The `Genlex` tokenizer can be used as a simple lexical analyzer for Camlp4/Camlp5-generated parsers.\n\nThe `Stream` module can also be used by hand-written recursive-descent parsers, but is not very convenient for this purpose.\n\nThe `Stream` and `Genlex` modules were part of the OCaml standard library and distributed as part of the core OCaml system until OCaml 5.0. They were removed from the OCaml standard library in OCaml 5.0. Since then, they have been maintained and distributed separately in this `camlp-streams` package.\n",
"github_repo": "ocaml/camlp-streams",
"github_stars": 16,
"github_topics": [],
"homepage": "https://github.com/ocaml/camlp-streams",
"homepage_og_description": null,
"homepage_og_image": null,
"homepage_title": null,
"installs_30d": 25,
"installs_365d": 298,
"installs_90d": 56,
"keg_only": 0,
"keg_only_reason": null,
"last_seen": "2026-06-20T23:34:18+00:00",
"license": "LGPL-2.1-only WITH OCaml-LGPL-linking-exception",
"llm_generated_at": null,
"llm_model": null,
"name": "camlp-streams",
"oldnames": [],
"one_liner": null,
"optional_dependencies": [],
"rank_30d": 6254,
"rank_365d": 6329,
"rank_90d": 7040,
"raw_hash": "4e157b34d29f7378",
"recommended_dependencies": [],
"revision": 6,
"ruby_source_path": "Formula/c/camlp-streams.rb",
"tap": "homebrew/core",
"test_dependencies": [
"ocaml-findlib"
],
"uses_from_macos": [],
"version_head": null,
"version_stable": "5.0.1",
"versioned_formulae": [],
"why_use_this": null
}