[wg-camlp4] Negative field report: extension points unsuited for (matches p when e)

Alain Frisch alain.frisch at lexifi.com
Fri Aug 30 15:58:10 BST 2013


On 05/01/2013 04:44 PM, Gabriel Scherer wrote:
 > The recent caml-list message by rixed (archived below) motivated me to
 > get pa_matches in shape (it lacked support for "when ..."), and try to
 > see how a similar extension could be implemented with the new
 > extension_points branch.

Here is a version of ppx_matches using the new form of payload for 
extension nodes:

http://caml.inria.fr/cgi-bin/viewvc.cgi/ocaml/trunk/experimental/frisch/ppx_matches.ml?revision=HEAD&view=markup

and an example using it:

http://caml.inria.fr/cgi-bin/viewvc.cgi/ocaml/trunk/experimental/frisch/test_matches.ml?revision=HEAD&view=markup

Alain


More information about the wg-camlp4 mailing list