Skip to content

[new release] ppxlib (0.21.0)#18019

Merged
kit-ty-kate merged 2 commits intoocaml:masterfrom
NathanReb:release-ppxlib-0.21.0
Jan 22, 2021
Merged

[new release] ppxlib (0.21.0)#18019
kit-ty-kate merged 2 commits intoocaml:masterfrom
NathanReb:release-ppxlib-0.21.0

Conversation

@NathanReb
Copy link
Copy Markdown
Contributor

Standard library for ppx rewriters

CHANGES:

NathanReb and others added 2 commits January 22, 2021 12:34
CHANGES:

- Fix ppxlib.traverse declaration and make it a deriver and not a rewriter
  (ocaml-ppx/ppxlib#213, @NathanReb)
- Driver (important for bucklescript): handling binary AST's, accept any
  supported version as input; preserve that version (ocaml-ppx/ppxlib#205, @pitag-ha)

- `-as-ppx`: take into account the `-loc-filename` argument (ocaml-ppx/ppxlib#197, @pitag-ha)

- Add input name to expansion context (ocaml-ppx/ppxlib#202, @pitag-ha)

- Add Driver.V2: give access to expansion context in whole file transformation
  callbacks of `register_transformation` (ocaml-ppx/ppxlib#202, @pitag-ha)

- Driver: take `-cookie` argument into account, also when the input is a
  binary AST (@pitag-ha, ocaml-ppx/ppxlib#209)

- `run_as_ppx_rewriter`: take into account the arguments
  `-loc-filename`, `apply` and `dont-apply` (ocaml-ppx/ppxlib#205, @pitag-ha)

- Location.Error: add functions `raise` and `update_loc`
  (ocaml-ppx/ppxlib#205, @pitag-ha)
@camelus
Copy link
Copy Markdown
Contributor

camelus commented Jan 22, 2021

Commit: e60cbdd

A pull request by opam-seasoned @NathanReb.

☀️ All lint checks passed e60cbdd
  • These packages passed lint tests: ppxlib.0.21.0

☀️ Installability check (+1)
  • new installable packages (1): ppxlib.0.21.0

@kit-ty-kate
Copy link
Copy Markdown
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants