Mar. 28th, 2015

izard: (Default)
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

Profile

izard: (Default)
izard

July 2025

S M T W T F S
  12345
67 8 91011 12
13141516171819
20212223242526
27 28293031  

Most Popular Tags

Page Summary

Style Credit

Expand Cut Tags

No cut tags
Page generated Aug. 13th, 2025 05:22 pm
Powered by Dreamwidth Studios