Ppxlib 0.21.0
See full changelog
- Fix ppxlib.traverse declaration and make it a deriver and not a rewriter (#213, @NathanReb)
- Driver (important for bucklescript): handling binary AST's, accept any supported version as input; preserve that version (#205, @pitag-ha)
-as-ppx: take into account the-loc-filenameargument (#197, @pitag-ha)- Add input name to expansion context (#202, @pitag-ha)
- Add Driver.V2: give access to expansion context in whole file transformation
callbacks of
register_transformation(#202, @pitag-ha) - Driver: take
-cookieargument into account, also when the input is a binary AST (@pitag-ha, #209) run_as_ppx_rewriter: take into account the arguments-loc-filename,applyanddont-apply(#205, @pitag-ha)- Location.Error: add functions
raiseandupdate_loc(#205, @pitag-ha)