Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

GUI for Standard ML?

I started learning Standard ML recently out of curiosity. So what I know is that is has an efficient compiler (MLton) which allows us to freely use abstractions without worrying about performance.

It would be perfect if I could do some GUI programming with Standard ML, too. Is there anything like Gtk, Qt, or WxWidgets binding for Standard ML?

Thank you very much.

like image 957
Phil Avatar asked Oct 11 '09 05:10

Phil


2 Answers

Here's a paper describing the mGTK project, which is a Standard ML binding to GTK. There are also a couple of interfaces to OpenGL, although this is more 2 and 3D graphics-oriented rather than specifically a GUI toolkit. eXene is a toolkit for X Windows. sml_tk is an interface to Tk.

like image 102
ire_and_curses Avatar answered Sep 20 '22 19:09

ire_and_curses


There are bindings for foreign toolkits, but the eXene toolkit was designed to be native for SML and to exploit the features of Concurrent ML. I used it years ago and found it a very smooth fit for the language and a pleasure to use. But it does not have the ginormous library of components that you find in the more widely used toolkits.

like image 32
Norman Ramsey Avatar answered Sep 23 '22 19:09

Norman Ramsey