You will probably have more luck getting help in the Clojurescript group.

The clojurescript-in-clojurescript project you found is defunct. In the 
meantime normal Clojurescript has gotten much closer to being self-hosted 
and work towards that end is probably best done on Clojurescript itself 
instead of a work. This page outlines the work 
remaining: 
https://github.com/clojure/clojurescript/wiki/Bootstrapping-the-Compiler 
It's still not an insignificant amount of work.

However, are you really sure you can't keep a jvm around for compiling 
clojurescript? Sure it'd be nice if it were self-hosted, but I think people 
exaggerate how necessary it is.

If it really is an absolute requirement, consider WISP 
https://github.com/Gozala/wisp which is clojure-ish and hosted on js, but 
does *not* have clojure's fancy immutable data structures. (Those data 
structures are at least 80% of the reason to use Clojure IMO.) You can use 
other JS libraries to get them back, but they won't be native to WISP. E.g. 
immutable-js from facebook, or mori (which is really clojurescript compiled 
as a js library, hah!)

scripts/compile is a red herring. You need script/bootstrap. Read here to 
get started: https://github.com/clojure/clojurescript/wiki/Quick-Start

The clojurescript wiki in general is a good place to get 
oriented. https://github.com/clojure/clojurescript/wiki


On Saturday, January 17, 2015 at 7:13:04 PM UTC-6, Adam Avramov wrote:
>
> I'm working on a multimedia framework targeting Node.js (and, at some 
> point in the future, sooner rather than later, browsers). Since I need the 
> homoiconicity of a Lisp for my intended feature set, ClojureScript is 
> pretty much my only option -- and it's a very enjoyable language anyway. 
> I'm using this version of ClojureScript 
> <https://github.com/kanaka/clojurescript>, which seems to be the most 
> recent one; yet, apparently, it is still massively outdated. For example, 
> namespaces and module imports don't seem to work (as far as I can tell 
> anyway), leaving me to resort to reading each file with (eval-print) or 
> similar. I'd like to devote some effort towards bringing 
> ClojureScript-in-ClojureScript up to date, however I'm a bit confused. 
> Honestly I'm at a complete loss about where to start. I can't even seem to 
> build the code from the master branch of the clojure/clojurescript repo 
> <https://github.com/clojure/clojurescript> (scripts/compile fails by a 
> NullPointerException in compiler.clj). Can I please have a few pointers on 
> doing things right?
>

-- 
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 patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to