From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Delivered-To: caml-list@yquem.inria.fr Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id 32C08BC48 for ; Sat, 9 Apr 2005 16:45:12 +0200 (CEST) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id j39EjB6O005475 for ; Sat, 9 Apr 2005 16:45:11 +0200 Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id QAA07206 for ; Sat, 9 Apr 2005 16:45:11 +0200 (MET DST) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.192]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id j39EjASl005465 for ; Sat, 9 Apr 2005 16:45:11 +0200 Received: by rproxy.gmail.com with SMTP id a36so1680444rnf for ; Sat, 09 Apr 2005 07:45:10 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=qt1HzW8G1Ikj6RreKhQi3rQh32cUsgvHpS5Vnc9E/VvS4z7IRR902nkOYYmatq6XGGa6Ui6M82aotPgX1vZEuxctDERkZnAcppz3YcnRGlmRkmKSziE8lvLpSQI833j8f9SXHrHtnoLk9ySdy0dB5NdsahoXW8rG31/PleHRETM= Received: by 10.38.150.39 with SMTP id x39mr2372939rnd; Sat, 09 Apr 2005 07:45:10 -0700 (PDT) Received: by 10.38.88.65 with HTTP; Sat, 9 Apr 2005 07:45:10 -0700 (PDT) Message-ID: <7f8e92aa050409074520921d52@mail.gmail.com> Date: Sat, 9 Apr 2005 17:45:10 +0300 From: Radu Grigore Reply-To: Radu Grigore To: caml-list@inria.fr Subject: Re: [Caml-list] Re: Syntactic inclusion of a.ml in b.ml ? In-Reply-To: <20050409132026.GA3353@galois> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable References: <20050408174142.GA1804@galois> <20050409103532.GA20625@furbychan.cocan.org> <20050409132026.GA3353@galois> X-Miltered: at nez-perce with ID 4257EA77.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at nez-perce with ID 4257EA76.001 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 ens-lyon:01 ocaml:01 ...:98 ...:98 wrote:01 syntactic:01 module:03 module:03 inclusion:03 modify:05 sebastien:05 sebastien:05 radu:05 radu:05 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on yquem.inria.fr X-Spam-Status: No, score=0.0 required=5.0 tests=RCVD_BY_IP autolearn=disabled version=3.0.2 X-Spam-Level: On Apr 9, 2005 4:20 PM, S=E9bastien Hinderer wrote: > The C source code contains something like : [...] > The script produces the a.ml file, which contains: [...] > And then I would like to be able to do something like this in b.ml : >=20 > type t =3D > #include "a.ml" Why not modify the script to produce valid a valid ocaml module and then just open that module? --=20 regards, radu http://rgrig.blogspot.com/