News for hackers. Stuff that matters.
Re:WeScheme (web IDE) by sheffield on Tuesday June 28, 2011 @05:38AM (#2704739)
Try this Hello world:

    (js-big-bang 0                ;; initial world
                 (on-draw ;; the dom tree renderer
                          (lambda (w)
                            (list (js-p '(("id" "myPara")))
                                  (list (js-text "hello world"))))

                          ;; the css renderer
                          (lambda (w)
                            '(("myPara" ("font-size" "30"))))))

There are no comments on this comment yet.