; Add up the numbers 1 through 9
; Results appear in the Console
(+ 1 2 3 4 5 6 7 8 9)

; Multiply the numbers 1 through 9
; Display result in Alert window
(alert (* 1 2 3 4 5 6 7 8 9))

; Change this doc's background color to blue
; "js" function allows for JavaScript
(js "$('body').css('background-color','blue')")

Jist 005


Jist is a JavaScript List Processor; a Lisp interpreter written in JavaScript. The base code was lifted from Joe Ganley and is being heavily tweaked. Goals include replacing dynamic scoping with lexical closures, correctly parsing sibling tress, usefully integrating with JavaScript, the DOM, possibly jQuery and Arc. However, this is first and foremost a Stewdio research project to simply investigate Lisp further. It is uber-alpha software. No stability or production-level functionality implied. Tested in Safari 4b on OS X 10.5.

005. Parser now handles sibling trees through a dirty temporary patch. (Will need to re-write Ganley's parser.) Escaped double quotes won't work (yet). This whole interface could use serious attention, but research projects must oft give way to real clients.

Console

Clear Console

Lisp Program

Execute