ANN: ClojureScript 0.0-2341, Improved Analysis & Transducers

341 views
Skip to first unread message

David Nolen

unread,
Sep 18, 2014, 8:23:14 AM9/18/14
to clojure, clojur...@googlegroups.com
ClojureScript, the Clojure compiler that emits JavaScript source code.

README and source code: https://github.com/clojure/clojurescript

New release version: 0.0-2341

Leiningen dependency information:

[org.clojure/clojurescript "0.0-2341"]

This releases comes with considerably better analysis. Vars from other
namespaces are finally also verified. Protocols previously saw very
little analysis support. Protocol method implementations are now
checked for validity against the declared protocol.

Transducers are also now in sync with Clojure 1.7.0-alpha2

Feedback welcome!

### Enhancements
* transducers

### Fixes
* CLJS-704: warn if protocol extended to type multiple times in extend-type
* CLJS-702: warn if protocol doesn't match declared
* CLJS-859: use https for the bootstrap script
* CLJS-855: combinatorial code generation under advanced
* CLJS-858: resolve-existing var does not check vars outside current ns
* CLJS-852: same group-by as Clojure
* CLJS-847: Safari toString fix
* CLJS-846: preserve namespace metadata

David Nolen

unread,
Sep 18, 2014, 3:27:02 PM9/18/14
to clojure, clojur...@googlegroups.com
I just cut 0.0-2342, the only change is a updated dependency on
tools.reader 0.8.9 - this fixes an issue where source metadata would
leave into the runtime.

David

bob

unread,
Sep 18, 2014, 9:46:42 PM9/18/14
to clo...@googlegroups.com, clojur...@googlegroups.com
It would be better that the jira issues have links.

Alan Dipert

unread,
Sep 19, 2014, 11:49:21 AM9/19/14
to clojur...@googlegroups.com, clo...@googlegroups.com
Here is a bookmarklet that turns /CLJS-\d+/ text into link: https://dl.dropboxusercontent.com/u/12379861/cljsjira.html

Thanks for the release! Especially CLJS-855 :-)
Alan

Kyle Cordes

unread,
Sep 23, 2014, 12:52:24 AM9/23/14
to clo...@googlegroups.com, clojur...@googlegroups.com
On Monday, September 22, 2014 9:45:44 PM UTC-5, Denis Johnson wrote:
Thanks for the update.

Both the previous and this causes the following warnings with core.async:

WARNING: Use of undeclared Var cljs.core.async/do-alts at line 62 file:../.m2/repository/org/clojure/core.async/0.1.338.0-5c5012-alpha/core.async-0.1.338.0-5c5012-alpha.jar!/cljs/core/async/impl/ioc_helpers.cljs



I think perhaps the time has come for a cross-project automated-test server for CLJS and the 10-15 most common CLJS libraries. My understanding is at the level to understand the need, and I could muster a server.... but I am not "wired in" to the CLJS development community enough to know how to do it. Hmmm.

Kyle Cordes


David Nolen

unread,
Sep 23, 2014, 4:09:20 AM9/23/14
to clo...@googlegroups.com, clojur...@googlegroups.com
Those are errors in core.async already fixed in master.


On Tuesday, September 23, 2014, Denis Johnson <denis....@gmail.com> wrote:
Thanks for the update.

Both the previous and this causes the following warnings with core.async:

WARNING: Use of undeclared Var cljs.core.async/do-alts at line 62 file:../.m2/repository/org/clojure/core.async/0.1.338.0-5c5012-alpha/core.async-0.1.338.0-5c5012-alpha.jar!/cljs/core/async/impl/ioc_helpers.cljs
WARNING: Bad method signature in protocol implementation impl/Handler lock-id at line 719 file:../.m2/repository/org/clojure/core.async/0.1.338.0-5c5012-alpha/core.async-0.1.338.0-5c5012-alpha.jar!/cljs/core/async.cljs
WARNING: Use of undeclared Var cljs.core.async.impl.protocols/lock-id at line 722 file:../.m2/repository/org/clojure/core.async/0.1.338.0-5c5012-alpha/core.async-0.1.338.0-5c5012-alpha.jar!/cljs/core/async.cljs
WARNING: Bad method signature in protocol implementation impl/Handler lock-id at line 719 run/compiled/demo/cljs/core/async.cljs
WARNING: Use of undeclared Var cljs.core.async.impl.protocols/lock-id at line 722 run/compiled/demo/cljs/core/async.cljs

Cheers Denis

--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clo...@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+u...@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+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Sean Corfield

unread,
Sep 23, 2014, 8:15:24 PM9/23/14
to clojur...@googlegroups.com
Do you know off-hand if those fixes are in 0.1.346.0-17112a-alpha which is the latest available version of core.async?

Sean
> --
> 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 clojurescrip...@googlegroups.com.
> To post to this group, send email to clojur...@googlegroups.com.
> Visit this group at http://groups.google.com/group/clojurescript.

Sean Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/

"Perfection is the enemy of the good."
-- Gustave Flaubert, French realist novelist (1821-1880)



signature.asc

David Nolen

unread,
Sep 23, 2014, 8:39:30 PM9/23/14
to clojur...@googlegroups.com
Yes the fixes should be in the latest release core.async.
Reply all
Reply to author
Forward
0 new messages