From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: * X-Spam-Status: No, score=1.4 required=5.0 tests=AWL,SPF_NEUTRAL autolearn=disabled version=3.1.3 Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id 78A4BBC0B for ; Wed, 27 Dec 2006 00:36:46 +0100 (CET) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.171]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id kBQNajAf004622 for ; Wed, 27 Dec 2006 00:36:46 +0100 Received: by ug-out-1314.google.com with SMTP id k3so3445886ugf for ; Tue, 26 Dec 2006 15:36:45 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=XCs4YH3vABHLgAHs4EB+GidzMC+60Y94x3/2T0AdUKkNkygu91JGFwHD30d7IS/zWI7A9I2s8XMtLA6KP8C9WkgmCRDHr8xsKIRjx6zO3m7Eky7L2P7HWqxjsMkAbNPaRpE8u3w/NzF3FO+ESwhdTdTcXMyAXw4U0Vx9h5BWKl4= Received: by 10.78.138.6 with SMTP id l6mr1108138hud.1167176205503; Tue, 26 Dec 2006 15:36:45 -0800 (PST) Received: by 10.78.134.2 with HTTP; Tue, 26 Dec 2006 15:36:45 -0800 (PST) Message-ID: <17af13780612261536x5f5f0d93sb1eb6ecef1b22598@mail.gmail.com> Date: Tue, 26 Dec 2006 18:36:45 -0500 From: "Ian Zimmerman" To: "OCaml Mailing List" Subject: Re: [Caml-list] Scripting in ocaml Cc: "Denis Bueno" , omake@metaprl.org In-Reply-To: <45915860.6030806@metaprl.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <6dbd4d000612201941wcd4b09anc503a13889576512@mail.gmail.com> <45915860.6030806@metaprl.org> X-j-chkmail-Score: MSGID : 4591B20D.000 on concorde : j-chkmail score : X : 0/20 1 0.000 -> 1 X-Miltered: at concorde with ID 4591B20D.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; ocaml:01 ocaml:01 osh:01 osh:01 hypothetical:01 dependencies:01 wrote:01 caml-list:01 inline:01 zimmerman:01 functional:02 ian:03 ian:03 cons:03 shell:04 On 12/26/06, Aleksey Nogin wrote: > Not quite scripting in OCaml, but related - the OMake build system comes > with its own shell interpreter - osh. The language is not OCaml, but > it's a functional language that was _specifically_ designed as a > scripting language, so I would argue that writing scripts in osh is more > convenient that scripting in OCaml (although, of course, for somebody > already familiar with OCaml, learning osh might be a bit harder that > learning some hypothetical scripting extension of OCaml). > > Note that if the goal is specifically "scripts to perform various build- > and development-related tasks" as you've mentioned, then I would > definitely suggest looking at OMake and osh - there the scripting > language is the same as the build specification language and you can > inline osh scriplets directly into "make-style" build rules of OMake. Does it handle building in general, or just OCaml-based projects? For example, can it deduce header dependencies for a C file - possibly with a plugin, like cons or scons? I couldn't use one OMake for building OCaml projects and make for others. Ian