Skip to content

nmunro/cloop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CLOOP

This is an educational exploration of OOP, from the perspective of using functions and closures to express encapsulation, please do not use this in production!

Usage

* (let ((person1 (oop:build :name "NMunro" :age 2345 :to-string (lambda (self) (format nil "~A: ~A" (oop:get-property self :name) (oop:get-property self :age))))))
    (oop:call person1 :to-string))
"NMunro: 2345"

Installation

git clone https://github.com/nmunro/cloop.git ~/quicklisp/local-projects/cloop
sbcl --eval '(asdf:load-system :oop)'

About

Educational object system in Common Lisp

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published