* OSX GUI @ 2007-06-06 15:16 Jon Harrop 2007-06-06 15:26 ` [Caml-list] " Joel Reymont 2007-06-06 18:27 ` Bruno De Fraine 0 siblings, 2 replies; 14+ messages in thread From: Jon Harrop @ 2007-06-06 15:16 UTC (permalink / raw) To: caml-list Is it possible to create native-OSX GUIs from OCaml code? -- Dr Jon D Harrop, Flying Frog Consultancy Ltd. OCaml for Scientists http://www.ffconsultancy.com/products/ocaml_for_scientists/?e ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [Caml-list] OSX GUI 2007-06-06 15:16 OSX GUI Jon Harrop @ 2007-06-06 15:26 ` Joel Reymont 2007-06-06 17:46 ` Ralph Douglass [not found] ` <755FDE71-7ADC-4313-9D69-109BC6D834BE@valdosta.edu> 2007-06-06 18:27 ` Bruno De Fraine 1 sibling, 2 replies; 14+ messages in thread From: Joel Reymont @ 2007-06-06 15:26 UTC (permalink / raw) To: Caml List On Jun 6, 2007, at 4:16 PM, Jon Harrop wrote: > Is it possible to create native-OSX GUIs from OCaml code? Not quite but there have been attempts. Googling for Cocoa in the archives may help. I'll pose a question of my own... Is anyone using a MacBook (13") to hack OCaml all day? How do you like it? Thanks, Joel -- http://topdog.cc - EasyLanguage to C# translator http://wagerlabs.com - Blog ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [Caml-list] OSX GUI 2007-06-06 15:26 ` [Caml-list] " Joel Reymont @ 2007-06-06 17:46 ` Ralph Douglass [not found] ` <755FDE71-7ADC-4313-9D69-109BC6D834BE@valdosta.edu> 1 sibling, 0 replies; 14+ messages in thread From: Ralph Douglass @ 2007-06-06 17:46 UTC (permalink / raw) To: Caml List [-- Attachment #1: Type: text/plain, Size: 1104 bytes --] I use SDL built from macports, with ocamlsdl built from godi (on my 13" MacBook, which works quite well for me). SDL isn't exactly a GUI toolkit though, so you'd have to write your own widgets on top of it, or try to wrap an existing set of sdl widgets written in C. Ralph On 6/6/07, Joel Reymont <joelr1@gmail.com> wrote: > > > On Jun 6, 2007, at 4:16 PM, Jon Harrop wrote: > > > Is it possible to create native-OSX GUIs from OCaml code? > > Not quite but there have been attempts. Googling for Cocoa in the > archives may help. > > I'll pose a question of my own... > > Is anyone using a MacBook (13") to hack OCaml all day? How do you > like it? > > Thanks, Joel > > -- > http://topdog.cc - EasyLanguage to C# translator > http://wagerlabs.com - Blog > > > > > > _______________________________________________ > Caml-list mailing list. Subscription management: > http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list > Archives: http://caml.inria.fr > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > Bug reports: http://caml.inria.fr/bin/caml-bugs > -- Ralph [-- Attachment #2: Type: text/html, Size: 1839 bytes --] ^ permalink raw reply [flat|nested] 14+ messages in thread
[parent not found: <755FDE71-7ADC-4313-9D69-109BC6D834BE@valdosta.edu>]
[parent not found: <8ABE187D-314A-4FBC-AEDC-333AAA148058@gmail.com>]
* Re: [Caml-list] OSX GUI [not found] ` <8ABE187D-314A-4FBC-AEDC-333AAA148058@gmail.com> @ 2007-06-06 20:39 ` Jonathan Bryant 2007-06-07 15:21 ` William D. Neumann 0 siblings, 1 reply; 14+ messages in thread From: Jonathan Bryant @ 2007-06-06 20:39 UTC (permalink / raw) To: Joel Reymont; +Cc: caml-list On Jun 6, 2007, at 4:32 PM, Joel Reymont wrote: > Jon, > >> MacBook + TextMate. I personally love it :D > > Do you prefer TextMate's OCaml mode to that of Emacs? It's OCaml mode usually works fine, but there are a few places it messes up: the "with" record syntax is the most notable. Mainly, I like (a) the drawer with the file tree, (b) tabbed editing, (c) code folding, (d) Cmd-whatever and menus instead of Ctrl-X Ctrl-S, Meta- this, Alt-that, etc. I was always a VIM guy instead of emacs, so I never got the hang of emacs control sequences. Downsides are that (a) not programmable, and (b) you have to keep a terminal open to build, etc. You have to admit, when you buy a Mac, you're (at least partly) paying for aesthetics. TextMate takes advantage of those. Now if I could just find a terminal that did the same... --Jonathan > > Thanks, Joel > > -- > http://topdog.cc - EasyLanguage to C# translator > http://wagerlabs.com - Blog > > > > ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [Caml-list] OSX GUI 2007-06-06 20:39 ` Jonathan Bryant @ 2007-06-07 15:21 ` William D. Neumann 2007-06-07 16:56 ` Jonathan Bryant 0 siblings, 1 reply; 14+ messages in thread From: William D. Neumann @ 2007-06-07 15:21 UTC (permalink / raw) To: Jonathan Bryant; +Cc: Joel Reymont, caml-list On Wed, 6 Jun 2007, Jonathan Bryant wrote: >> Do you prefer TextMate's OCaml mode to that of Emacs? > > It's OCaml mode usually works fine, but there are a few places it messes up: > the "with" record syntax is the most notable. Yeah... unfortunately, the regex matching that the syntax hilighting is based on hakes it hard to get certain constructs right. I believe this is supposed to be overhauled in v2.0 (which is dependant on Tiger). BTW: what's wrong with the with record syntax? It seems to work fine for me. > Downsides are that (a) not programmable, and (b) you have to keep a terminal > open to build, etc. Well, it is scriptable, so you could write a script that tould take care of that for you. Ocamlbuild should help make this a bit less painless as well. Actually, my biggest annoyance is that you can't easily do something like jump to the ith character of a selection (though I could prabably write a script for that too), which is needed for working with large exressions in the toplevel where it identifies errors by location and not highlighting. William D. Neumann --- "There's just so many extra children, we could just feed the children to these tigers. We don't need them, we're not doing anything with them. Tigers are noble and sleek; children are loud and messy." -- Neko Case Life is unfair. Kill yourself or get over it. -- Black Box Recorder ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [Caml-list] OSX GUI 2007-06-07 15:21 ` William D. Neumann @ 2007-06-07 16:56 ` Jonathan Bryant 2007-06-07 17:08 ` Ralph Douglass 2007-06-07 17:16 ` William D. Neumann 0 siblings, 2 replies; 14+ messages in thread From: Jonathan Bryant @ 2007-06-07 16:56 UTC (permalink / raw) To: William D. Neumann; +Cc: caml-list On Jun 7, 2007, at 11:21 AM, William D. Neumann wrote: > On Wed, 6 Jun 2007, Jonathan Bryant wrote: > >>> Do you prefer TextMate's OCaml mode to that of Emacs? >> >> It's OCaml mode usually works fine, but there are a few places it >> messes up: the "with" record syntax is the most notable. > > Yeah... unfortunately, the regex matching that the syntax > hilighting is based on hakes it hard to get certain constructs > right. I believe this is supposed to be overhauled in v2.0 (which > is dependant on Tiger). BTW: what's wrong with the with record > syntax? It seems to work fine for me. Copy this into TextMate: type t = { x : int; y : float } let _ = let r = { x = 1; y = 1.0 } in let r' = { r with x = 2 } in (* ... Syntax highlighting has stopped working here ... *) That's where it fails because of the "with". It's the only obvious bug I've run across, but if you have something like that early in the code, the rest of your code is not highlighted. Maybe I have an old version of the bundle if you don't see this problem. > >> Downsides are that (a) not programmable, and (b) you have to keep >> a terminal open to build, etc. > > Well, it is scriptable, so you could write a script that tould take > care of that for you. Ocamlbuild should help make this a bit less > painless as well. > > Actually, my biggest annoyance is that you can't easily do > something like jump to the ith character of a selection (though I > could prabably write a script for that too), which is needed for > working with large exressions in the toplevel where it identifies > errors by location and not highlighting. > > William D. Neumann > > --- > > "There's just so many extra children, we could just feed the > children to these tigers. We don't need them, we're not doing > anything with them. > > Tigers are noble and sleek; children are loud and messy." > > -- Neko Case > > Life is unfair. Kill yourself or get over it. > -- Black Box Recorder > > _______________________________________________ > Caml-list mailing list. Subscription management: > http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list > Archives: http://caml.inria.fr > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > Bug reports: http://caml.inria.fr/bin/caml-bugs ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [Caml-list] OSX GUI 2007-06-07 16:56 ` Jonathan Bryant @ 2007-06-07 17:08 ` Ralph Douglass 2007-06-07 17:16 ` Jonathan Bryant 2007-06-07 17:16 ` William D. Neumann 1 sibling, 1 reply; 14+ messages in thread From: Ralph Douglass @ 2007-06-07 17:08 UTC (permalink / raw) To: caml-list [-- Attachment #1: Type: text/plain, Size: 2880 bytes --] It highlights fine for me. Try grabbing the latest version of the bundle. On 6/7/07, Jonathan Bryant <jtbryant@valdosta.edu> wrote: > > > On Jun 7, 2007, at 11:21 AM, William D. Neumann wrote: > > > On Wed, 6 Jun 2007, Jonathan Bryant wrote: > > > >>> Do you prefer TextMate's OCaml mode to that of Emacs? > >> > >> It's OCaml mode usually works fine, but there are a few places it > >> messes up: the "with" record syntax is the most notable. > > > > Yeah... unfortunately, the regex matching that the syntax > > hilighting is based on hakes it hard to get certain constructs > > right. I believe this is supposed to be overhauled in v2.0 (which > > is dependant on Tiger). BTW: what's wrong with the with record > > syntax? It seems to work fine for me. > > Copy this into TextMate: > > type t = { > x : int; > y : float > } > > let _ = > let r = { x = 1; y = 1.0 } in > let r' = { r with x = 2 } in > (* ... Syntax highlighting has stopped working here ... *) > > That's where it fails because of the "with". It's the only obvious > bug I've run across, but if you have something like that early in the > code, the rest of your code is not highlighted. Maybe I have an old > version of the bundle if you don't see this problem. > > > > >> Downsides are that (a) not programmable, and (b) you have to keep > >> a terminal open to build, etc. > > > > Well, it is scriptable, so you could write a script that tould take > > care of that for you. Ocamlbuild should help make this a bit less > > painless as well. > > > > Actually, my biggest annoyance is that you can't easily do > > something like jump to the ith character of a selection (though I > > could prabably write a script for that too), which is needed for > > working with large exressions in the toplevel where it identifies > > errors by location and not highlighting. > > > > William D. Neumann > > > > --- > > > > "There's just so many extra children, we could just feed the > > children to these tigers. We don't need them, we're not doing > > anything with them. > > > > Tigers are noble and sleek; children are loud and messy." > > > > -- Neko Case > > > > Life is unfair. Kill yourself or get over it. > > -- Black Box Recorder > > > > _______________________________________________ > > Caml-list mailing list. Subscription management: > > http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list > > Archives: http://caml.inria.fr > > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > > Bug reports: http://caml.inria.fr/bin/caml-bugs > > _______________________________________________ > Caml-list mailing list. Subscription management: > http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list > Archives: http://caml.inria.fr > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > Bug reports: http://caml.inria.fr/bin/caml-bugs > -- Ralph [-- Attachment #2: Type: text/html, Size: 4134 bytes --] ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [Caml-list] OSX GUI 2007-06-07 17:08 ` Ralph Douglass @ 2007-06-07 17:16 ` Jonathan Bryant 2007-06-07 17:33 ` Ralph Douglass 2007-06-07 17:40 ` William D. Neumann 0 siblings, 2 replies; 14+ messages in thread From: Jonathan Bryant @ 2007-06-07 17:16 UTC (permalink / raw) To: Ralph Douglass; +Cc: caml-list (I guess this is getting a bit off topic for this list, but I'll press on anyway) I just did with GetBundle and I'm still having the same problem. Is there any way to tell what version of the bundle I have so that I can see if it is the latest version? I can't seem to find that. On Jun 7, 2007, at 1:08 PM, Ralph Douglass wrote: > It highlights fine for me. Try grabbing the latest version of the > bundle. > > On 6/7/07, Jonathan Bryant <jtbryant@valdosta.edu > wrote: > On Jun 7, 2007, at 11:21 AM, William D. Neumann wrote: > > > On Wed, 6 Jun 2007, Jonathan Bryant wrote: > > > >>> Do you prefer TextMate's OCaml mode to that of Emacs? > >> > >> It's OCaml mode usually works fine, but there are a few places it > >> messes up: the "with" record syntax is the most notable. > > > > Yeah... unfortunately, the regex matching that the syntax > > hilighting is based on hakes it hard to get certain constructs > > right. I believe this is supposed to be overhauled in v2.0 (which > > is dependant on Tiger). BTW: what's wrong with the with record > > syntax? It seems to work fine for me. > > Copy this into TextMate: > > type t = { > x : int; > y : float > } > > let _ = > let r = { x = 1; y = 1.0 } in > let r' = { r with x = 2 } in > (* ... Syntax highlighting has stopped working here ... *) > > That's where it fails because of the "with". It's the only obvious > bug I've run across, but if you have something like that early in the > code, the rest of your code is not highlighted. Maybe I have an old > version of the bundle if you don't see this problem. > > > > >> Downsides are that (a) not programmable, and (b) you have to keep > >> a terminal open to build, etc. > > > > Well, it is scriptable, so you could write a script that tould take > > care of that for you. Ocamlbuild should help make this a bit less > > painless as well. > > > > Actually, my biggest annoyance is that you can't easily do > > something like jump to the ith character of a selection (though I > > could prabably write a script for that too), which is needed for > > working with large exressions in the toplevel where it identifies > > errors by location and not highlighting. > > > > William D. Neumann > > > > --- > > > > "There's just so many extra children, we could just feed the > > children to these tigers. We don't need them, we're not doing > > anything with them. > > > > Tigers are noble and sleek; children are loud and messy." > > > > -- Neko Case > > > > Life is unfair. Kill yourself or get over it. > > -- Black Box Recorder > > > > _______________________________________________ > > Caml-list mailing list. Subscription management: > > http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list > > Archives: http://caml.inria.fr > > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > > Bug reports: http://caml.inria.fr/bin/caml-bugs > > _______________________________________________ > Caml-list mailing list. Subscription management: > http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list > Archives: http://caml.inria.fr > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > Bug reports: http://caml.inria.fr/bin/caml-bugs > > > > -- > Ralph > _______________________________________________ > Caml-list mailing list. Subscription management: > http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list > Archives: http://caml.inria.fr > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > Bug reports: http://caml.inria.fr/bin/caml-bugs ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [Caml-list] OSX GUI 2007-06-07 17:16 ` Jonathan Bryant @ 2007-06-07 17:33 ` Ralph Douglass 2007-06-07 17:40 ` William D. Neumann 1 sibling, 0 replies; 14+ messages in thread From: Ralph Douglass @ 2007-06-07 17:33 UTC (permalink / raw) To: caml-list [-- Attachment #1: Type: text/plain, Size: 4080 bytes --] I'm not sure, but I recommend getting it from subversion. I had problems with it when I used getbundle, so I went back to checking out the bundles with subversion. You might also want to install cmigrep (it's in godi) in order to use the ocaml experimental completions bundle. On 6/7/07, Jonathan Bryant <jtbryant@valdosta.edu> wrote: > > (I guess this is getting a bit off topic for this list, but I'll > press on anyway) > > I just did with GetBundle and I'm still having the same problem. Is > there any way to tell what version of the bundle I have so that I can > see if it is the latest version? I can't seem to find that. > > On Jun 7, 2007, at 1:08 PM, Ralph Douglass wrote: > > > It highlights fine for me. Try grabbing the latest version of the > > bundle. > > > > On 6/7/07, Jonathan Bryant <jtbryant@valdosta.edu > wrote: > > On Jun 7, 2007, at 11:21 AM, William D. Neumann wrote: > > > > > On Wed, 6 Jun 2007, Jonathan Bryant wrote: > > > > > >>> Do you prefer TextMate's OCaml mode to that of Emacs? > > >> > > >> It's OCaml mode usually works fine, but there are a few places it > > >> messes up: the "with" record syntax is the most notable. > > > > > > Yeah... unfortunately, the regex matching that the syntax > > > hilighting is based on hakes it hard to get certain constructs > > > right. I believe this is supposed to be overhauled in v2.0 (which > > > is dependant on Tiger). BTW: what's wrong with the with record > > > syntax? It seems to work fine for me. > > > > Copy this into TextMate: > > > > type t = { > > x : int; > > y : float > > } > > > > let _ = > > let r = { x = 1; y = 1.0 } in > > let r' = { r with x = 2 } in > > (* ... Syntax highlighting has stopped working here ... *) > > > > That's where it fails because of the "with". It's the only obvious > > bug I've run across, but if you have something like that early in the > > code, the rest of your code is not highlighted. Maybe I have an old > > version of the bundle if you don't see this problem. > > > > > > > >> Downsides are that (a) not programmable, and (b) you have to keep > > >> a terminal open to build, etc. > > > > > > Well, it is scriptable, so you could write a script that tould take > > > care of that for you. Ocamlbuild should help make this a bit less > > > painless as well. > > > > > > Actually, my biggest annoyance is that you can't easily do > > > something like jump to the ith character of a selection (though I > > > could prabably write a script for that too), which is needed for > > > working with large exressions in the toplevel where it identifies > > > errors by location and not highlighting. > > > > > > William D. Neumann > > > > > > --- > > > > > > "There's just so many extra children, we could just feed the > > > children to these tigers. We don't need them, we're not doing > > > anything with them. > > > > > > Tigers are noble and sleek; children are loud and messy." > > > > > > -- Neko Case > > > > > > Life is unfair. Kill yourself or get over it. > > > -- Black Box Recorder > > > > > > _______________________________________________ > > > Caml-list mailing list. Subscription management: > > > http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list > > > Archives: http://caml.inria.fr > > > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > > > Bug reports: http://caml.inria.fr/bin/caml-bugs > > > > _______________________________________________ > > Caml-list mailing list. Subscription management: > > http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list > > Archives: http://caml.inria.fr > > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > > Bug reports: http://caml.inria.fr/bin/caml-bugs > > > > > > > > -- > > Ralph > > _______________________________________________ > > Caml-list mailing list. Subscription management: > > http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list > > Archives: http://caml.inria.fr > > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > > Bug reports: http://caml.inria.fr/bin/caml-bugs > > -- Ralph [-- Attachment #2: Type: text/html, Size: 5981 bytes --] ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [Caml-list] OSX GUI 2007-06-07 17:16 ` Jonathan Bryant 2007-06-07 17:33 ` Ralph Douglass @ 2007-06-07 17:40 ` William D. Neumann 2007-06-07 20:41 ` Jonathan Bryant 1 sibling, 1 reply; 14+ messages in thread From: William D. Neumann @ 2007-06-07 17:40 UTC (permalink / raw) To: Jonathan Bryant; +Cc: Ralph Douglass, caml-list On Thu, 7 Jun 2007, Jonathan Bryant wrote: > (I guess this is getting a bit off topic for this list, but I'll press on > anyway) > > I just did with GetBundle and I'm still having the same problem. Is there > any way to tell what version of the bundle I have so that I can see if it is > the latest version? I can't seem to find that. Well, I'm assuming that getBundle is using subversion to manage the bundles (I just use svn). In which case, something like: svn info ~/Library/Application\Support/TextMate/Bundles/OCaml.tmbundle will tell you your current version (assuming that's the path to your bundle -- change as necessary). The current revision is 7453, and the OCaml bundle was last changed in revision 7410. William D. Neumann --- "There's just so many extra children, we could just feed the children to these tigers. We don't need them, we're not doing anything with them. Tigers are noble and sleek; children are loud and messy." -- Neko Case Life is unfair. Kill yourself or get over it. -- Black Box Recorder ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [Caml-list] OSX GUI 2007-06-07 17:40 ` William D. Neumann @ 2007-06-07 20:41 ` Jonathan Bryant 0 siblings, 0 replies; 14+ messages in thread From: Jonathan Bryant @ 2007-06-07 20:41 UTC (permalink / raw) To: William D. Neumann; +Cc: caml-list > > Well, I'm assuming that getBundle is using subversion to manage the > bundles (I just use svn). In which case, something like: > > svn info ~/Library/Application\Support/TextMate/Bundles/OCaml.tmbundle > > will tell you your current version (assuming that's the path to > your bundle -- change as necessary). > > The current revision is 7453, and the OCaml bundle was last changed > in revision 7410. Ah, yes. That fixed it :) ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [Caml-list] OSX GUI 2007-06-07 16:56 ` Jonathan Bryant 2007-06-07 17:08 ` Ralph Douglass @ 2007-06-07 17:16 ` William D. Neumann 1 sibling, 0 replies; 14+ messages in thread From: William D. Neumann @ 2007-06-07 17:16 UTC (permalink / raw) To: Jonathan Bryant; +Cc: caml-list On Thu, 7 Jun 2007, Jonathan Bryant wrote: > Copy this into TextMate: > > type t = { > x : int; > y : float > } > > let _ = > let r = { x = 1; y = 1.0 } in > let r' = { r with x = 2 } in > (* ... Syntax highlighting has stopped working here ... *) > > That's where it fails because of the "with". It's the only obvious bug I've > run across, but if you have something like that early in the code, the rest > of your code is not highlighted. Maybe I have an old version of the bundle > if you don't see this problem. It works fine here, you must have an old version of the bundle. You should do an svn up to grab the latest changes. William D. Neumann --- "There's just so many extra children, we could just feed the children to these tigers. We don't need them, we're not doing anything with them. Tigers are noble and sleek; children are loud and messy." -- Neko Case Life is unfair. Kill yourself or get over it. -- Black Box Recorder ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [Caml-list] OSX GUI 2007-06-06 15:16 OSX GUI Jon Harrop 2007-06-06 15:26 ` [Caml-list] " Joel Reymont @ 2007-06-06 18:27 ` Bruno De Fraine 1 sibling, 0 replies; 14+ messages in thread From: Bruno De Fraine @ 2007-06-06 18:27 UTC (permalink / raw) To: Jon Harrop; +Cc: caml-list On 06 Jun 2007, at 17:16, Jon Harrop wrote: > Is it possible to create native-OSX GUIs from OCaml code? Unison is an OCaml program with a native OSX GUI (as well as a GTK one). However, it is basically an Objective C interface with an OCaml binding. Nevertheless, it might help you. See: http://www.seas.upenn.edu/~bcpierce/unison/download/releases/ Look for the "uimac" and "uimacnew" subdirs inside the distribution. Regards, Bruno -- Bruno De Fraine Vrije Universiteit Brussel Faculty of Applied Sciences, DINF - SSEL Room 4K208, Pleinlaan 2, B-1050 Brussels tel: +32 (0)2 629 29 75 fax: +32 (0)2 629 28 70 e-mail: Bruno.De.Fraine@vub.ac.be ^ permalink raw reply [flat|nested] 14+ messages in thread
[parent not found: <20070606152630.9359EBC74@yquem.inria.fr>]
* Re: OSX GUI [not found] <20070606152630.9359EBC74@yquem.inria.fr> @ 2007-06-06 15:57 ` Jeff Shaw 0 siblings, 0 replies; 14+ messages in thread From: Jeff Shaw @ 2007-06-06 15:57 UTC (permalink / raw) To: caml-list 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. ^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2007-06-07 20:43 UTC | newest] Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2007-06-06 15:16 OSX GUI Jon Harrop 2007-06-06 15:26 ` [Caml-list] " Joel Reymont 2007-06-06 17:46 ` Ralph Douglass [not found] ` <755FDE71-7ADC-4313-9D69-109BC6D834BE@valdosta.edu> [not found] ` <8ABE187D-314A-4FBC-AEDC-333AAA148058@gmail.com> 2007-06-06 20:39 ` Jonathan Bryant 2007-06-07 15:21 ` William D. Neumann 2007-06-07 16:56 ` Jonathan Bryant 2007-06-07 17:08 ` Ralph Douglass 2007-06-07 17:16 ` Jonathan Bryant 2007-06-07 17:33 ` Ralph Douglass 2007-06-07 17:40 ` William D. Neumann 2007-06-07 20:41 ` Jonathan Bryant 2007-06-07 17:16 ` William D. Neumann 2007-06-06 18:27 ` Bruno De Fraine [not found] <20070606152630.9359EBC74@yquem.inria.fr> 2007-06-06 15:57 ` Jeff Shaw
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox