CHANGES:
5.4 Support
- Add initial OCaml 5.4 support (#570, @patricoferris, @NathanReb)
Other Changes
-
Add
Longident.to/of_compilerto astlib to simplify maintenance
of ppx-es that interacts with other parts of the compiler-libs such
as the type checker. (#603, @NathanReb) -
Fix a bug where some infix operators such as
modwould be printed as
raw identifiers by ourPprintast. (#601, @NathanReb) -
Fix 5.2 -> 5.3 migration of constants. Those used to always have a
none
location which can lead to unhelpful error messages.
(#569, @NathanReb) -
Add a new context-free rule type that replaces AST nodes that have the registered
attributes attached to them. (#574, @Skepfyr) -
Allow users to derive code from module bindings and module declarations
(#576, @patricoferris) -
Expose
Ppxlib.Location.Error.t = Astlib.Location.Error.t(#593, @ceastlund) -
Add
@@@ppxlib.inline.end, deprecate@@@deriving.end. (#594, @ceastlund) -
Clean the AST of any ppxlib migration attributes whenever printing using
Pretty_print mode and the use_compiler_pp flag. (#598, @patricoferris) -
Add custom printer support to
pp_astfunctions via the?printerconfig
parameter. (#526, @pedrobslisboa)