Skip to content

siftech/cl-libuv

This branch is 3 commits behind orthecreedence/cl-libuv:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

dd6df07 · May 23, 2023

History

67 Commits
Jul 20, 2018
Oct 17, 2014
Oct 17, 2014
Jan 12, 2015
Feb 28, 2015
Aug 26, 2022
Jan 14, 2015
Aug 26, 2022
Jan 12, 2015
May 23, 2023
Jan 11, 2016
Dec 25, 2014
May 31, 2015
Oct 29, 2014
Jan 14, 2015

Repository files navigation

libuv bindings for Common Lisp

Please note that these bindings aren't fully documented, and unless someone actually wants to take on this task, they will most likely stay that way as they were built/generated as a means of driving cl-async.

Conventions

Who needs documentation when you follow simple function-naming conventions?

  • The package prefix is uv:
  • Underscores become dashes

That's actually it. For a reference on libuv itself, see the libuv docs.

Example

// TODO

Becomes:

;; TODO

(re)Generating

If a new version of libuv comes out, you can regenerate these bindings by doing the following (if you have swig installed):

cd /path/to/cl-libuv
vim scripts/bindings-posix.i      # update "%include" paths to point at your libuv headers
./scripts/generate                # must be run in cl-libuv folder

This will generate new bindings in their entirety (it's fully automated).

Notes

As mentioned, these bindings were made specifically to be the backend for cl-async, and because of this, they do not (nor will they ever) have a higher-level interface. They are meant to be an extremely thin layer between Lisp and c/libuv.

MIT Licensed.

Releases

No releases published

Packages

No packages published

Languages

  • Common Lisp 92.6%
  • SWIG 6.0%
  • Shell 1.4%