Wondering if it would make sense or is "possible" to host ClojureScript inside 
an ES6 javascript file, something like this. I imagine a 2-step compilation 
phase where, a regexp finds any pattern of the form ":(...)" and compiles these 
via the ClojureScript compiler which are then hosted inside the ES6 file 

import 'x' from 'y/x';

:(defn xyz [a b] (- a b))    

class Abc {
  constructor() {
  } 
  
  :(defn hello [a b] (+ a b))    
}

... alternatively class functions proxy/forward to clojure function?

Any ideas for such interop even in theory? I would like to somehow use CJS in 
an Auerelia app ;) Just learning Clojure and CLJS


On Tuesday, January 13, 2015 at 4:46:25 PM UTC-5, David Nolen wrote:
> To be clear Google Closure gives us support back to IE6 out of the box.
> 
> 
> ClojureScript doesn't gain anything at all by dropping support for these 
> targets because the cost of supporting them is effectively zero anyway and 
> dropping them doesn't allow us to do anything new.
> 
> 
> David

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/clojurescript.

Reply via email to