Re: clojurescript in clojure

2016-01-27 Thread Gregg Reynolds
On Jan 27, 2016 1:57 PM, "Gregg Reynolds" wrote: > > > > On Wed, Jan 27, 2016 at 1:28 PM, Timothy Baldridge wrote: >> >> It seems to me that there has to be a simpler approach to what you are trying to accomplish. To that end, what is your end goal, and why is "splitting the cljs into a .cljs fil

Re: clojurescript in clojure

2016-01-27 Thread Gregg Reynolds
On Wed, Jan 27, 2016 at 1:28 PM, Timothy Baldridge wrote: > It seems to me that there has to be a simpler approach to what you are > trying to accomplish. To that end, what is your end goal, and why is > "splitting > the cljs into a .cljs file is not an option"? > The end goal is a unified lang

Re: clojurescript in clojure

2016-01-27 Thread Timothy Baldridge
It seems to me that there has to be a simpler approach to what you are trying to accomplish. To that end, what is your end goal, and why is "splitting the cljs into a .cljs file is not an option"? On Wed, Jan 27, 2016 at 12:08 PM, Gregg Reynolds wrote: > > > On Tue, Jan 26, 2016 at 9:03 PM, Matc

Re: clojurescript in clojure

2016-01-27 Thread Gregg Reynolds
On Tue, Jan 26, 2016 at 9:03 PM, Matching Socks wrote: > Is lein's project mavenry important here? Could you call cljs.compiler > directly? > You mean instead of using 'lein cljsbuild auto'? I can do that but I'm not sure how to "link" the cljs core lib. Following David Nolen's excellent hell

Re: clojurescript in clojure

2016-01-26 Thread Matching Socks
Is lein's project mavenry important here? Could you call cljs.compiler directly? -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be

clojurescript in clojure

2016-01-26 Thread Gregg Reynolds
I have some cljs fn forms embedded in some clj code. Macros read the stuff, munge it a bit, season to taste and generate cljs code. At least that's the idea. Mixing clj and cljs is a requirement, so splitting the cljs into a .cljs file is not an option. I'm not sure how best to make it work, th