Overriding cl-json object encoding

CL-JSON provides an encoder for Lisp data structures and objects to JSON format. Unfortunately, in some case, its default encoding mechanism for CLOS objects isn’t exactly doing the right thing. I’ll show you how Common Lisp makes it easy to change that.

Read more

11 Jan 2013 | Tags: common-lisp lisp json postgresql postmodern cl-json

Integrating cl-irc and cl-async

Recently, I’ve started programming in Common Lisp.

My idea here is to use cl-irc, an IRC library into an event loop. This can be really useful, for example to trigger action based on time, using timers.

Read more

04 Jan 2013 | Tags: common-lisp lisp irc cl-irc cl-async