cl-xul

2016-03-18

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 1

Screenshot 2

Screenshot 2

Screenshot 3

Screenshot 3

Author
Mariano Montone <marianomontone@gmail.com>
Maintainer
Mariano Montone <marianomontone@gmail.com>
License
Copyright (c) 2013 Mariano Montone Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Categories
gui