Tagged Questions
1
vote
0answers
32 views
Way to connect Clojurescript Repl to running node process
I was wondering if there is a way to connect a cljs repl to a nodejs process that I already have running, that is say in debug mode and stopped at a breakpoint.
So I know there is ...
0
votes
1answer
53 views
How to set the clojurescript *print-fn* fn in nodejs
I am playing around with compiling clojurescript to nodejs and I just really want to use the println function:
(println "hello world")
However, it gives me an error
No *print-fn* fn set for ...
1
vote
2answers
147 views
How incomplete ClojureScript now? (range) (iterate) etc
I'm trying to use ClojureScript instead Clojure lately.
When I compile and run on node.js
(.log js/console (range 10))
I've got
$ node app
{ meta: null,
start: 0,
end: 10,
step: 1,
...
1
vote
1answer
253 views
ClojureScript + momentjs (node.js) fails with .format(“dddd, MMMM Do YYYY, h:mm:ss a”)
I'm trying to show current datetime format to console on node.js + clojure deploying momentjs .
The working node js code:
var moment = require("./lib/moment/moment.js");
...
5
votes
1answer
869 views
ClojureScript on node.js, code
I am trying to run ClojureScript on node.js
app1.js target code: working:
var rx = require("./lib/rx/rx.node.js");
var moment = require("./lib/moment/moment.js");
var timeStream = new ...
5
votes
2answers
907 views
Implementing Clojure on top of V8 engine
I am just wondering if it would make sense to implement Clojure on top of Googles V8 Javascript engine. I never use Java interoperability. I also am learning ClojureScript. So I could see an advantage ...
2
votes
1answer
580 views
Writing in Meteor using ClojureScript
Is there currently a solution for integrating ClojureScript with Meteor?
I want to build a Meteor application and between the flavors of JavaScript (JavaScript, CoffeeScript, TypeScript, LiveScript ...
1
vote
1answer
291 views
Async access to MongoDB using Aleph/Lamina
I have been reading about Clojure for some time and I'm considering it as a replacement to Node.js (which I have used for another project). The most promising library seems to be Aleph/Lamina, which ...
4
votes
2answers
685 views
Getting “cannot set property Error of undefined” when trying to run the .js output of a simple hello world clojurescript
I'm compiling:
(ns example.hello)
(js/console.log "Hello from ClojureScript!")
With this configuration:
(defproject lein-cljsbuild-example "1.2.3"
:plugins [[lein-cljsbuild "0.2.9"]]
...