clog/tutorial
2021-01-11 01:50:32 -05:00
..
01-tutorial.lisp Corrections caught by sbcl 2021-01-06 18:23:27 -05:00
02-tutorial.lisp Corrections caught by sbcl 2021-01-06 18:23:27 -05:00
03-tutorial.lisp Corrections caught by sbcl 2021-01-06 18:23:27 -05:00
04-tutorial.lisp Tutorial 4 updates 2021-01-06 14:28:10 -05:00
05-tutorial.lisp Support target object on events 2021-01-06 13:17:21 -05:00
06-tutorial.lisp Tutorial 6 2021-01-06 17:44:05 -05:00
07-tutorial.lisp Added further tasking demo 2021-01-07 22:03:04 -05:00
08-tutorial.lisp Additions to tutorial 8 2021-01-11 01:50:32 -05:00
README.md Additions to tutorial 8 2021-01-11 01:50:32 -05:00

To run a tutorial, start emacs/slime or your CL Lisp in the common-lisp/clog directory:

CL-USER> (ql:quickload :clog)
To load "clog":
  Load 1 ASDF system:
    clog
; Loading "clog"
...........................
(:CLOG)

Load the demo:

CL-USER> (load "/Users/dbotton/common-lisp/clog/tutorial/01-tutorial.lisp")
#P"/Users/dbotton/common-lisp/clog/tutorial/01-tutorial.lisp"

Start the demo:

CL-USER> (clog-user:start-tutorial)
Hunchentoot server is started.
Listening on 0.0.0.0:8080.
HTTP listening on : 0.0.0.0:8080
HTML Root         : static-files/
Boot file default : /boot.html

Most demos startup a browser, if not use http://127.0.0.1:8080

Tutorial Summary

  • 01-tutorial.lisp - Hello World
  • 02-tutorial.lisp - Closures in CLOG
  • 03-tutorial.lisp - Events fire in parallel
  • 05-tutorial.lisp - The event target, reusing event handlers
  • 05-tutorial.lisp - Using connection-data-item
  • 06-tutorial.lisp - Tasking and events
  • 07-tutorial.lisp - My first CLOG video game (and handling disconnects)
  • 08-tutorial.lisp - Mice Love Containers