package ocamlgrep
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
OCaml structural grep tool
Install
dune-project
Dependency
Authors
Maintainers
Sources
ocamlgrep-0.1.3.tbz
sha256=4a60b9e05c922d4c44414879266ec6bbc4f0bf70c0cbf7a673dc0d776950b4b8
sha512=501b6250bed524980c3bd4aef091eb81e9435357a406a7a9be4ee8a2a2b49fa610f677cacc318b42712343ba2de99b22068b7608f2c6b0c834082a62602c36d0
doc/CHANGES.html
0.1.3 (2026-10-05)
- Match applications written with
|>,@@or explicit parentheses: in the code,x |> f a,f a @@ xand(f a) xare matched asf a x; in the pattern,x |> f aandf a @@ xmatch either an operator with the same name orf a x. - Fix the matching of anonymous functions: patterns
fun p1 ... pn -> enever matched, nor did patternsfunction ...with OCaml 5.2 and later. Functions are now matched one parameter at a time, labels included, so thatfun p1 p2 -> eis equivalent tofun p1 -> fun p2 -> e, andfun p -> etofunction p -> e(as was already the case for the typed tree before OCaml 5.2). - Require cmdliner 2.0.0 or later, which is needed since 0.1.2 (
Term.env).
0.1.2 (2026-10-05)
- Add options
-A/--after-context,-B/--before-context, and-C/--contextfor printing lines of context before and after each match, similar to the same options found in grep (#26). - Add flag
--no-messagesto suppress non-critical output (warnings, etc). Add flag--no-colorto suppress color output. Add optional argument-e PATTERNto support more than one search pattern simultaneously (#24).
0.1.1 (2026-07-05)
- Fix the build so as to not require test-only dependencies for the main build (#20).
- Add a
--dune-rootoption that allows running ocamlgrep on a Dune project built with--rootsuch as a test project within another Dune project (#20).
0.1.0 (2026-07-04)
First release of ocamlgrep, formerly known as cmt_grep.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page