Skip to content

0.37.0

Latest

Choose a tag to compare

@NathanReb NathanReb released this 10 Oct 12:40
· 1 commit to main since this release

CHANGES:

5.4 Support

Other Changes

  • Add Longident.to/of_compiler to 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 mod would be printed as
    raw identifiers by our Pprintast. (#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_ast functions via the ?printer config
    parameter. (#526, @pedrobslisboa)