From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by yquem.inria.fr (Postfix) with ESMTP id C3A8DBBAF for ; Wed, 24 Nov 2010 16:59:15 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AncBANbE7EzRVaG0k2dsb2JhbACDTp8nCBUBAQIJCQoJEQMfpEKJKIgZiGaBIYMzcwSEW4YFhX8 X-IronPort-AV: E=Sophos;i="4.59,248,1288566000"; d="scan'208";a="67988515" Received: from mail-gx0-f180.google.com ([209.85.161.180]) by mail3-smtp-sop.national.inria.fr with ESMTP; 24 Nov 2010 16:59:14 +0100 Received: by gxk19 with SMTP id 19so1326826gxk.39 for ; Wed, 24 Nov 2010 07:59:14 -0800 (PST) Received: by 10.151.78.10 with SMTP id f10mr1251552ybl.48.1290614276121; Wed, 24 Nov 2010 07:57:56 -0800 (PST) MIME-Version: 1.0 Sender: hcarty@mulethief.com Received: by 10.150.182.17 with HTTP; Wed, 24 Nov 2010 07:57:35 -0800 (PST) In-Reply-To: References: <4CEC4EF0.30805@lexifi.com> From: "Hezekiah M. Carty" Date: Wed, 24 Nov 2010 10:57:35 -0500 X-Google-Sender-Auth: N6rWUz14-gr0iaRjSLMQIu0qC48 Message-ID: Subject: Re: [Caml-list] Desktop GUI toolkits - current state of the art? To: Martin DeMello Cc: OCaml List Content-Type: text/plain; charset=UTF-8 X-Spam: no; 0.00; ocaml:01 syntax:01 ocaml:01 syntax:01 wrote:01 caml-list:01 tree:02 module:03 module:03 let:03 gui:03 gui:03 modify:05 extension:06 wed:06 On Wed, Nov 24, 2010 at 4:47 AM, Martin DeMello wrote: > > I was surprised not to see much interest in GUI DSLs in OCaml. It's not complete or a full-blown DSL, but I started a small Gtk-light module a while ago. I haven't had the time to complete it, but it shouldn't be too difficult to modify for your needs: http://0ok.org/cgit/cgit.cgi/gtk-light/ Here is a brief example (uses the "open Module in" syntax extension): http://0ok.org/cgit/cgit.cgi/gtk-light/tree/basic_gui_test.ml With OCaml 3.12 the "open Module in" could be replaced by the new "let open Module in" or Module.(...) syntax. Hez