1cl-webkit - WebKitGTK+ binding for Common Lisp
1.1Aboutcl-webkit is a binding to [WebKitGTK+] for Common Lisp, currentlytargeting WebKit version 2. The WebKitGTK+ library adds web browsingcapabilities to an application, leveraging the full power of theWebKit browsing engine.
1.2API overviewThe cl-webkit API closely follows the WebKit2 API, with the exceptionthat class based interfaces are preferred over functional interfacesin cases where both are provided.
*new,get,set methods are excluded in favour of
make-instance and slot accessors wherever possible.
For documentation on how to use the WebKit2 API, please refer to the C API documentation.
Backwards compatibility (with older WebKit2 API versions) is not a priority. The binding targets the latest version of Webkit2Gtk+ available on mainstream distributions.
- A working installation of WebKit2GTK+ (whichever package provides
- A [CFFI] compatible Common Lisp implementation. The package isdeveloped using [SBCL] but should work on any implementation thatsupports CFFI.
- A recent checkout of [cl-cffi-gtk]
1.4InstallationAssuming you have [Quicklisp] installed, do
- Clone to
- > lisp
- > (ql:quickload :cl-webkit2)
1.4.1TestingTo run tests, you need to additionally install Calispel,float-features and FiveAM (all of these are available viaQuicklisp). After that, simply running
(asdf:test-system :cl-webkit2)should be enough.
1.5ContributingContributing implies an agreement to redistribute the work under theproject's license (see below); please make sure that you own therights to the work you contribute.
jsc-value-to-lispdocstring for transformation rules).
- The callback to the
- Add tests (webkit2/tests/ subdirectory and
cl-webkit2/testssystem),mostly for JS evaluation results.
1.8Copyingcl-webkit is distributed under the MIT license.
Please note that this licence only covers the binding itself. Refer to the distribution terms of the third-party dependencies for details.