caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Jeff Shaw" <shawjef3@msu.edu>
To: <caml-list@yquem.inria.fr>
Subject: Re: OSX GUI
Date: Wed, 6 Jun 2007 11:57:05 -0400	[thread overview]
Message-ID: <000301c7a853$559616c0$6701a8c0@gft> (raw)
In-Reply-To: <20070606152630.9359EBC74@yquem.inria.fr>

For now the easiest way to make a GUI on macos x in caml is labltk. The 
other option is Lablgtk, but you have to run lablgtk applications in the X11 
server until GTK is ported to use mac-native widgets.

As for coding caml on macs, it's great. I use aquamacs emacs with the tuareg 
mode installed. I'd rather code on a desktop but if you want a small laptop, 
a mac is great.

Installing ocaml on macos:

install macports
open terminal
sudo port install ocaml +labltk

(ifyou need lablgtk2)
sudo port install lablgtk2

Macport's version of tk doesn't give native widgets (whereas the built-in 
distribution does), so then I do

sudo port -f uninstall tk
sudo port -f uninstall tcl

And if you don't like the mac keyboard's placement of the alt key, the 
keyboard control panel lets you swap the alt and apple keys. 


       reply	other threads:[~2007-06-06 17:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20070606152630.9359EBC74@yquem.inria.fr>
2007-06-06 15:57 ` Jeff Shaw [this message]
2007-06-06 19:05   ` [Caml-list] " Olivier Andrieu
2007-06-06 15:16 Jon Harrop

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='000301c7a853$559616c0$6701a8c0@gft' \
    --to=shawjef3@msu.edu \
    --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;
as well as URLs for NNTP newsgroup(s).