3 ms·
If you remove the OCaml requirement, everything described can be done with Lazarus [1] which even comes with a very powerful code editing control/widget. In fac
by badsectoracula 9y ago
If you remove the OCaml requirement, everything described can be done with Lazarus [1] which even comes with a very powerful code editing control/widget. In fact i made a simple IDE [2] for my LIL scripting language [3] using Lazarus in a couple of days (which also supported remote execution for LIL code so i can run and update code while my game engine is running, inspired by an article about how Naughty Dog used Lisp for Jax and Daxter - except i use LIL, which is closer to Tcl, instead of Lisp).
Lazarus doesn't have a simple small framework, if anything it is much bigger than Gtk, but it is very simple to start with and you can ignore most of it. If you want to see how it is to use it, recently i recorded a video making a simple game with it under Linux [4] (there are a few comments in a text editor in the first 6-7 minutes but after that i do not have any sort of comments). If you want something with more GUI controls (the game really uses just a painting control), i also have an older video making a tilemap editor [5].
Now to make a disclaimer: IMO both Lazarus and Free Pascal (the language used by Lazarus) are a bit messy and i'm not presenting them as examples of the perfect development environment. However Lazarus is both very powerful and very simple to use, to the point that i consider it by far the best and easiest way to create GUI desktop applications (the only closest alternative is old versions of Delphi before it became a bloated mess - but even if the new versions weren't bloated, i'd still not recommend them because of their ridiculous price, the fact that VCL only supports Windows and above all the DRM they have - i remember reading complaints from users that they had to use cracks so that they can use their highly expensive software in their own laptop, which is absurd IMO). It has warts but they are well worth it.
My biggest issue with Lazarus is that it seems that the Gtk3 backend is going to become the default one on Linux in the future and as a user i dislike everything about Gtk3 (and Qt5 but to a lesser extent).
[1] http://www.lazarus-ide.org/ http://www.lazarus-ide.org/
[2] https://i.imgur.com/tCd64Wh.png https://i.imgur.com/tCd64Wh.png
[3] http://runtimeterror.com/rep/lil http://runtimeterror.com/rep/lil
[4] https://www.youtube.com/watch?v=s_01Xhd2EJM https://www.youtube.com/watch?v=s_01Xhd2EJM
[5] https://www.youtube.com/watch?v=_3JgeIUo1X0 https://www.youtube.com/watch?v=_3JgeIUo1X0