package metapp
Install
Dune Dependency
Authors
Maintainers
Sources
sha512=4c22ceff2d70219263f27b3dc5bc6586d7db2b02310f0534851e2ac6efb493c5107ea7c51b7cc1888e89a4df3f3067336d5c58dc7468c0f26b32c926482267dc
CHANGES.md.html
Version 0.4.3, 2022-03-21
Add getters
Metapp.Types.get_{desc,level,scope,id}
sinceTypes.type_expr
is abstract in OCaml 4.14.
Version 0.4.2, 2021-10-08
Add
Metapp.Types.destruct_tpackage
: returns a pairSome (path, list)
if aTypes.type_desc
is aTpackage
, for compatibility between OCaml 4.13 and older versions of OCaml.
Version 0.4.1, 2021-10-04
Add
Metapp.Types.destruct_type_variant
: returns a pairSome (ctors, repr)
if aTypes.type_kind
is aType_variant
, for compatibility between OCaml 4.13 and older versions of OCaml.
Version 0.4.0, 2021-02-19
Port to ppxlib 0.18 and OCaml 4.12 (by kit-ty-kate, #2)
Version 0.3.0, 2020-09-22
Port to ppxlib 0.16 / ocaml-migrate-parsetree 2.0.0
Metapp.ExtensibleS.destruct_extension
returns a pairSome (e, attrs)
wheree
is the extension andattrs
is the list of optional attributes.Fix bug with nested calls in meta-quotes
Add
?optional
argument toMetapp.apply
Add
[%%metaverbose]
for logging compilation commands.
Version 0.2.0, 2020-05-11
Compatibility with OCaml 4.11.0
More utility functions in
Metapp
module to construct and destruct OCaml's parsetree in a version-independent wayFunctions for invoking OCaml compiler and loading modules dynamically are exported in the package
metapp.dyncompile
.
Version 0.1.0, 2020-02-27
First release