Ppxlib dev meetings

This week’s meeting notes are available online.

Here’s a brief TL;DR of some of the main points of discussion.

  • 5.2 AST bump progress is waiting for patches to as many ppxes as possible and for fixes to the migration bug(s) (see next bullet point). If ppx authors wish to try the new ppxlib they can add an opam-overlay which also contains patches to a few existing ppxes:
    $ opam repo add git+https://github.com/patricoferris/opam-ppxlib-repository.git
    
  • Nathan has worked on a better AST printer inspired by the ppx_tools printer and the existing printing functionality of ppxlib. See this PR for more details. This should help better debug AST migration bugs. It makes good use of the AST lift class.
  • With breakages happening in Ast_helper and Ast_builder it became unclear why Ast_helper exists at all. There’s a move to deprecate Ast_helper and promote the use of Ast_builder instead. This should help reduce maintenance costs and API breakages.
  • We need to consolidate our documentation better. There should be a focus on moving as much documentation to the mld and mli files as possible.

Happy ppxing :camel: !

1 Like