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 687D97FA4D for ; Tue, 29 Jul 2014 23:47:38 +0200 (CEST) Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of Christophe.Raffalli@univ-savoie.fr) identity=pra; client-ip=62.4.25.188; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="raffalli@univ-savoie.fr"; x-sender="Christophe.Raffalli@univ-savoie.fr"; x-conformance=sidf_compatible Received-SPF: SoftFail (mail3-smtp-sop.national.inria.fr: domain of raffalli@univ-savoie.fr is inclined to not designate 62.4.25.188 as permitted sender) identity=mailfrom; client-ip=62.4.25.188; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="raffalli@univ-savoie.fr"; x-sender="raffalli@univ-savoie.fr"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of postmaster@raffalli.eu) identity=helo; client-ip=62.4.25.188; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="raffalli@univ-savoie.fr"; x-sender="postmaster@raffalli.eu"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av4EAAUW2FM+BBm8/2dsb2JhbABagw7WBhZ3hF1iNAVJiFmYZ6cHkwKBGwWbTgGUToNL X-IPAS-Result: Av4EAAUW2FM+BBm8/2dsb2JhbABagw7WBhZ3hF1iNAVJiFmYZ6cHkwKBGwWbTgGUToNL X-IronPort-AV: E=Sophos;i="5.01,759,1400018400"; d="asc'?scan'208";a="73269697" Received: from raffalli.eu ([62.4.25.188]) by mail3-smtp-sop.national.inria.fr with ESMTP/TLS/ADH-AES256-SHA; 29 Jul 2014 23:47:37 +0200 Received: from localhost (bin73-1-78-240-16-62.fbx.proxad.net [78.240.16.62]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by raffalli.eu (Postfix) with ESMTPSA id 469077A00047 for ; Tue, 29 Jul 2014 23:47:36 +0200 (CEST) Date: Tue, 29 Jul 2014 23:47:35 +0200 From: Christophe Raffalli To: Caml list Message-ID: <20140729214735.GA24140@delli7.univ-savoie.fr> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="C7zPtVaVf+AK4Oqc" Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) X-Validation-by: christophe.raffalli@univ-savoie.fr Subject: [Caml-list] Writing preprocessor using compiler-libs --C7zPtVaVf+AK4Oqc Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hello, There are a few examples and documentation on how to write syntax extensions without camlp4 using -ppx compiler flags. However, I could not find an example of writing a preprocessor compatible with -pp only using compiler-libs and without camlp4 ? Anyone with an example, even very simple like a calculator ;-) Or some guide lines ... Cheers, Christophe --C7zPtVaVf+AK4Oqc Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlPYFncACgkQi9jr/RgYAS7IggCfQsPrilSy1vlHYMcQY12WOql7 yjcAn2ZKlx+csnZg+li8eYt8CQmVAAMY =KkT2 -----END PGP SIGNATURE----- --C7zPtVaVf+AK4Oqc--