Entry tags:
Clojure on Edison
Well, clojurescript for now.
1. Download and Install JDK or JRE, get it to the PATH.
2. Download standalone cljs.jar from here, get it to classpath.
3. mkdir -p hello_world/src/hello_world; cd hello_world; touch src/hello_world/core.cljs
4. Edit build script node.clj:
(require 'cljs.closure)
(cljs.closure/build "src"
{:main 'hello-world.core
:output-to "main.js"
:target :nodejs})
5. Edit main file: src/hello_world/core.cljs :

6. npm install source-map-support
7. java -cp cljs.jar:src clojure.main node.clj
8. node main.js
p.s. same works in REPL
p.p.s Greetings from Bucharest
1. Download and Install JDK or JRE, get it to the PATH.
2. Download standalone cljs.jar from here, get it to classpath.
3. mkdir -p hello_world/src/hello_world; cd hello_world; touch src/hello_world/core.cljs
4. Edit build script node.clj:
(require 'cljs.closure)
(cljs.closure/build "src"
{:main 'hello-world.core
:output-to "main.js"
:target :nodejs})
5. Edit main file: src/hello_world/core.cljs :

6. npm install source-map-support
7. java -cp cljs.jar:src clojure.main node.clj
8. node main.js
p.s. same works in REPL
p.p.s Greetings from Bucharest