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 A55C3820A1 for ; Tue, 6 Aug 2013 20:22:00 +0200 (CEST) Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of anil@recoil.org) identity=pra; client-ip=89.16.177.154; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="anil@recoil.org"; x-sender="anil@recoil.org"; x-conformance=sidf_compatible Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of anil@recoil.org) identity=mailfrom; client-ip=89.16.177.154; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="anil@recoil.org"; x-sender="anil@recoil.org"; x-conformance=sidf_compatible Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of postmaster@dark.recoil.org) identity=helo; client-ip=89.16.177.154; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="anil@recoil.org"; x-sender="postmaster@dark.recoil.org"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AhAHAGw9AVJZELGa/2dsb2JhbABagzusCoEbkiiBNXSCJAEBBAE6NAsQCyUhISQSBhMSh2wDCQoIriADCohejSqCcAeDGnQDlXiBaYEqiHiCBYUngxg7 X-IPAS-Result: AhAHAGw9AVJZELGa/2dsb2JhbABagzusCoEbkiiBNXSCJAEBBAE6NAsQCyUhISQSBhMSh2wDCQoIriADCohejSqCcAeDGnQDlXiBaYEqiHiCBYUngxg7 X-IronPort-AV: E=Sophos;i="4.89,827,1367964000"; d="scan'208";a="23382649" Received: from recoil.dh.bytemark.co.uk (HELO dark.recoil.org) ([89.16.177.154]) by mail3-smtp-sop.national.inria.fr with SMTP; 06 Aug 2013 20:21:59 +0200 Received: (qmail 8924 invoked by uid 634); 6 Aug 2013 18:21:57 -0000 X-Spam-Level: * X-Spam-Check-By: dark.recoil.org Received: from no-dns-yet.demon.co.uk (HELO [192.168.14.18]) (62.49.66.12) (smtp-auth username remote@recoil.org, mechanism cram-md5) by dark.recoil.org (qpsmtpd/0.84) with ESMTPA; Tue, 06 Aug 2013 19:21:56 +0100 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) From: Anil Madhavapeddy In-Reply-To: <4370519.gRzcm4ADqt@groupon> Date: Tue, 6 Aug 2013 19:21:54 +0100 Cc: caml-list@inria.fr Content-Transfer-Encoding: 7bit Message-Id: References: <4370519.gRzcm4ADqt@groupon> To: Chet Murthy X-Mailer: Apple Mail (2.1508) X-Virus-Checked: Checked by ClamAV on dark.recoil.org Subject: Re: [Caml-list] sexplib, type_conv, ocamlbuild The trick is a little obscure, I fear. At the end of your OASIS _tags file, add this line: # OASIS_STOP true: syntax_camlp4o, pkg_sexplib.syntax The lines after the OASIS_STOP will not be overridden on a future "oasis setup". Note that the trunk version of OASIS has a heuristic to detect dependencies containing a ".syntax" extension and automating this process. See: https://github.com/ocaml/oasis/pull/11 -anil On 6 Aug 2013, at 18:28, Chet Murthy wrote: > > I'm trying to puzzle out how to use sexplib's type_conv (pa_sexp_conv) > with oasis. I've looked at the example in the sexplib source, but > (sigh) cannot seem to coax oasis to generate something similar for my > own source. > > I'm a little mystified as to how to get it to do the trick .... > > Anybody got this to work? Sexplib's auto-generated marshallers seem > like they'd be so .... sweet. > > Thanks, > --chet-- > > > -- > Caml-list mailing list. Subscription management and archives: > https://sympa.inria.fr/sympa/arc/caml-list > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > Bug reports: http://caml.inria.fr/bin/caml-bugs >