Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose migration/copying/etc. functions for all AST types needed by Pprintast #454

Merged
merged 3 commits into from
Aug 10, 2023

Conversation

antalsz
Copy link
Contributor

@antalsz antalsz commented Aug 10, 2023

This moves some cinaps stuff around, but otherwise is just a widening of the exposed APIs -- no new functionality is defined (except for a few new identity functions for the 4.14 <-> 5.00 nonmigration).

The motivation for this is that we would like to be able to link up Pprintast with the flambda-backend pretty-printer, and this requires the broader API surface area this PR exposes; to be clear, though, this PR doesn't do anything flambda-backend specific.

@ceastlund
Copy link
Collaborator

Looks like it needs a changelog entry, can you add one? Otherwise, once the CI signs off on the tests, looks good to me.

@antalsz
Copy link
Contributor Author

antalsz commented Aug 10, 2023

Done, I used the PR title

Signed-off-by: Antal Spector-Zabusky <[email protected]>
@antalsz antalsz force-pushed the expose-everything branch 2 times, most recently from 5240684 to 601b702 Compare August 10, 2023 21:49
Signed-off-by: Antal Spector-Zabusky <[email protected]>
@ceastlund ceastlund merged commit 95baecb into ocaml-ppx:main Aug 10, 2023
4 checks passed
avsm pushed a commit to ocaml/opam-repository that referenced this pull request Oct 5, 2023
CHANGES:

- Fix support for OCaml 5.1: migrated code preserves generative
  functor warnings, without creating more. Locations are better
  preserved. (ocaml-ppx/ppxlib#432, @pitag-ha, @panglesd)

- Driver: Add `-unused-code-warnings` command-line flag. (ocaml-ppx/ppxlib#444, @ceastlund)

- Add `?warning` flag to `Deriving.Generator.make`. (ocaml-ppx/ppxlib#440, @jacksonzou123 via @ceastlund)

- Restore the "path_arg" functionality in the V3 API (ocaml-ppx/ppxlib#431, @ELLIOTTCABLE)

- Expose migration/copying/etc. functions for all AST types needed by `Pprintast` (ocaml-ppx/ppxlib#454, @antalsz)

- Preserve quoted attributes on antiquotes in metaquot (ocaml-ppx/ppxlib#441, @ncik-roberts)

- Attribute namespaces: Fix semantics of reserving multi-component namespaces (ocaml-ppx/ppxlib#443, @ncik-roberts)
nberth pushed a commit to nberth/opam-repository that referenced this pull request Jun 18, 2024
CHANGES:

- Fix support for OCaml 5.1: migrated code preserves generative
  functor warnings, without creating more. Locations are better
  preserved. (ocaml-ppx/ppxlib#432, @pitag-ha, @panglesd)

- Driver: Add `-unused-code-warnings` command-line flag. (ocaml-ppx/ppxlib#444, @ceastlund)

- Add `?warning` flag to `Deriving.Generator.make`. (ocaml-ppx/ppxlib#440, @jacksonzou123 via @ceastlund)

- Restore the "path_arg" functionality in the V3 API (ocaml-ppx/ppxlib#431, @ELLIOTTCABLE)

- Expose migration/copying/etc. functions for all AST types needed by `Pprintast` (ocaml-ppx/ppxlib#454, @antalsz)

- Preserve quoted attributes on antiquotes in metaquot (ocaml-ppx/ppxlib#441, @ncik-roberts)

- Attribute namespaces: Fix semantics of reserving multi-component namespaces (ocaml-ppx/ppxlib#443, @ncik-roberts)
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.

2 participants