Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to deploy a Common Lisp (or other dialect) desktop application for several platforms?

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:

  1. would compile the code
  2. would use a common graphical library
  3. wouldn't need installation of the runtime environment.

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!

like image 222
alvatar Avatar asked Apr 05 '09 15:04

alvatar


People also ask

Does Grammarly use Lisp?

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.

Where can I use Lisp?

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.

Why do people have a Common Lisp?

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.

Why Lisp is great?

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.


1 Answers

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.

like image 124
justinhj Avatar answered Jun 14 '23 07:06

justinhj