I would like to develop a graphical application in Common Lisp or other Lisp dialect that could be deployed in Mac, Windows and Linux as a way of improving my knowledge of this language. Ideally:
I would like to make a little game or graphical app, and to be able to show it with a simple installation in a computer with any of these operating systems.
Someone has experience with similar situations or could point me to best choices of graphical libraries and compilers, runtime environments, etc...
Thanks!
At Grammarly, the foundation of our business, our core grammar engine, is written in Common Lisp. It currently processes more than a thousand sentences per second, is horizontally scalable, and has reliably served in production for almost three years.
It's written mostly in its own Lisp dialect, Emacs Lisp, which is also used to write Emacs configs and extensions. Though this dialect can be used as a general-purpose scripting language, it is still tailored to the development of a text editor. For instance, Emacs Lisp has a rich library to work with text files.
For Common Lisp the reasons are: competition, different licenses, create proprietary property to sell, different runtime implementation strategies, different compilation strategies. Basically the same reason why there are several different Java implementations.
On the surface, Lisp is a nice, simple functional programming language. There's almost no syntax, and all the pieces fit together in logical ways.
I'm one of the developers of lispbuilder-sdl which is currently hosted on google code.
alt text http://img10.imageshack.us/img10/7664/mandelbrot.jpg
http://code.google.com/p/lispbuilder/
This gives you a way of running common lisp programs on linux, windows and mac machines without modification. We use the SDL library and various extensions of it.
A minimal program looks like this:
(sdl:with-init ()
(sdl:window 320 240)
(sdl:draw-surface (load-image "lisp.bmp"))
(sdl:with-events ()
(:quit-event () t)
(:video-expose-event (sdl:update-display))))
The wiki also explains how to build self contained exe's for various of the common lisp implementations.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With