[ANN] ppxfind: use legacy ppx rewriters with jbuilder

Hi,

I’ve just released a new ppxfind tool in opam. This tool allows to use non-driverised ppx rewriters with jbuilder. It is it not the recommended way to use ppx rewriters with jbuilder, in particular you’ll still have to specify runtime dependencies manually and preprocessing will be slower, however if you don’t have a choice this tool can help.

To use legacy ppx rewriters with jbuilder, simply write this in your jbuild file:

  (preprocess (action (run ppxfind -legacy ppx1,ppx2,... --as-pp ${<})))
10 Likes