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 E08AA7FADC for ; Thu, 6 Nov 2014 18:05:03 +0100 (CET) Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of christoph.hoeger@tu-berlin.de) identity=pra; client-ip=130.149.7.33; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="christoph.hoeger@tu-berlin.de"; x-sender="christoph.hoeger@tu-berlin.de"; x-conformance=sidf_compatible Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of christoph.hoeger@tu-berlin.de) identity=mailfrom; client-ip=130.149.7.33; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="christoph.hoeger@tu-berlin.de"; x-sender="christoph.hoeger@tu-berlin.de"; x-conformance=sidf_compatible Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of postmaster@mail.tu-berlin.de) identity=helo; client-ip=130.149.7.33; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="christoph.hoeger@tu-berlin.de"; x-sender="postmaster@mail.tu-berlin.de"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AisBACGpW1SClQchnGdsb2JhbABbhDuDBtEOFgEBAQEBEQEBAQEBCAsJCRQuhCwPAUU2AgUMCgsCCwMCAQIBSw0GAgEBiD0EqXePQoFulAOBLY91gm2BVAWmBZAvDC0egVtrgksBAQE X-IPAS-Result: AisBACGpW1SClQchnGdsb2JhbABbhDuDBtEOFgEBAQEBEQEBAQEBCAsJCRQuhCwPAUU2AgUMCgsCCwMCAQIBSw0GAgEBiD0EqXePQoFulAOBLY91gm2BVAWmBZAvDC0egVtrgksBAQE X-IronPort-AV: E=Sophos;i="5.07,327,1413237600"; d="scan'208";a="105292815" Received: from mail.tu-berlin.de ([130.149.7.33]) by mail2-smtp-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-SHA; 06 Nov 2014 18:05:03 +0100 X-tubIT-Incoming-IP: 91.66.251.158 Received: from ip5b42fb9e.dynamic.kabel-deutschland.de ([91.66.251.158] helo=[192.168.178.21]) by mail.tu-berlin.de (exim-4.72/mailfrontend-8) with esmtpa for id 1XmQUX-0007K5-kV; Thu, 06 Nov 2014 18:05:02 +0100 Message-ID: <545BAA3D.5070606@tu-berlin.de> Date: Thu, 06 Nov 2014 18:05:01 +0100 From: =?UTF-8?B?Q2hyaXN0b3BoIEjDtmdlcg==?= Organization: Technische =?UTF-8?B?VW5pdmVyc2l0w6R0IEJlcmxpbg==?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: caml users Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-PMX-Version: 6.0.0.2142326, Antispam-Engine: 2.7.2.2107409, Antispam-Data: 2014.11.6.165116 X-PMX-Spam: Gauge=IIIIIII, Probability=0%, Report='' Subject: [Caml-list] Parsetree comparison -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dear all, is there a way to compare two abstract syntax trees for equality without taking into account locations? Or rather a way to stratify the location information inside a parsetree? I want to unit-test a parser that invokes the OCaml parser itself. regards, Christoph - -- Christoph Höger Technische Universität Berlin Fakultät IV - Elektrotechnik und Informatik Übersetzerbau und Programmiersprachen Sekr. TEL12-2, Ernst-Reuter-Platz 7, 10587 Berlin Tel.: +49 (30) 314-24890 E-Mail: christoph.hoeger@tu-berlin.de -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlRbqj0ACgkQhMBO4cVSGS/rZgCfTspQtv/TYKjf8ZgeuF8XbyUE 6UYAn0HNDMobnLCQOSRpyjdAPyoRPRGf =eXX/ -----END PGP SIGNATURE-----