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 B23ED7F9A8 for ; Mon, 30 Jun 2014 15:10:49 +0200 (CEST) Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of lpw25@cam.ac.uk) identity=pra; client-ip=131.111.8.152; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="lpw25@cam.ac.uk"; x-sender="lpw25@cam.ac.uk"; x-conformance=sidf_compatible Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of lpw25@cam.ac.uk) identity=mailfrom; client-ip=131.111.8.152; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="lpw25@cam.ac.uk"; x-sender="lpw25@cam.ac.uk"; x-conformance=sidf_compatible Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of postmaster@ppsw-52.csi.cam.ac.uk) identity=helo; client-ip=131.111.8.152; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="lpw25@cam.ac.uk"; x-sender="postmaster@ppsw-52.csi.cam.ac.uk"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AjkBADthsVODbwiYnGdsb2JhbABar1YGmjUBgQkWDwEBAQEBCAsJCRQohAMBAQQBOj8FCwshJQ8BBEkTiDoIwR2FexeFZIkjB4RDBbIe X-IPAS-Result: AjkBADthsVODbwiYnGdsb2JhbABar1YGmjUBgQkWDwEBAQEBCAsJCRQohAMBAQQBOj8FCwshJQ8BBEkTiDoIwR2FexeFZIkjB4RDBbIe X-IronPort-AV: E=Sophos;i="5.01,575,1400018400"; d="scan'208";a="69576854" Received: from ppsw-52.csi.cam.ac.uk ([131.111.8.152]) by mail3-smtp-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-SHA; 30 Jun 2014 15:10:49 +0200 X-Cam-AntiVirus: no malware found X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/ Received: from kingston.cl.cam.ac.uk ([128.232.64.15]:56335) by ppsw-52.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.159]:587) with esmtpsa (PLAIN:lpw25) (TLSv1.2:DHE-RSA-AES128-SHA:128) id 1X1bM8-0006oP-E5 (Exim 4.82_3-c0e5623) (return-path ); Mon, 30 Jun 2014 14:10:48 +0100 From: Leo White To: Christophe Raffalli Cc: Damien Doligez , Caml list References: <33BA74EC-E875-437F-A8A0-34011307D21D@inria.fr> <20140628075848.GA31670@delli7.univ-savoie.fr> X-Face: "XWxb[u_Z\PA_Y?9@|IA!!+jTb(/290-*ea/Un$I0B98.$n%eL.;2w*,z]WR#T:,p[ NBd++M7l]#7zj7!{~iw $W-"/=|dVjhT[D{4~gE}gK<2`.6fs!;uqqud]vs2N/3^m7{aS1V, Date: Mon, 30 Jun 2014 14:10:48 +0100 In-Reply-To: <20140628075848.GA31670@delli7.univ-savoie.fr> (Christophe Raffalli's message of "Sat, 28 Jun 2014 09:58:48 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: [Caml-list] OCaml release 4.02.0+beta1 Christophe, I think the compiler-libs library (included with the distribution) includes the AST definition as well as the `Ast_helper` module containing utilities for constructing ASTs. Regards, Leo Christophe Raffalli writes: > Hello, > > I find reasonnable the removal of camlp4 from the standard distribution. However, it would be nice to keep a small library > to be able to use "ocaml -pp" and still send to OCaml serailized AST within the standard library. This way anyonz can write parser > for DSL to OCaml and avoid parsing twice. > > It should be a library with the the definition of the AST, so it could be rather small? > > Cheers, > Christophe