-
Notifications
You must be signed in to change notification settings - Fork 791
Bootstrapping the Compiler
Joel Martin edited this page Jan 4, 2015
·
23 revisions
ClojureScript cannot currently compile itself. The following enumerates the remaining tasks:
- Portable tools.reader than runs on Node.js
- ClojureScript compiler source conditionalized with feature expressions to map Clojure
types to ClojureScript ones:
clojure.lang.PersistentVector
->cljs.core/Vector
- Port all relevant macros - currently we import several macros from Clojure itself
As a point of reference, https://github.com/kanaka/clojurescript is a previous project to bootstrap the ClojureScript compiler. It is fairly dated since it was forked from the main tree on Nov 16th, 2012, however, it was self-hosting and allowed for a fully browser-based REPL: http://clojurescript.net/ A presentation of the project from Clojure West 2013 is here: http://www.infoq.com/presentations/cljs-in-cljs
- Rationale
- Quick Start
- Differences from Clojure
- [Usage of Google Closure](Google Closure)