From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by sympa.inria.fr (Postfix) with ESMTPS id 37C597FCCB for ; Thu, 9 Apr 2015 18:51:43 +0200 (CEST) Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of info@gerd-stolpmann.de) identity=pra; client-ip=212.227.126.130; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="info@gerd-stolpmann.de"; x-sender="info@gerd-stolpmann.de"; x-conformance=sidf_compatible Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of info@gerd-stolpmann.de) identity=mailfrom; client-ip=212.227.126.130; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="info@gerd-stolpmann.de"; x-sender="info@gerd-stolpmann.de"; x-conformance=sidf_compatible Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of postmaster@mout.kundenserver.de) identity=helo; client-ip=212.227.126.130; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="info@gerd-stolpmann.de"; x-sender="postmaster@mout.kundenserver.de"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0BvBQDtrSZVlIJ+49Rcgx09XMYUBoYBAoFBPBABAQEBAQEBEQEBAQEHCwsJEjCEIAEBBFUkEAtGVwYTCYglCbdjIW8NlSoBAQEBAQEBAwEBAQEBHYsrhFYmB4ItDEGBMwWGHosnAZBXA41KhBNtAYJCAQEB X-IPAS-Result: A0BvBQDtrSZVlIJ+49Rcgx09XMYUBoYBAoFBPBABAQEBAQEBEQEBAQEHCwsJEjCEIAEBBFUkEAtGVwYTCYglCbdjIW8NlSoBAQEBAQEBAwEBAQEBHYsrhFYmB4ItDEGBMwWGHosnAZBXA41KhBNtAYJCAQEB X-IronPort-AV: E=Sophos;i="5.11,550,1422918000"; d="asc'?scan'208";a="109014839" Received: from mout.kundenserver.de ([212.227.126.130]) by mail3-smtp-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-SHA; 09 Apr 2015 18:51:19 +0200 Received: from office1.lan.sumadev.de ([178.4.18.152]) by mrelayeu.kundenserver.de (mreue002) with ESMTPSA (Nemesis) id 0MOo90-1Yj0pU2yHO-006AII; Thu, 09 Apr 2015 18:51:18 +0200 Received: from [192.168.5.106] (thinkpad.lan.sumadev.de [192.168.5.106]) by office1.lan.sumadev.de (Postfix) with ESMTPSA id 344ADDC05D; Thu, 9 Apr 2015 18:51:18 +0200 (CEST) Message-ID: <1428598274.4056.111.camel@thinkpad.lan.sumadev.de> From: Gerd Stolpmann To: Dario Teixeira Cc: caml-list@inria.fr Date: Thu, 09 Apr 2015 18:51:14 +0200 In-Reply-To: <02a4b13213003ff9d702faa07ff98b6e@nleyten.com> References: <2f9c74beafcf41f3ab30324fb1ece739@nleyten.com> <55257AAD.6030004@zoho.com> <5297cdaceccd6db2a60700bf686ccfb7@nleyten.com> <1428576994.22412.21.camel@e130.lan.sumadev.de> <02a4b13213003ff9d702faa07ff98b6e@nleyten.com> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-0NDfOuh9GOoo4eVr2W9y" X-Mailer: Evolution 3.10.4-0ubuntu2 Mime-Version: 1.0 X-Provags-ID: V03:K0:Xs0q3yot0HlW9CKMNentAakGdeXd7RLuLVTeu4maITTZs7WBIWI CXIgvTtlbax7L9AHQxSrvXaj5lcjfzxMGMGCn774ByjjDZLQ+SEwBYbSOhu71vEbz39UFOx L6fJu7wbWmR1FCSScGpvh2NGvR4paQWUUN+AN/hujh+1tEqY7OXEPd+W4f21DOMowcjvNDe 4AkpqWN7XDTHg+T+hANSg== X-UI-Out-Filterresults: notjunk:1; Subject: Re: [Caml-list] META file standards for ppx extensions --=-0NDfOuh9GOoo4eVr2W9y Content-Type: text/plain; charset="ISO-8859-15" Content-Transfer-Encoding: quoted-printable Am Donnerstag, den 09.04.2015, 17:28 +0100 schrieb Dario Teixeira: > Hi, >=20 > > How do you compose ppx extensions using META? Can you require > > "barloot.ppx"? The camlp4 "syntax" packages are usual ocaml > > libraries, so the rules of composition are (almost) clear. > > How does it work when you want to compose ppx rewriters? >=20 > Gerd can provide a more authoritative answer, but I reckon > ocamlfind is smart enough to handle such cases. You can > already require a sub-package after all, and involving ppx > should not change this. As ppx rewriters are commands, and as you can specify the -ppx option several times to invoke several commands, the answer should be as clear as for the library case: The commands are just run one after the other, and if there is a dependency "ppx1 requires ppx2", the command for ppx2 is run first. Gerd --=20 ------------------------------------------------------------ Gerd Stolpmann, Darmstadt, Germany gerd@gerd-stolpmann.de My OCaml site: http://www.camlcity.org Contact details: http://www.camlcity.org/contact.html Company homepage: http://www.gerd-stolpmann.de ------------------------------------------------------------ --=-0NDfOuh9GOoo4eVr2W9y Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAABAgAGBQJVJq4CAAoJEAaM4b9ZLB5TzzEH/invJpFM8FomLNlxs1TF++Om RVgWzSyVQT2fkLaBg29B7Daw6l1nyMymWunly60yQvOMmi/aQbrH2SWFpaH+NegO jV/vDdPdMYn3ouh+bgHAj7Ex5xPDqU8QEpmAIsTy9x7LhsxkgU+pbt7hu8+MN/Z1 4GC3VQtN4bSyKMwfyx93gWVcvD7Q+tShdYwaL4uD/TO56PdLhCfulCmTayezbQhV Ny2Ff27AqD1nqdozRUVGUP/tX8GUamqHLtb+aosAE0a/ZGQFVzx39swxyMbBPYYY 4yU8pdsxsGiWxsclj4/SDUCOq+2BGqfy+qgevyrBuZytxfuZa4xyvyzgcsuqTT8= =haKs -----END PGP SIGNATURE----- --=-0NDfOuh9GOoo4eVr2W9y--