

| |||||||
|
You are here: Root > Programming Languages > Javascript
Translates a subset of Common Lisp into JavaScript.
| Web site | |
| Mailing list | |
| Version | 0.1.0 - |
| Maturity | Beta |
| OS compatibility | |
| ASDF installable | No |
| Official Download | |
| Mirrored Download | |
| Source code repository | http://common-lisp.net/project/ucw/repos/parenscript/ |
Parenscript, originally, written by Manuel Odendahl, has now been incorporated into UnCommon Web, which seems to be the source for information and new releases.
It is a "compiler" that transforms Common Lisp into JavaScript. Or, seen another way, it is an S-expression syntax for JavaScript.
To quote the author's initial blog announcement, the following code:
(defun apply-effect ()
(when (and document.all photoslider.filters)
(let ((trans photoslider.filters.reveal-trans))
(setf (slot-value trans *Transition)
(floor (* (random) 23)))
(trans.stop)
(trans.apply))))
generates JavaScript like this:
function applyEffect() {
if (document.all && photoslider.filters) {
var trans = photoslider.filters.revealTrans;
trans.Transition = Math.floor(Math.random() * 23);
trans.stop();
trans.apply();
}
}
From the feature list:
Marco Baringer | Manuel Odendahl
Javascript | HTML | BSD license | Libraries
You must be logged to add a note
Changes to ParenScript.
Can the author of this entry update it with the latest ParenScript status? All the new details can be found at http://common-lisp.net/project/parenscript/
Submitted by vsedach 13/07/2007 16:50:48
You must be logged to add a comment