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.0 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 mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by yquem.inria.fr (Postfix) with ESMTP id C7F84BC6B for ; Fri, 12 Oct 2007 00:45:25 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAADJCDkfAXQInh2dsb2JhbACOSgEBAQgKKQ X-IronPort-AV: E=Sophos;i="4.21,261,1188770400"; d="scan'208";a="17873914" Received: from concorde.inria.fr ([192.93.2.39]) by mail4-smtp-sop.national.inria.fr with ESMTP; 12 Oct 2007 00:45:25 +0200 Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id l9BMjOhg031101 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=OK) for ; Fri, 12 Oct 2007 00:45:25 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAADJCDkdA6aLomWdsb2JhbACOSgEBAQEHBAQLGQc X-IronPort-AV: E=Sophos;i="4.21,261,1188770400"; d="scan'208";a="4386792" Received: from nz-out-0506.google.com ([64.233.162.232]) by mail3-smtp-sop.national.inria.fr with ESMTP; 12 Oct 2007 00:45:23 +0200 Received: by nz-out-0506.google.com with SMTP id z3so526519nzf for ; Thu, 11 Oct 2007 15:45:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=K1OE9cSgNgQYguDCH1CmxtDrga4oU7TqsAn0ArJTAHg=; b=EUtbLOWC6BnQpivrHZ62JGuvgbn/j8jb1BHJFxlqAhB5q0I1VK0Gpyxjz7mopTupLXj65zrEEsqxHKtsjHE6G3eI3/1a1yIkMeHiVsipBE0KynKG+gMcQUjtzZ+cL5zhNmaLv+u/eEjZswL6hHUJftWN8hFHlYMY9BGs+CmvOwY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=Yv97bVngGsy7aYljOCmu1mp1wldZAYigNNk1hYr/bn5feKdwH3wjuUGT+uabai1A4A0x34AvSYWqoYCq2QFZHwA91S05CgtWDdHligjEH400dnfGUzq4UlpJAZdv9oUd3jxxtTGptLkp58JTQczUULhPpK0mVZrhmhmB6yeWvKc= Received: by 10.142.144.16 with SMTP id r16mr863709wfd.1192142721709; Thu, 11 Oct 2007 15:45:21 -0700 (PDT) Received: by 10.142.102.20 with HTTP; Thu, 11 Oct 2007 15:45:21 -0700 (PDT) Message-ID: Date: Thu, 11 Oct 2007 15:45:21 -0700 From: "Jake Donham" Sender: jake.donham@gmail.com To: caml-list@inria.fr Subject: Re: [Caml-list] ANN: ocamljs 0.1, OCaml to Javascript compiler In-Reply-To: <470EA368.8080102@lix.polytechnique.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <470E60D3.3020502@skydeck.com> <470EA368.8080102@lix.polytechnique.fr> X-Google-Sender-Auth: d53270534c96e206 X-Miltered: at concorde with ID 470EA784.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; ocaml:01 compiler:01 lix:01 ocaml:01 javascript:98 javascript:98 wrote:01 arnaud:01 caml-list:01 portability:02 constructs:02 seems:03 seems:03 library:03 drawback:04 On 10/11/07, Arnaud Spiwack wrote: > However lack of cross-browser portability seems a severe drawback to me. We have not tested it on browsers other than Firefox but that doesn't mean it won't work (or can't be made to work) on others. My understanding is that it is the DOM rather than the Javascript dialect that varies across browsers. > To write javascript code, it is more and more popular to use frameworks > (well, it is indispensible actually). My personnal favorite, which seems > to be rather popular is http://mootools.net/ . It provides better > constructs for basic operations (and then high level more specialized > stuff). I would love to see your product actually producing mootools > core (or a bit not so core) code. I don't know mootools, but it is very straightforward to wrap Javascript in OCaml with ocamljs; see the included Mozilla library for a small example. Jake