From: Alain Frisch <alain.frisch@lexifi.com>
To: Martin DeMello <martindemello@gmail.com>
Cc: OCaml List <caml-list@yquem.inria.fr>
Subject: Re: [Caml-list] Desktop GUI toolkits - current state of the art?
Date: Wed, 24 Nov 2010 00:32:00 +0100 [thread overview]
Message-ID: <4CEC4EF0.30805@lexifi.com> (raw)
In-Reply-To: <AANLkTinmdg+=NyumuqajsYfLHanmeo59E815DqWmWaPp@mail.gmail.com>
On 11/23/2010 3:19 PM, Martin DeMello wrote:
> What are the actively developed options for writing desktop GUI apps
> in OCaml? Anything other than lablgtk2 (which, at least from a brief
> look through the examples, looks rather ugly, codewise, compared to,
> say, vala or ruby/gtk)? I'll use lablgtk2 in a pinch, but I'm curious
> as to whether anyone has been experimenting with toolkit bindings with
> an eye towards better syntax and APIs.
If you're under Windows, you might be interested in the CSML tool. It
allows you to build quite easily your own binding to .Net libraries. The
CSML distribution contains an example of a mini-binding to Windows
Forms; you can also see that in screenshots:
http://www.lexifi.com/csml
LexiFi uses CSML to build Windows Forms application, but most of our
GUIs are managed by a higher-level layer, not direct calls to Windows
Forms. As a matter of fact, we generate most of the GUIs that are
intended to show or edit structured values, automatically from OCaml
type definitions.
We have a few local extensions to the OCaml compiler that makes it
easier to build nice APIs for GUI toolkits, with a functional flavor:
implicit subtyping and generalized recursion. Hopefully, I'll be able to
blog about these extensions and how they are used for GUI programming
some day.
Alain
next prev parent reply other threads:[~2010-11-23 23:32 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-23 14:19 Martin DeMello
2010-11-23 23:06 ` [Caml-list] " Jacques Garrigue
2010-11-24 9:33 ` Martin DeMello
2010-11-24 14:06 ` Michael Ekstrand
2010-11-24 15:56 ` Andrei Formiga
2010-11-23 23:28 ` Yoann Padioleau
2010-11-24 9:38 ` Martin DeMello
2010-11-26 19:09 ` Yoann Padioleau
2010-11-28 6:38 ` Martin DeMello
2010-11-28 7:40 ` Yoann Padioleau
2010-11-29 14:21 ` Martin DeMello
2010-11-23 23:32 ` Alain Frisch [this message]
2010-11-24 9:47 ` Martin DeMello
2010-11-24 15:57 ` Hezekiah M. Carty
2010-11-28 8:28 ` bluestorm
2010-11-28 22:20 ` Adrien
2010-11-29 13:20 ` Adrien
2010-11-29 14:02 ` Martin DeMello
2010-12-10 6:04 ` Maxence Guesdon
2010-11-29 16:47 ` Hezekiah M. Carty
2010-11-24 21:37 ` Alain Frisch
2010-11-24 22:32 ` Jeremy Yallop
2010-12-01 11:43 ` Alain Frisch
2010-11-24 10:21 ` Mihamina Rakotomandimby
2010-11-26 18:59 ` Richard Jones
2010-11-28 6:40 ` Martin DeMello
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4CEC4EF0.30805@lexifi.com \
--to=alain.frisch@lexifi.com \
--cc=caml-list@yquem.inria.fr \
--cc=martindemello@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox