Ppxlib 0.4.0
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.
See full changelog
- Do not report errors about dropped or uninterpreted attributes
starting with
_
(#46, fix #40, @diml) - Fix he
special_function
rule for dotted operators and allowLongident.parse
to parse dotted operators (#44, @Octachron) - Port to
dune
and remove use of bash (#45, @rgrinberg) - Ignore all attribites starting with
_
(#46, @diml) - Reserve the
reason
andrefmt
namespaces (#46, @diml) - Reserve the
metaocaml
namespace (#50, @rgrinberg) - Fix attribute extraction for Otag/Rtag (#51, @xclerc)
- Do not relocate files unless
-loc-filename
is passed (#55, @hhugo) - Preserve the filename in the output (#56, @hhugo)