ParenScriptObjectSystem

The ParenScript Object System (PSOS) is a facility for object-oriented programming in ParenScript using the same style and techniques as the CommonLispObjectSystem?. It consists of a set of macros in lisp and a runtime environment in Parenscript.

The current source may be downloaded via SVN:

svn checkout http://suavescript.googlecode.com/svn/trunk/paren-psos paren-psos

The project is maintained by Red Daly (reddaly at gmail) and licensed under the GPL.

Features

Multiple inheritance, generic functions, and basic method combination is currently implemented. Example Parenscript that uses PSOS:
    (defclass person ())
    (defclass politician (person))

(defgeneric discuss-environment (individual)) (defmethod discuss-environment ((individual person)) (alert "I don't know anything about the environment")) (defmethod discuss-enviornment ((individual politician)) (alert "The environment is an important issue, but so is Osama Bin Laden"))

TODO

* method dispatch optimization * slots beyond javascript's built-in per-object slot storage. * a well-defined metaobject protocol


ParenScript

CLiki pages can be edited by anyone at any time. Imagine a fearsomely comprehensive disclaimer of liability. Now fear, comprehensively