forked from aemoncannon/las3r
-
Notifications
You must be signed in to change notification settings - Fork 0
Home
yonatan edited this page Sep 13, 2010
·
3 revisions
This is a forked repository. Have a look at
aemoncannon’s las3r wiki
for more information.
This is a Lisp REPL, the syntax is basically Clojure’s. To get decent error messages you should use a debugger version of Flash player. The Flex framework is linked in to this swf so you can use all the mx.whatever classes. It takes a while to load, be patient…
Example to try it out:
(def button (new mx.controls.Button))
(. outputCanvas (addChild button))
(set! (. button label) “Go Away”)
(on button “buttonDown”
(fn [e] (. outputCanvas (removeChild button))))
Other stuff:
A 3D Logo interpreter (actually, Logo flavoured Lisp, but who cares?) made with Las3r and Papervision3D.
It lacks most of the Clojure primitives, but does have some help text. Source code is here.