Skip to content

atlas-engineer/cl-electron

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cl-electron - Electron binding for Common Lisp

Installation

cl-electron depends on Electron 29, a Common Lisp implementation (SBCL) and some CL libraries (consult cl-electron.asd file).

Nix + Quicklisp

Issuing nix-shell at the root of the project starts an environment where all dependencies are available except for the CL libraries.

If you manage CL libraries by yourself, place them in a directory where ASDF finds them (e.g. ~/common-lisp/).

If you manage Common Lisp dependencies with Quicklisp:

  1. Clone the git repository to ~/common-lisp/quicklisp/local-projects/cl-electron
  2. sbcl
  3. (ql:quickload :cl-electron)

Guix

Electron can only be fetched from the nonguix channel. Add the channel by editing the file ~/.config/guix/channels.scm, according to the example below.

(cons* (channel
        (name 'nonguix)
        (url "https://gitlab.com/nonguix/nonguix")
        (introduction
         (make-channel-introduction
          "897c1a470da759236cc11798f4e0a5f7d4d59fbc"
          (openpgp-fingerprint
           "2A39 3FFF 68F4 EF7A 3D29  12AF 6F51 20A0 22FB B2D5"))))
       %default-channels)

See guix.scm for how to setup the development environment.

Examples

See examples folder.

Copying

cl-electron is distributed under the BSD license.

Please note that this license only covers the binding itself. Refer to the distribution terms of the third-party dependencies for details.