Mozilla XUL bindings for Common Lisp
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
doc/images Screenshots Dec 7, 2013
resources/icons Inform and prompt standard dialogs Dec 3, 2013
src Type fix Nov 29, 2015
test Update project homepage Dec 7, 2013
.gitignore First commit Nov 22, 2013
LICENSE Year update Nov 22, 2013
README.md Update README.md Mar 1, 2016
cl-xul-test.asd Tabs showcase Dec 7, 2013
cl-xul.asd No cl-who Dec 7, 2013

README.md

CL-XUL

Quicklisp MIT License

CL-XUL is a library that helps to create Mozilla XUL user interfaces in Common Lisp.

It uses IOlib based clws library for the communication between the Mozilla XULRunner and Common Lisp via web sockets. Because of the IOlib limitation, it works only on Linux at the moment, until a platform independent implementation of websockets is found. Also, I've only tried it from SBCL so far.

CL-XUL implements a component-based architecture, standard widgets support, easy communication between client and server and automatic view updates and a readable description of GUI directly in Common Lisp, with no need of external XML files.

Its implementation can be considered similar to that of the Phobos Smalltalk framework, and to the javascript implementation XULJet, although it is not quite the same.

This is still work in progress, and there's no documentation at the moment (it is coming soon, though) but a demo can be tried.

As of December 26 of 2013, CL-XUL can be obtained from Quicklisp. Evaluate (ql:quickload :cl-xul) to download and install the system, and (ql:quickload :cl-xul-test) followed by (xul-test:showcase) to run the demo.

Alternatively, download the source code from here and point cl-xul.asd and cl-xul-test.asd system definition files from ./sbcl/system (ln -s <system definition file path>) and then evaluate:

(require :cl-xul-test)

and

(xul-test:showcase)

from your lisp listener.

You will also need to satisfy the system dependencies:

  • alexandria
  • log5
  • parenscript
  • cxml
  • cl-fad
  • closer-mop
  • clws
  • cl-json
  • md5

The easiest way of installing those packages is via Quicklisp.

This library is under the MIT licence.

Screenshots

Screenshot 1

Screenshot 2

Screenshot 3