Commit graph

6 commits

Author SHA1 Message Date
jaapb
11a6e0d383 Recursive revbump associated with ocaml update to 4.04. 2016-12-30 11:16:56 +00:00
jaapb
8a5bc25661 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.
2016-08-18 10:48:06 +00:00
jaapb
f4ed843a93 Updated package to latest version, 113.33.01. Changes include: 2016-06-20 18:48:10 +00:00
wiz
efddfa9d77 Fix HOMEPAGE to be copy'n'pastable. 2016-06-09 06:23:38 +00:00
jaapb
9718550454 Recursive revbump associated with ocaml update. 2016-05-05 11:45:36 +00:00
jaapb
1447ed81d5 Added package devel/ppx_core version 113.24.00, a standard library for
ppx rewriters.
2016-03-04 15:22:01 +00:00