synopsis: "A Camlp5 PPX Rewriter for static blocks " description: """ This is a PPX Rewriter to provide `static' blocks for OCaml, so you can write code that computes some expensive expression and mark it as static, so it'll be computed only once. Like regexps. """ opam-version: "2.0" x-maintenance-intent: [ "(latest)" ] maintainer: "Chet Murthy " authors: ["Chet Murthy"] homepage: "https://github.com/camlp5/pa_ppx_static" license: "BSD-3-Clause" bug-reports: "https://github.com/camlp5/pa_ppx_static/issues" dev-repo: "git+https://github.com/camlp5/pa_ppx_static.git" doc: "https://github.com/camlp5/pa_ppx_static/doc" depends: [ "ocaml" { >= "4.10.0" } "camlp5-buildscripts" { >= "0.02" } "camlp5" { >= "8.01.00" } "pcre2" { with-test } "pa_ppx" { >= "0.12" } "not-ocamlfind" { >= "0.10" } "ounit" { >= "2.2.7" } "fmt" (* "mdx" { >= "2.3.0" & with-test} *) ] build: [ [make "sys"] [make "test"] {with-test} ] install: [make "install"] url { src: "https://github.com/camlp5/pa_ppx_static/archive/refs/tags/0.02.tar.gz" checksum: [ "sha512=66f4d72175e1431262049aa2d3e6922e21e06ac1fd6601facfea1a34dee35ea47680618bb804d736fa71a7cae3cb55da60182735ac1529acff4ca491558b6210" ] }