From cb6086c696347ce56f3e95563366f555c8df0179 Mon Sep 17 00:00:00 2001 From: Nathan Rebours Date: Thu, 1 Feb 2024 11:53:43 +0100 Subject: [PATCH] [new release] ppxlib (2 packages) (0.32.0) CHANGES: - Fix `Longident.parse` so it properly handles unparenthesized dotted operators such as `+.` or `*.`. (ocaml-ppx/ppxlib#111, @rgrinberg, @NathanReb) - raising an exception does no longer cancel the whole context free phase(ocaml-ppx/ppxlib#453, @burnleydev1) - Sort embedded errors that are appended to the AST by location so the compiler reports the one closer to the beginning of the file first. (ocaml-ppx/ppxlib#463, @NathanReb) - Update `Attribute.get` to ignore `loc_ghost`. (ocaml-ppx/ppxlib#460, @ceastlund) - Add API to manipulate attributes that are used as flags (ocaml-ppx/ppxlib#408, @dianaoigo) - Update changelog to use ISO 8061 date format: YYYY-MM-DD. (ocaml-ppx/ppxlib#445, @ceastlund) - Replace `Caml` with `Stdlib`. (ocaml-ppx/ppxlib#427, @ceastlund) - When a transformation raises, the last valid AST is used as input to the upcoming transformations. All such errors are collected and appended as extension nodes to the final AST (ocaml-ppx/ppxlib#447, @burnleydev1) - Fix a small mistake in the man pages: Embededding errors is done by default with `-as-pp`, not with `-dump-ast` (ocaml-ppx/ppxlib#464, @pitag-ha) - Set appropriate binary mode when writing to `stdout` especially for Windows compatibility. (ocaml-ppx/ppxlib#466, @jonahbeckford) --- .../ppxlib-bench/ppxlib-bench.0.32.0/opam | 44 +++++++++++++ packages/ppxlib/ppxlib.0.32.0/opam | 61 +++++++++++++++++++ 2 files changed, 105 insertions(+) create mode 100644 packages/ppxlib-bench/ppxlib-bench.0.32.0/opam create mode 100644 packages/ppxlib/ppxlib.0.32.0/opam diff --git a/packages/ppxlib-bench/ppxlib-bench.0.32.0/opam b/packages/ppxlib-bench/ppxlib-bench.0.32.0/opam new file mode 100644 index 00000000000..21bded9b7f2 --- /dev/null +++ b/packages/ppxlib-bench/ppxlib-bench.0.32.0/opam @@ -0,0 +1,44 @@ +opam-version: "2.0" +synopsis: "Run ppxlib benchmarks" +description: """ +Third-party code in benchmarks depends on later versions of the ocaml +than ppxlib itself. Also the benchmark runner has dependencies that ppxlib doesn't +have.""" +maintainer: ["opensource@janestreet.com"] +authors: ["Jane Street Group, LLC "] +license: "MIT" +homepage: "https://github.com/ocaml-ppx/ppxlib" +doc: "https://ocaml-ppx.github.io/ppxlib/" +bug-reports: "https://github.com/ocaml-ppx/ppxlib/issues" +depends: [ + "dune" {>= "2.7"} + "ocaml" {>= "4.04.1"} + "ppxlib" {= version} + "base" + "yojson" + "odoc" {with-doc} +] +build: [ + ["dune" "subst"] {dev} + [ + "dune" + "build" + "-p" + name + "-j" + jobs + "@install" + "@runtest" {with-test} + "@doc" {with-doc} + ] +] +dev-repo: "git+https://github.com/ocaml-ppx/ppxlib.git" +url { + src: + "https://github.com/ocaml-ppx/ppxlib/releases/download/0.32.0/ppxlib-0.32.0.tbz" + checksum: [ + "sha256=424e36e58ae3401d617fd25afb39fb75338034444cb49a805ce2382e6dc2a933" + "sha512=25a42256885e20ff99b509c7ffd8923bf90502964c74dee83510d9dca6960b6a5d83587170b006d1294d7e7056cd3adf4d835a77841ecb28d7b080a4a3183c04" + ] +} +x-commit-hash: "0e3b4d45e11654e07ef3888c43b6b8a46b90f204" diff --git a/packages/ppxlib/ppxlib.0.32.0/opam b/packages/ppxlib/ppxlib.0.32.0/opam new file mode 100644 index 00000000000..6029fadcba7 --- /dev/null +++ b/packages/ppxlib/ppxlib.0.32.0/opam @@ -0,0 +1,61 @@ +opam-version: "2.0" +synopsis: "Standard infrastructure for ppx rewriters" +description: """ +Ppxlib is the standard infrastructure for ppx rewriters +and other programs that manipulate the in-memory representation of +OCaml programs, a.k.a the "Parsetree". + +It also comes bundled with two ppx rewriters that are commonly used to +write tools that manipulate and/or generate Parsetree values; +`ppxlib.metaquot` which allows to construct Parsetree values using the +OCaml syntax directly and `ppxlib.traverse` which provides various +ways of automatically traversing values of a given type, in particular +allowing to inject a complex structured value into generated code. +""" +maintainer: ["opensource@janestreet.com"] +authors: ["Jane Street Group, LLC "] +license: "MIT" +homepage: "https://github.com/ocaml-ppx/ppxlib" +doc: "https://ocaml-ppx.github.io/ppxlib/" +bug-reports: "https://github.com/ocaml-ppx/ppxlib/issues" +depends: [ + "dune" {>= "2.7"} + "ocaml" {>= "4.04.1" & < "5.2.0" & != "5.1.0~alpha1"} + "ocaml-compiler-libs" {>= "v0.11.0"} + "ppx_derivers" {>= "1.0"} + "sexplib0" {>= "v0.12"} + "sexplib0" {with-test & >= "v0.15"} + "stdlib-shims" + "ocamlfind" {with-test} + "re" {with-test & >= "1.9.0"} + "cinaps" {with-test & >= "v0.12.1"} + "odoc" {with-doc} +] +conflicts: [ + "ocaml-migrate-parsetree" {< "2.0.0"} + "base-effects" +] +build: [ + ["dune" "subst"] {dev} + [ + "dune" + "build" + "-p" + name + "-j" + jobs + "@install" + "@runtest" {with-test} + "@doc" {with-doc} + ] +] +dev-repo: "git+https://github.com/ocaml-ppx/ppxlib.git" +url { + src: + "https://github.com/ocaml-ppx/ppxlib/releases/download/0.32.0/ppxlib-0.32.0.tbz" + checksum: [ + "sha256=424e36e58ae3401d617fd25afb39fb75338034444cb49a805ce2382e6dc2a933" + "sha512=25a42256885e20ff99b509c7ffd8923bf90502964c74dee83510d9dca6960b6a5d83587170b006d1294d7e7056cd3adf4d835a77841ecb28d7b080a4a3183c04" + ] +} +x-commit-hash: "0e3b4d45e11654e07ef3888c43b6b8a46b90f204"