Skip to content

Releases: thierry-martinez/metapp

v0.4.4

15 Jul 11:42
Compare
Choose a tag to compare
  • Port to ppxlib 0.26.0
    (suggested by @nilsbecker, thierry-martinez/ocaml-in-python#1)

  • Add Pat.Construct.Arg.{construct,destruct} for constructing and
    destructing Ppat_construct argument (for compatibility between OCaml 4.14
    and older versions of OCaml).

  • Add Te.destruct_decl for destructing Pext_decl (for compatibility between
    OCaml 4.14 and older versions of OCaml).

v0.4.3

21 Mar 11:26
Compare
Choose a tag to compare
  • Add getters Metapp.Types.get_{desc,level,scope,id} since Types.type_expr
    is abstract in OCaml 4.14.

v0.4.2

08 Oct 13:19
Compare
Choose a tag to compare
  • Add Metapp.Types.destruct_tpackage: returns a pair Some (path, list)
    if a Types.type_desc is a Tpackage, for compatibility between OCaml 4.13
    and older versions of OCaml.

v0.4.1

06 Oct 08:45
Compare
Choose a tag to compare
  • Add Metapp.Types.destruct_type_variant: returns a pair Some (ctors, repr)
    if a Types.type_kind is a Type_variant, for compatibility between OCaml 4.13
    and older versions of OCaml.

0.4.0

18 Feb 23:05
Compare
Choose a tag to compare

Port to ppxlib 0.18 and OCaml 4.12 (by kit-ty-kate, #2)

0.3.0

30 Sep 19:32
Compare
Choose a tag to compare
  • Port to ppxlib 0.16 / ocaml-migrate-parsetree 2.0.0

  • Metapp.ExtensibleS.destruct_extension returns a pair Some (e, attrs) where
    e is the extension and attrs is the list of optional attributes.

  • Fix bug with nested calls in meta-quotes

  • Add ?optional argument to Metapp.apply

  • Add [%%metaverbose] for logging compilation commands.

0.2.0

11 May 12:01
Compare
Choose a tag to compare
  • Compatibility with OCaml 4.11.0

  • More utility functions in Metapp module 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

27 Feb 14:04
Compare
Choose a tag to compare

First release!