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 mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by sympa.inria.fr (Postfix) with ESMTPS id 597677F198 for ; Tue, 26 Jan 2016 17:15:48 +0100 (CET) IronPort-PHdr: 9a23:2ME+Hxx2qWdifDTXCy+O+j09IxM/srCxBDY+r6Qd0eIUIJqq85mqBkHD//Il1AaPBtWEraocwLSM+4nbGkU+or+5+EgYd5JNUxJXwe43pCcHRPC/NEvgMfTxZDY7FskRHHVs/nW8LFQHUJ2mPw6anHS+4HYoFwnlMkItf6KuStGU15z8ibr60qaQSjsLrQL1Wal1IhSyoFeZnegtqqwmFJwMzADUqGBDYeVcyDAgD1uSmxHh+pX4p8Y7oGwD884mooRHWqz/e+EzSqZVJDshNG8x6cLxsgTbVk2E4X5WGjERmRNNB03O6wv3dpj2tST+u+Vn3zSCJov9SrViChq46KI+ahLyhSIGOnYV8WTWjMs42KBXoRegoRtXwYfSbZqJLvdzYuXWetZMFjkJZdpYSyEUWtD0VIAIFedUZes= Authentication-Results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=jdimino@janestreet.com; spf=PermError smtp.mailfrom=jdimino@janestreet.com; spf=None smtp.helo=postmaster@mxout1.mail.janestreet.com Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of jdimino@janestreet.com) identity=pra; client-ip=38.105.200.112; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="jdimino@janestreet.com"; x-sender="jdimino@janestreet.com"; x-conformance=sidf_compatible Received-SPF: PermError (mail2-smtp-roc.national.inria.fr: cannot correctly interpret sender authenticity information from domain of jdimino@janestreet.com) identity=mailfrom; client-ip=38.105.200.112; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="jdimino@janestreet.com"; x-sender="jdimino@janestreet.com"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of postmaster@mxout1.mail.janestreet.com) identity=helo; client-ip=38.105.200.112; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="jdimino@janestreet.com"; x-sender="postmaster@mxout1.mail.janestreet.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0A5AQBomqdWnHDIaSZehHkGiFG0ChgBhXYCgUIHOxEBAQEBAQEBARABAQEBAQYWCUQLgi2CFQEBAwESER0BATcBBAsLBAc3AgIiEgEFARwGEyKHcQgDoWSBMT4xik1nhEABBIpfAQEBAQEBBAEBAQEBAQEBEgYKhiiEbYcUCy0TgSeWfog4BYUZjnlEjEIRH4ENNoIgHiKBNWqIRAEBAQ X-IPAS-Result: A0A5AQBomqdWnHDIaSZehHkGiFG0ChgBhXYCgUIHOxEBAQEBAQEBARABAQEBAQYWCUQLgi2CFQEBAwESER0BATcBBAsLBAc3AgIiEgEFARwGEyKHcQgDoWSBMT4xik1nhEABBIpfAQEBAQEBBAEBAQEBAQEBEgYKhiiEbYcUCy0TgSeWfog4BYUZjnlEjEIRH4ENNoIgHiKBNWqIRAEBAQ X-IronPort-AV: E=Sophos;i="5.22,350,1449529200"; d="scan'208,217";a="199478975" Received: from mxout1.mail.janestreet.com ([38.105.200.112]) by mail2-smtp-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Jan 2016 17:15:47 +0100 Received: from tot-qpr-mailcore1.delacy.com ([172.27.56.68] helo=tot-qpr-mailcore1) by mxout1.mail.janestreet.com with esmtps (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.82) (envelope-from ) id 1aO6HS-0002Ib-V9 for caml-list@inria.fr; Tue, 26 Jan 2016 11:15:46 -0500 X-JS-Flow: external Received: by tot-qpr-mailcore1 with JS-mailcore (0.1) (envelope-from ) id BWp5uy-AAAClk-cj; 2016-01-26 11:15:46.914695-05:00 Received: from mail-ig0-f172.google.com ([209.85.213.172]) by mxgoog1.mail.janestreet.com with esmtps (UNKNOWN:AES128-GCM-SHA256:128) (Exim 4.72) (envelope-from ) id 1aO6HS-0004T9-RD for caml-list@inria.fr; Tue, 26 Jan 2016 11:15:46 -0500 Received: by mail-ig0-f172.google.com with SMTP id z14so60361266igp.0 for ; Tue, 26 Jan 2016 08:15:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=janestreet.com; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=a/LcvlmnzS91gAWANUgb2WPqOf+/T4RaJsuRYBkOHPs=; b=BEbrx+k7n11B6AM4KH7qjj6re4lSwoYt43Zus2KRMFCCN+KfCC8a+B4QPMkvggCeo4 l843fdJp9M73fD5OJNhzzu4JqeBOWGOnmWlDz8IMM0gSYWFeOfAbu3tqtBLe3NYk6wip VsfHhTeVtjO9vCC1LkbB7tsPwU2QomSaSpF1I= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=a/LcvlmnzS91gAWANUgb2WPqOf+/T4RaJsuRYBkOHPs=; b=WxpE6eGTXeieAx/PaG5ulLDdbVfGueNRkUig/fnRb4X2tsBZdSSNeGOCPUrlkkskWA lZWomECQ4kLbjwOVets7uBuAxbHi3KnsBLjzc7oPF4qFHAt1JusB2CoH4Mdksej0wv2h dvZ67E9kIxGu+zxXEgRf/EKd9e/PR1sxaRYq37Xnpn017ew+74MiklZKKei20t0g8k0A jI+hsHKd9g/Mu6/ylzncZ/5x2e7dqVbq/T0FIykeMYrJovjtos5IAhJG/6j5TIDu/eOH RKe+ROoT2nc/e/W0L149mrSNY3OB2TCBxuRtUEMlmKgS2zDMognqbA6v6dqaLHWmVZAJ S8Tg== X-Gm-Message-State: AG10YOS3twO8fmjM4JlOytg8CkcWC/NuXZLBba6wPS45InjFxgsHem+xovbytSRk+tnei1/eu/Z7NwGHMWVoJ7UTgKCbsWmrp6n3XZIFv9oi0VcZTwphyAPPNVbjig6u327LNbh1AcyidThWQSYhqDoJuA== X-Received: by 10.50.143.10 with SMTP id sa10mr25906511igb.54.1453824946479; Tue, 26 Jan 2016 08:15:46 -0800 (PST) MIME-Version: 1.0 X-Received: by 10.50.143.10 with SMTP id sa10mr25906493igb.54.1453824946286; Tue, 26 Jan 2016 08:15:46 -0800 (PST) Received: by 10.50.30.193 with HTTP; Tue, 26 Jan 2016 08:15:46 -0800 (PST) In-Reply-To: References: Date: Tue, 26 Jan 2016 16:15:46 +0000 Message-ID: From:Jeremie Dimino To:"ocaml-core@googlegroups.com" Cc:"caml-list@inria.fr" Content-Type: multipart/alternative; boundary=001a1135fe9a7d6518052a3effbe X-JS-Processed-by: mailcore Subject: Re: [Caml-list] Package renamings for sexplib, bin_prot and a few other camlp4 syntax extensions --001a1135fe9a7d6518052a3effbe Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Tue, Jan 26, 2016 at 3:15 PM, Ivan Gotovchits wrote: > > Do you know of any tool that rely on this? > > OASIS it the most notable [1]. > =E2=80=8BAh, I didn't know about this hack=E2=80=8B, and apparently it's th= e same hack for merlin. Well, we can certainly add ".syntax" packages to pa_sexp_conv and others then > 1. Delete `project.0.3` from the repository and add new `project.0.3-???` > with a fixed build system > 2. Retrospectively modify `project.0.3` build system and upload a new > tarball without changing a library. > =E2=80=8BI was thinking of: 3. release project.0.3.1, keeping project.0.3 unchanged That the same as what one would have to do if the API changed in an incompatible way. > Also, some packages, may encode library names in the code itself. For > example, bap uses this to track dependencies of dynamically loaded plugin= s. > Merlin has a heuristics, that > guesses requested syntax extensions based on package names. > =E2=80=8BFor merlin and oasis we just need to add pa_sexp_conv.syntax, we'l= l do that. I don't know bap very well, does it have "sexplib.syntax" hardcoded =E2=80= =8Bin its source code or is the same situation as merlin and oasis? --=20 Jeremie --001a1135fe9a7d6518052a3effbe Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On Tue, Ja= n 26, 2016 at 3:15 PM, Ivan Gotovchits <ivg@ieee.org> wrote:
> Do you know of any tool that rely on this?

OASIS it the most notable [1].=C2=A0
=E2=80=8BAh, I didn't know about this hack=E2=80=8B, an= d apparently it's the same hack for merlin. Well, we can certainly add = ".syntax" packages to pa_sexp_conv and others then
=C2=A0
1. Delet= e `project.0.3` from the repository and add new `project.0.3-???` with a fi= xed build system
2. Retrospectively modify `project.0.3` build sy= stem and upload a new tarball without changing a library.

=E2=80=8BI was thinking of:

3. release project.0.3.1, keeping project.0.3 unchanged

<= /div>
That the same as what one would have to do if the API changed in an= incompatible way.
=C2=A0
Also, some packages, may encode library names in t= he code itself. For example, bap uses this to track dependencies of dynamic= ally loaded plugins. Merlin has a heuristics, that
guesses reques= ted syntax extensions based on package names.=C2=A0

=E2=80=8BFor merlin and oasis we jus= t need to add pa_sexp_conv.syntax, we'll do that.
I don't know bap very well, does it have "sexplib.syn= tax" hardcoded =E2=80=8Bin its source code or is the same situation as= merlin and oasis?

--=C2=A0
Jeremie
--001a1135fe9a7d6518052a3effbe--