This is a simple Common Lisp lib for Valtan that provides some CLOS methods to semi-automatically wrap JS objects with CLOS versions to hide FFI a bit better.
To use it:
-
Clone js-clos-utilities to your valtan library folder.
- By default this is in ~/.roswell/local-projects/cxxxr/valtan/library/
-
Include "js-clos-utilities" as a dependency in your system file
- ex.
(defsystem "my-new-valtan-system" :serial t :components ((:file "packages") (:file "main")) :depends-on ("react-utilities" "js-clos-utilities"))
- ex.
-
Use it in your package as you would the react utilities:
- ex.
(defpackage my-new-package (:use :cl :valtan.react-utilities :valtan.js-clos-utilities))
- ex.
ISC License