Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

This branch is 18 commits ahead and 1211 commits behind master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

..
Octocat-spinner-32 README.org
Octocat-spinner-32 bcrepl.org
Octocat-spinner-32 cljs.org
Octocat-spinner-32 corelib.org
Octocat-spinner-32 day1.org
Octocat-spinner-32 day2.org
Octocat-spinner-32 talk.org
Octocat-spinner-32 testing
Octocat-spinner-32 todo.org
README.org

ClojureScript

  • What: Clojure running on Javascript VMs
  • Why: Clojure rocks, Javascript reaches
  • When: Now! - a compiler exists, we need libraries and tool integration. Full day sessions 6/10 and 6/17
  • Where: In stealth mode ‘here’ at Clojure/core
  • How: ClojureScript -> ClojureScript-Compiler -> Javascript -> [Google-Closure-JS->JS-Compiler -> Optimized-Javascript] ->Browser/V8/Node/PhoneGap…
  • Who: You, if you’re interested in:
    • How hand-written recursive descent compilers work (the ClojureScript compiler is about 1/6 the code of the CoffeeScript compiler)
    • Writing libraries using Clojure’s latest type and polymorphism tools
    • How Clojure works - its data structures and abstractions
    • Extending the reach of Clojure
    • Google’s industrial-strength JS tools
    • Investigating how powerful code-emitting tools can change the face of web and mobile development…

Getting Started

  • Clone the repo
  • cd clojurescript
  • run script/bootstrap
  • copy clojure.jar into /lib
  • script/repl will start a properly-classpathed repl

Starting the clojurescript repl

  • (require ‘[cljs.compiler :as comp])
  • (def jse (comp/repl-env))
  • (comp/repl jse)

Reading list

More info

Check the Wiki

Something went wrong with that request. Please try again.