CLOG - The Common Lisp Omnificent GUI
Find a file
2020-12-19 23:25:18 -05:00
docs Documentation additions. 2020-12-17 22:30:20 -05:00
static-files Start of work on supporting creating HTML elements. 2020-12-16 17:19:02 -05:00
test Setf versions of setters 2020-12-18 17:02:59 -05:00
.gitignore first commit 2020-12-13 16:21:26 -05:00
clog-connection.lisp Bug corrections and org. 2020-12-17 20:03:43 -05:00
clog.asd Source reorg. 2020-12-15 21:46:08 -05:00
clog.lisp More work on docs 2020-12-19 23:25:18 -05:00
LICENSE first commit 2020-12-13 16:21:26 -05:00
README.md Use defgeneric for documenting. 2020-12-18 12:09:12 -05:00

CLOG - The Common Lisp Omnificent GUI

David Botton david@botton.com

License BSD 3-Clause License

The Common Lisp Omnificient GUI, CLOG for short, uses web technology to produce graphical user interfaces for applications locally or remotely, ie as web applications.

To load this package and use the tests:

  1. cd to the CLOG dir (the dir should be one used by QuickLisp lime ~/common-lisp)
  2. Start emacs/slime or your common lisp repl in that directory.
  3. In the REPL run (ql:quickload :clog)
  4. Then (load "~/common-lisp/clog/test/test-clog.lisp) (clog-test:test)

Documentation for CLOG in markdown can be generated with

(describe clog:@CLOG-MANUAL)

Sample CLOG app with code base so far:

(defpackage #:test-clog
  (:use #:cl #:clog)
  (:export test))

(in-package :test-clog)

(defvar *last-obj*)

(defun on-new-window (win)
  (create-child win "<button>test</botton>")
  (create-child win "<H2>Cool!</H2>")
  (setf *last-obj* (create-child win "<button>a</button>")))

(defun test ()
  (print "Init connection")
  (initialize #'on-new-window :boot-file "/debug.html")
  (print "Connection set")
  (print "Open browser")
  (open-browser))

Status:

  • Connection methods

    • Websockets - Done
    • AJAX/HTML - to do (In 2021 are there browsers not supporting Websockets?)
    • Long Poll - to do (Needed for websites for webcrawlers and firewalls)
    • Direct API access to native browser components - to do
  • HTML bindings and Browser - to do

    • Base (Not per se a binding of Node in DOM but takes its place)
    • Base Elements (HTML Elements)
    • Canvas - HTML 5 Canvas bindings
    • SVG - HTML SVG vector graphics
    • Multimedia - HTML 5 Audio and Video
    • Styles - CSS Style blocks
    • Window, Navigator, Screen, Location, Document
  • CLOG higher level containers and GUI widgets - to do

  • Database bindings and server side APIs - to do

    • Current CL packages
    • Direct bidings to widgets ete.
  • CLOG Devtools - to do

    • Generate application scaffolding
    • GUI Builder
      • Grid style
      • Page style
    • Electron for native GUIs
  • Plugins - to do

    • General CL systems
    • Widgets
  • Documentation