camlp-streams
« Back to VersTracker
Description:
Stream and Genlex libraries for use with Camlp4 and Camlp5
Type: Formula  |  Latest Version: 5.0.1@5  |  Tracked Since: Dec 17, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: ocaml camlp5 parsing lexer library
Install: brew install camlp-streams
About:
camlp-streams provides the Stream and Genlex modules, which were previously part of the OCaml standard library. These libraries are essential for building lexers and parsers using Camlp4 and Camlp5, offering a functional approach to handling lazy sequences of tokens.
Key Features:
  • Provides Stream and Genlex modules
  • Compatible with Camlp4 and Camlp5
  • Maintains legacy OCaml parsing functionality
  • Decoupled from the core OCaml runtime
Use Cases:
  • Building custom lexers and parsers for DSLs
  • Migrating legacy OCaml code relying on standard library streams
Alternatives:
  • ocamllex/menhir – Standard OCaml tools for generating lexers and parsers, generally preferred for new projects over Camlp5.
License: LGPL-2.1-only WITH OCaml-LGPL-linking-exception
Dependencies: ocaml
Bottles available for: arm64_tahoe, arm64_sequoia, arm64_sonoma, sonoma, arm64_linux, x86_64_linux
Version History
Detected Version Rev Change Commit
Sep 11, 2025 1:06am 4 VERSION_BUMP af0ae262