-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CHANGES: - Added `error_extensionf` function to the `Location` module (ocaml-ppx/ppxlib#316, @panglesd) - Ast patterns: add `drop` and `as` patterns (ocaml-ppx/ppxlib#313 by @Kakadu, review by @pitag-ha) - Fixed a bug resulting in disscarded rewriters in the presence of instrumentations, as well as a wrong order of rewriting (ocaml-ppx/ppxlib#296, @panglesd) - Driver: Append the last valid AST to the error in case of located exception when embedding errors (ocaml-ppx/ppxlib#315, @panglesd)
- Loading branch information
Showing
1 changed file
with
62 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
opam-version: "2.0" | ||
synopsis: "Standard library for ppx rewriters" | ||
description: """ | ||
Ppxlib is the standard library for ppx rewriters and other programs | ||
that manipulate the in-memory reprensation 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: ["[email protected]"] | ||
authors: ["Jane Street Group, LLC <[email protected]>"] | ||
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" & < "4.15"} | ||
"ocaml-compiler-libs" {>= "v0.11.0"} | ||
"ppx_derivers" {>= "1.0"} | ||
"sexplib0" {>= "v0.12"} | ||
"stdlib-shims" | ||
"ocamlfind" {with-test} | ||
"re" {with-test & >= "1.9.0"} | ||
"cinaps" {with-test & >= "v0.12.1"} | ||
"base" {with-test} | ||
"stdio" {with-test} | ||
"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.25.0/ppxlib-0.25.0.tbz" | ||
checksum: [ | ||
"sha256=2d2f150e7715845dc578d254f705a67600be71c986b7e67e81befda612870bd5" | ||
"sha512=464220e3d8c75503824b73393df0b8ad16019acf55b8ecef89f8d464cd6d054e470ce4866b244216c5f7b85a5e8abad908aad212a78b4a132f3092fa785da0de" | ||
] | ||
} | ||
x-commit-hash: "2fde140076144150d01997d529d451bbcae439c4" |