https://github.com/mmontone/cl-xul
Mozilla XUL bindings for Common Lisp
https://github.com/mmontone/cl-xul
common-lisp gui lisp
Last synced: 3 months ago
JSON representation
Mozilla XUL bindings for Common Lisp
- Host: GitHub
- URL: https://github.com/mmontone/cl-xul
- Owner: mmontone
- License: mit
- Created: 2013-11-22T18:52:09.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2016-03-01T16:46:48.000Z (over 9 years ago)
- Last Synced: 2023-03-11T09:26:58.355Z (over 2 years ago)
- Topics: common-lisp, gui, lisp
- Language: Common Lisp
- Homepage: http://mmontone.github.io/cl-xul
- Size: 610 KB
- Stars: 29
- Watchers: 7
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
CL-XUL
------[](http://quickdocs.org/cl-xul/)
[](./LICENSE)[**CL-XUL**](https://github.com/mmontone/cl-xul) is a library that helps to create [**Mozilla XUL**](https://developer.mozilla.org/en/docs/XUL) user interfaces in Common Lisp.
It uses [IOlib](http://www.cliki.net/IOlib) based [clws](http://www.cliki.net/clws) library for the communication between the Mozilla XULRunner and Common Lisp via [web sockets](http://en.wikipedia.org/wiki/WebSocket). 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](http://www.sbcl.org) 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](http://code.google.com/p/phobos-framework/) Smalltalk framework, and to the javascript implementation [XULJet](https://code.google.com/p/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](http://www.quicklisp.org/).
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 )` 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
- md5The easiest way of installing those packages is via [Quicklisp](http://www.quicklisp.org/).
This library is under the MIT licence.
Screenshots
-----------

