[ANN] Ppxlib 0.4.0

announce

#1

Hi,

The ppxlib team is pleased to announce the release of ppxlib 0.4.0. This release adds better support for defining compile-time interpretation of dotted operators such as +.+ and also improves integration with other tools such as reason or metaocaml by no longer complaining about attributes generated by these tools. In particular, ppxlib now treats all attributes whose name start with an _ as machine generated attributes and doesn’t complain if it can’t decide whether they have been correctly interpreted or not. FTR, ppxlib tries to detect attributes and extension points that are dead-code, in order to catch typing mistakes or misplacement.

Here is the full changelog for this release:

  • Do not report errors about dropped or uninterpreted attributes
    starting with _ (ocaml-ppx/ppxlib#46, fix ocaml-ppx/ppxlib#40, @diml)

  • Fix he special_function rule for dotted operators and allow
    Longident.parse to parse dotted operators (ocaml-ppx/ppxlib#44, @Octachron)

  • Port to dune and remove use of bash (ocaml-ppx/ppxlib#45, @rgrinberg)

  • Ignore all attribites starting with _ (ocaml-ppx/ppxlib#46, @diml)

  • Reserve the reason and refmt namespaces (ocaml-ppx/ppxlib#46, @diml)

  • Reserve the metaocaml namespace (ocaml-ppx/ppxlib#50, @rgrinberg)

  • Fix attribute extraction for Otag/Rtag (ocaml-ppx/ppxlib#51, @xclerc)

  • Do not relocate files unless -loc-filename is passed (ocaml-ppx/ppxlib#55, @hhugo)

  • Perserve the filename in the output (ocaml-ppx/ppxlib#56, @hhugo)