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.2 required=5.0 tests=AWL,SPF_NEUTRAL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from discorde.inria.fr (discorde.inria.fr [192.93.2.38]) by yquem.inria.fr (Postfix) with ESMTP id 8DAB5BC0A for ; Thu, 21 Dec 2006 10:12:29 +0100 (CET) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.185]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id kBL9CTfA022132 for ; Thu, 21 Dec 2006 10:12:29 +0100 Received: by nf-out-0910.google.com with SMTP id m19so2826996nfc for ; Thu, 21 Dec 2006 01:12:29 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=qmOopQWQmXEcPDVA3RPGNIVLGdDjZACDW8QjYZc3GinLJMWK46CCAL5bDh/gR9jsQ6QOYYxWIQfisNAkxRKHPrT189/l8OkZS3N0XHjKU6+LjlgONPtyhyCRFBCkfm3ZyLM3bnP2k5C7T3VFJpvx8kInQ7R7CSC6iWOzAcXVd6Y= Received: by 10.82.118.2 with SMTP id q2mr1872765buc.1166692348927; Thu, 21 Dec 2006 01:12:28 -0800 (PST) Received: by 10.82.153.16 with HTTP; Thu, 21 Dec 2006 01:12:28 -0800 (PST) Message-ID: <9d3ec8300612210112r1e379468y5e455f2c2db06265@mail.gmail.com> Date: Thu, 21 Dec 2006 10:12:28 +0100 From: "Till Varoquaux" To: caml-list@inria.fr Subject: Re: [Caml-list] Scripting in ocaml In-Reply-To: <1166685756.5337.4.camel@rosella.wigram> 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> <20061221153413.8f99e8ed.mle+ocaml@mega-nerd.com> <1166685756.5337.4.camel@rosella.wigram> X-j-chkmail-Score: MSGID : 458A4FFD.000 on discorde : j-chkmail score : X : 0/20 1 0.000 -> 1 X-Miltered: at discorde with ID 458A4FFD.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; ocaml:01 ocaml:01 scsh:01 toplevel:01 reuse:01 bytecode:01 syntax:01 beginner's:01 bug:01 spamming:98 sourceforge:01 beginners:01 wrote:01 wrote:01 typing:01 You might want to have a look at cash: http://pauillac.inria.fr/cash/ It aims at being an ocaml equivalent of scsh. I don't know if it is still maintained. chamo (one of cameleon's [http://pauillac.inria.fr/cash/] component) is also ocaml scriptable. They included an enhanced toplevel. You could reuse part of there work . Till P.S. sorry john for spamming you... On 12/21/06, skaller wrote: > On Thu, 2006-12-21 at 15:34 +1100, Erik de Castro Lopo wrote: > > Denis Bueno wrote: > > > > > I've been writing bash scripts to perform various build- and > > > development-related tasks, and I don't enjoy it. I won't bore you with > > > detailed reasons why. The upshot is that I'd like to script in OCaml. > > > > Makes a lot of sense. I used to do scripting style tasks in Python > > but nowadays I prefer to use Ocaml. > > As one of the authors of several major pieces of Python, > my comment is that whilst it provides great convenience > and good code structure .. dynamic typing just doesn't > scale. > > The big problem using Ocaml (bytecode) for scripting > is probably the ugly dynamic loading support, and > for long running systems, the lack of unloading support. > (plus the syntax which isn't really well suited to small > scale scripting applications). > > As an alternative you might consider Neko and/or NekoML. > > -- > John Skaller > Felix, successor to C++: http://felix.sf.net > > _______________________________________________ > Caml-list mailing list. Subscription management: > http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list > Archives: http://caml.inria.fr > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > Bug reports: http://caml.inria.fr/bin/caml-bugs >