Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
* 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
- If you are interested in participating, please read:
  - [[http://www.amazon.com/Closure-Definitive-Guide-Michael-Bolin/dp/1449381871][Closure-Definitive-Guide-Michael-Bolin]]
- and maybe:
  - [[http://www.amazon.com/JavaScript-Good-Parts-Douglas-Crockford/dp/0596517742][JavaScript-Good-Parts-Douglas-Crockford]]
  - [[http://www.amazon.com/Performance-JavaScript-Faster-Application-Interfaces/dp/059680279X][Performance-JavaScript-Faster-Application-Interfaces]]
  - [[http://www.amazon.com/JavaScript-Patterns-Stoyan-Stefanov/dp/0596806752][JavaScript-Patterns-Stoyan-Stefanov]]
- Those looking to cram tonight can get the O'Reilly Closure book on kindle above or ebook directly:
  - [[http://oreilly.com/catalog/0636920001416/]]
* More info
[[https://github.com/relevance/clojurescript/wiki][Check the Wiki]]