./devel/ocaml-ppx_core, Standard library for OCaml ppx rewriters

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.9.2nb1, Package name: ocaml-ppx_core-0.9.2nb1, Maintainer: jaapb

Ppx_core is a standard library for OCaml AST transformers. It contains:

* various auto-generated AST traversal using an open recursion scheme
* helpers for building AST fragments
* helpers for matching AST fragments
* a framework for dealing with attributes and extension points


Required to run:
[lang/ocaml] [devel/ocaml-findlib] [devel/ocaml-jbuilder] [devel/ocaml-ppx_traverse_builtins] [devel/ocaml-ppx_ast] [devel/ocaml-compiler-libs] [devel/ocaml-stdio]

Required to build:
[pkgtools/cwrappers] [misc/ocaml-opaline]

Master sites:

SHA1: 588acc9bacfe0f5e90d8c5cd381237f2af1eeac3
RMD160: 375e6ff65bf8aaf7a86dd69dc95b3432a24ddd33
Filesize: 43.518 KB

Version history: (Expand)


CVS history: (Expand)


   2018-04-04 21:23:03 by Jaap Boender | Files touched by this commit (3)
Log message:
Revbump for devel/ocaml-ppx_core.

No upstream changes, just dealing with the new files installed by the
new version of jbuilder.
   2018-01-10 17:03:53 by Jaap Boender | Files touched by this commit (3) | Package updated
Log message:
Updated devel/ocaml-ppx_core to version 0.9.2.

A changelog is not available.
   2017-09-08 11:51:27 by Jaap Boender | Files touched by this commit (113) | Package updated
Log message:
Recursive revbump associated with update of ocaml to 4.05
   2017-07-23 14:13:13 by Jaap Boender | Files touched by this commit (1)
Log message:
GITHUB_TAG added (otherwise the distfile location is wrong)
   2017-07-21 15:27:52 by Jaap Boender | Files touched by this commit (5) | Package updated
Log message:
Updated package to new version (caution: new versioning scheme!), 0.9.0.
There does not seem to be a changelog - one change is in the build system
which now uses ocaml-jbuilder.
   2017-07-11 16:15:10 by Jaap Boender | Files touched by this commit (4)
Log message:
Revbump associated with ocaml-4.04.2, plus correction of versioning scheme
and configure flags
   2016-12-30 12:17:03 by Jaap Boender | Files touched by this commit (89) | Package updated
Log message:
Recursive revbump associated with ocaml update to 4.04.
   2016-08-18 12:48:06 by Jaap Boender | Files touched by this commit (5) | Package updated
Log message:
Updated package to version 114.01+04. This is an unreleased version based
on a GitHub tag; reason for this is that the latest released version,
113.33.03, does not compile with pkgsrc. The patches for this are already in
GitHub, hence this update.

Changes include:
* We currently reject code which contains attribute on constructor inside \ 
polymorphic variant types definition. The reason is that while there is a \ 
dedicated place for them in the AST, the surface syntax didn't allow one to \ 
write such attributes.
  This won't be true anymore once we switch to 4.03 as documentation comments \ 
present in these locations get turned into attributes.
* accept attributes on object types fields.
* Make all ppx rewriters context free. We currently have an API for context free \ 
extension expanders but other kind of transformations still require a full AST \ 
traversal, even though they are all local transformations.
  This features adds the necessary bits to make it possible to merge all the \ 
transformations in one pass. This both improve speed and semantic. Speed as we \ 
do less passes, and semantic as the resulting AST is completely independent of \ 
the order in which transformations are listed in jbuild files.
  Passes before this feature:
  $ ppx.exe -print-passes
  <builtin:freshen-and-collect-attributes>
  <bultin:context-free>
  type_conv
  custom_printf
  expect_test
  fail
  js_style
  pipebang
  <builtin:check-unused-attributes>
  <builtin:check-unused-extensions>
  After:
  <builtin:freshen-and-collect-attributes>
  <bultin:context-free>
  js_style
  <builtin:check-unused-attributes>
  <builtin:check-unused-extensions>
  The resulting driver is about twice faster, which might help compilation speed.