Releases: ocamllibs/metapp
v0.4.4
-
Port to ppxlib 0.26.0
(suggested by @nilsbecker, ocamllibs/ocaml-in-python#1) -
Add
Pat.Construct.Arg.{construct,destruct}for constructing and
destructingPpat_constructargument (for compatibility between OCaml 4.14
and older versions of OCaml). -
Add
Te.destruct_declfor destructingPext_decl(for compatibility between
OCaml 4.14 and older versions of OCaml).
v0.4.3
- Add getters
Metapp.Types.get_{desc,level,scope,id}sinceTypes.type_expr
is abstract in OCaml 4.14.
v0.4.2
- Add
Metapp.Types.destruct_tpackage: returns a pairSome (path, list)
if aTypes.type_descis aTpackage, for compatibility between OCaml 4.13
and older versions of OCaml.
v0.4.1
- Add
Metapp.Types.destruct_type_variant: returns a pairSome (ctors, repr)
if aTypes.type_kindis aType_variant, for compatibility between OCaml 4.13
and older versions of OCaml.
0.4.0
0.3.0
-
Port to ppxlib 0.16 / ocaml-migrate-parsetree 2.0.0
-
Metapp.ExtensibleS.destruct_extensionreturns a pairSome (e, attrs)where
eis the extension andattrsis the list of optional attributes. -
Fix bug with nested calls in meta-quotes
-
Add
?optionalargument toMetapp.apply -
Add
[%%metaverbose]for logging compilation commands.
0.2.0
-
Compatibility with OCaml 4.11.0
-
More utility functions in
Metappmodule to construct and destruct OCaml's parsetree in a version-independent way -
Functions for invoking OCaml compiler and loading modules dynamically are exported in the package
metapp.dyncompile.
0.1.0
First release!