Fork me on GitHub
#lumo
<
2017-02-07
>
stbgz21:02:12

@anmonteiro I have a doubt that you might be able to help with I’ve playing with the cljs.js namespace specifically the compile-str call, however what I am missing is the compiler options I have in the java clojurescript compiler, in specific target :nodejs

stbgz21:02:27

I want to be able to generate js code that can be run with nodejs, but the cljs.js namespace does not seem to have that capability yet? would that be accurate?

anmonteiro21:02:51

@stbgz I don't think it's the job of cljs.js to provide the ability of :target :nodejs

anmonteiro22:02:33

that's all handled by cljs.closure

anmonteiro22:02:45

what specifically do you mean by compatible with Node.js?

anmonteiro22:02:02

CLJS compiled with compile-str should be able to run on Node

stbgz22:02:25

well if I compared the string generated from compile-str to a build with cljs build once they are not the same

stbgz22:02:20

I am trying to to use the cljs.js ns a replacement for the cljs java compiler

stbgz22:02:06

at this point I don’t care about the optimizations, however I am realizing there are might be other things that cljs.closure is doing

anmonteiro22:02:03

there definitely are

stbgz22:02:50

yeap 😕. My goal basically is to provide something like cljs.build.api/build in pure cljs

anmonteiro22:02:14

that's gonna take you a lot of work

anmonteiro22:02:18

that's my dream for Lumo too

anmonteiro22:02:57

@stbgz maybe we should join forces instead 🙂

stbgz22:02:04

@anmonteiro sure thing… I was doing some investigation as part of my work for calvin

stbgz22:02:45

the next thing I wanted to do was calvin build and that’s how I got into this rabbitwhole

stbgz22:02:35

I’d be pretty happy to help moving the ball forward