Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

LISP/Scheme for GUI or game development?

1,019 views
Skip to first unread message

Leff Ivanov

unread,
Aug 7, 2015, 8:58:39 AM8/7/15
to
I was asking this on StackOverflow, but apparently it is breaking some of their stupid rules, so maybe someone here could help me out. What options do I have if I want to develop complex GUI application or a game using LISP/Scheme? I know that Racket has a decent GUI toolkit, but is there anything else to try? Here is the list of features I'd like to have:

1) The LISP/Scheme implementation should be able to create standalone executables, so users could run the application as usual, without the need to install any additional frameworks. I'd like it to be compiled to native code, but JIT-compiled implementations that is able to create stanalone executables (like Racket for example) will do.
2) The GUI toolkit or game development kit should be well integrated into the language, so I could be able to develop GUI interfaces using the language paradigms. To make it clear I don't want the one-to-one simple bindings to C based library, where I need to code in imperative only style, manage memory manually, struggle with callback to C and back and etc.
3) I need to be to support Windows, Linux and Mac OSX operating systems, but it is good if the LISP/Scheme implementation would allow me to create Android and iOS applications as well.

Obviously Racket fits good here and if there is no good alternative to it I think I would use Racket. But I'd like to know if I am missing something in the functional programming realm (well I'd like it to be LISP/Scheme based system, but Haskell/OCaml/Prolog based stuff are acceptable too, and please no C/C++ and CLR/JVM stuff).

godek....@gmail.com

unread,
Aug 7, 2015, 6:01:03 PM8/7/15
to
You can check out my SLAYER framework that uses Guile and was intended exactly for that purpose:
http://puszcza.gnu.org.ua/software/slayer/

It is too far from perfect, though, and it does not produce stand-alone executables, but maybe it is worth giving a try. It is actually motivated by willingness to create 3d games in Scheme. The current fruit of my strivings
can be checked out at http://link.as/the-pose-editor-videotutorial

There's too much imperative code there at the moment, though. You may also find
the guile-2d project interesting:
http://dthompson.us/functional-reactive-programming-in-scheme-with-guile-2d.html

It is inspired by the Elm project http://elm-lang.org/

I've also seen an interesting tutoial with Common Lisp
https://www.youtube.com/watch?v=6pMyhrDcMzw

I recently saw a nice declarative approach to GUI applications in Python (actually I wanted to steal it to SLAYER):
https://vimeo.com/79536617

When it comes to Racket, Fluxus is definitely worth mentioning:
http://www.pawfal.org/fluxus/

However, neither Guile nor Racket produces highly optimized code. You could
look around in the Gambit ecosystem; some things made with Gambit
certainly do look impressive:
http://store.steampowered.com/app/37800/

Regards

root...@gmail.com

unread,
Oct 1, 2018, 10:22:46 AM10/1/18
to

Brad Lucier

unread,
Oct 1, 2018, 7:39:31 PM10/1/18
to
Try LambdaNative, a cross-platform graphical framework built on top of Gambit:

http://www.lambdanative.org/

Great

unread,
Jun 17, 2019, 5:59:57 AM6/17/19
to
在 2018年10月1日星期一 UTC+8下午10:22:46,evilbinary写道:
good idea!
0 new messages