Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: "Bauer, Christoph" <Christoph.Bauer@lms-gmbh.de>
To: caml-list@yquem.inria.fr
Subject: AW: [Caml-list] Re: GUI for OCaml
Date: Tue, 30 Aug 2005 14:09:25 +0200	[thread overview]
Message-ID: <26EB47FDD566A7469FC862DAF373792F07D590@kaiserslautern1.lmsintl.com> (raw)

Hi,

> 2005/8/30, Christophe Raffalli <christophe.raffalli@univ-savoie.fr>:
> > I would prefer a GUI programming language (similar to TeX for word
> > processing). This might be easier to develop, can either be 
> static (the
> > widget build at compile time) or dynamic, and most of all, 
> it is easier
> > to modify an existing GUI.
> 
> I'm not fond of yet another Domain Specific Language (DSL), except if
> it brings clear advantages (of which I'm not yet convinced).
> 
> I don't mind learning a DSL from time to time, but not each time I
> need to program a part of my application.

In my current project we made a ocaml/tcl hybrid shell. It looks
like a normal tclsh, but allows to call ocaml functions. The
ocaml code is statically linked in the hybrid shell.

Our GUI DSL is therefore "TCL/TK" which we know very well. Tk has a very
good design and looks good after some simpe "option add"-tweaks. 
Unfortunaltly Tcl is a big crap, it's like lisp but without
any cool features (lambda, call/cc), no speed, syntax checks
everything (but arrays) is a string, dynamic scoping (with upvar)
and so on. Lisp+Tk would be cool.

> BTW, some research has been done one using functional style to program
> GUI (in Haskell??). We should at least have a look on it.

I'm sure it's done with monads.

And there was eXene for SML. Does anyone know it?

The syntax of wxHaskell seems to be very nice.

In the last thread about GUI&OCaml somebody mentioned
that cairo-ocaml could be a good starting point for a ocaml-native
GUI Library.

Best regards,
Christoph Bauer


                 reply	other threads:[~2005-08-30 12:09 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=26EB47FDD566A7469FC862DAF373792F07D590@kaiserslautern1.lmsintl.com \
    --to=christoph.bauer@lms-gmbh.de \
    --cc=caml-list@yquem.inria.fr \
    /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