Re: ANN: ClojureScript 1.10.741

2020-04-25 Thread Tim Visher
On Fri, Apr 24, 2020 at 9:04 PM Ag Ibragimov 
wrote:

> Some people have no idea how awesome it is to see David Nolen working on
> Clojurescript again. That is so cool!
>

😍

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/clojure/CAHa53uwkyEOrwvYx%2BJfDRdDvRy4ex7g3hVgD-qCERLkxz93BMQ%40mail.gmail.com.


Re: ANN: ClojureScript 1.10.741

2020-04-24 Thread Ag Ibragimov

Some people have no idea how awesome it is to see David Nolen working on 
Clojurescript again. That is so cool!

On Fri 24 Apr 2020 at 10:10, David Nolen  wrote:


ClojureScript, the Clojure compiler that emits JavaScript source code.

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

Please refer to the announce post for the details:
https://clojurescript.org/news/2020-04-24-release

This release also features a significant enhancement when building against
node_modules:
https://clojurescript.org/news/2020-04-24-bundle-target

As always, feedback welcome!

David


--
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/clojure/m2k124cr5p.fsf%40gmail.com.


Re: ANN: ClojureScript 1.10.312, Improved Externs Inference & Webpack Guide

2018-06-22 Thread David Nolen
1.10.329 was released today, it addresses a few minor issues in 312
including an externs inference bug.

David

On Fri, Jun 15, 2018 at 10:50 AM, David Nolen 
wrote:

> ClojureScript, the Clojure compiler that emits JavaScript source code.
>
> README and source code: https://github.com/clojure/clojurescript
>
> Leiningen dependency information:
>
> [org.clojure/clojurescript "1.10.312"]
>
> This release contains many fixes and enhancements, the most notable being
> those around externs inference. With enhanced externs inference,
> integration with tools like Webpack is greatly improved and we now provide
> an official guide https://clojurescript.org/guides/webpack.
>
> For more details see https://clojurescript.org/news/2018-06-15-release
>
> As always, feedback welcome!
>
> David
>

-- 
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.


Re: ANN: ClojureScript 1.9.542, spec changes & REPL enhancement

2017-10-13 Thread Rangel Spasov
Sorry, that was false alarm. Ok, that's kinda funny: 

Without paying attention I saw this on the top of the mailing list in 
google groups and just copy/pasted the version number and tried to build, 
only to just realize that I DOWNGRADED to a ClojureScript release from May 
12th LOL. My bad.
Somehow this thread got bumped to the top of groups.google.com.

Everything is working OK with the latest 
ClojureScript [org.clojure/clojurescript "1.9.946"]

Sorry for the false alarm!

Rangel


On Friday, October 13, 2017 at 11:34:24 AM UTC-7, David Nolen wrote:
>
> Will need something more minimal. Thanks.
>
> David
>
> On Fri, Oct 13, 2017 at 2:08 PM, Rangel Spasov  > wrote:
>
>> I'm getting this (I'm guessing related to the changes around CLJS-485 
>> RegExp flags):
>>
>> (iOS simulator screenshot attached).
>>
>>
>> As you can see, the RN/JS stack traces are not very useful in this case. 
>> I can dig deeper if needed to find exactly where it fails (I have a few 
>> places where I use RegExp).
>>
>> Thanks all!
>> Rangel
>>  
>>
>> On Friday, May 12, 2017 at 1:31:54 PM UTC-7, David Nolen wrote:
>>>
>>> ClojureScript, the Clojure compiler that emits JavaScript source code.
>>>
>>> README and source code: https://github.com/clojure/clojurescript
>>>
>>> Leiningen dependency information:
>>>
>>> [org.clojure/clojurescript "1.9.542"]
>>>
>>> This release is primarily about staying in sync with the latest changes 
>>> to spec. It
>>> also includes a small but significant enhancement to REPLs to allow 
>>> handling multiple forms.
>>>
>>> As always, feedback welcome!
>>>
>>> ## 1.9.542
>>>
>>> ### Enhancements
>>> * CLJS-1572: REPL doesn't give error for expressions with too many right 
>>> parentheses
>>>
>>> ### Changes
>>> * cljs.spec -> cljs.spec.alpha
>>> * CLJS-2013 - Add MapEntry type
>>> * CLJS-2015: Self-host: `defmacro` should return the Var
>>> * CLJS-2017: Upgrade Closure Compiler to latest April 2017 release
>>>
>>> ### Fixes
>>> * CLJS-485: RegExp flags are being dropped by string/replace
>>> * CLJS-1518: Case macro expansion evaluates expression twice
>>> * CLJS-2024: Self-host: `find-ns-obj` broken for namespaces with 'a' as 
>>> the first segment
>>> * CLJS-2028: `realized?` throws on LazyTransformer
>>> * CLJS-2010: refer-clojure :rename throws on valid invocations
>>> * CLJS-2007: Whitespace optimizations should respect :main option.
>>>
>>> -- 
>> 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.
>>
>
>

-- 
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.


Re: ANN: ClojureScript 1.9.542, spec changes & REPL enhancement

2017-10-13 Thread David Nolen
Will need something more minimal. Thanks.

David

On Fri, Oct 13, 2017 at 2:08 PM, Rangel Spasov  wrote:

> I'm getting this (I'm guessing related to the changes around CLJS-485
> RegExp flags):
>
> (iOS simulator screenshot attached).
>
>
> As you can see, the RN/JS stack traces are not very useful in this case.
> I can dig deeper if needed to find exactly where it fails (I have a few
> places where I use RegExp).
>
> Thanks all!
> Rangel
>
>
> On Friday, May 12, 2017 at 1:31:54 PM UTC-7, David Nolen wrote:
>>
>> ClojureScript, the Clojure compiler that emits JavaScript source code.
>>
>> README and source code: https://github.com/clojure/clojurescript
>>
>> Leiningen dependency information:
>>
>> [org.clojure/clojurescript "1.9.542"]
>>
>> This release is primarily about staying in sync with the latest changes
>> to spec. It
>> also includes a small but significant enhancement to REPLs to allow
>> handling multiple forms.
>>
>> As always, feedback welcome!
>>
>> ## 1.9.542
>>
>> ### Enhancements
>> * CLJS-1572: REPL doesn't give error for expressions with too many right
>> parentheses
>>
>> ### Changes
>> * cljs.spec -> cljs.spec.alpha
>> * CLJS-2013 - Add MapEntry type
>> * CLJS-2015: Self-host: `defmacro` should return the Var
>> * CLJS-2017: Upgrade Closure Compiler to latest April 2017 release
>>
>> ### Fixes
>> * CLJS-485: RegExp flags are being dropped by string/replace
>> * CLJS-1518: Case macro expansion evaluates expression twice
>> * CLJS-2024: Self-host: `find-ns-obj` broken for namespaces with 'a' as
>> the first segment
>> * CLJS-2028: `realized?` throws on LazyTransformer
>> * CLJS-2010: refer-clojure :rename throws on valid invocations
>> * CLJS-2007: Whitespace optimizations should respect :main option.
>>
>> --
> 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.
>

-- 
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.


Re: [ClojureScript] Re: ANN: ClojureScript 1.9.542, spec changes & REPL enhancement

2017-10-12 Thread Erik Assum
FWIW upgrading prismatic schema to 1.1.7 fixed this for me

Erik.
mandag 15. mai 2017 16.24.12 UTC+2 skrev David Nolen følgende:
>
> That runtime error doesn't necessarily seem related to the compile time 
> warning. Would need more information.
>
> On Mon, May 15, 2017 at 10:16 AM, Tatu Tarvainen  > wrote:
>
>>
>> My phantom test run crashes with:
>> TypeError: undefined is not an object (evaluating 
>> 'schema.core.MapEntry.prototype')
>>
>> I'm assuming that is related to this change, but I'll need to investigate 
>> more. There's already a merged PR for schema that excludes MapEntry in 
>> refer-clojure. I'm hoping that will fix this.
>>
>>
>> maanantai 15. toukokuuta 2017 14.32.55 UTC+3 David Nolen kirjoitti:
>>>
>>> That's just a warning. Is there some deeper breakage that you are 
>>> observing?
>>>
>>> David
>>>
>>> On Sun, May 14, 2017 at 3:09 AM, Tatu Tarvainen  
>>> wrote:
>>>

 > * CLJS-2013 - Add MapEntry type

 This change seems to break plumatic schema, after upgrading I'm getting 
 warnings:

 WARNING: ->MapEntry already refers to: cljs.core/->MapEntry being 
 replaced by: schema.core/->MapEntry at ... schema/core.cljs

 Plumatic also defines a MapEntry record type which clashes with the 
 core one.

 --
 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 https://groups.google.com/group/clojurescript.

>>>
>>> -- 
>> 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.
>>
>
>

-- 
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.


Re: ANN: ClojureScript 1.9.946

2017-10-04 Thread Juraj Martinka
> I'm seeing an issue in one of my larger projects. Will try to isolate 
tomorrow and get back to you. 

Not sure if it's the same issue as I encountered when trying to build 
clojurescript in my application generated by luminus template, but here it 
is:

Compiling "target/cljsbuild/public/js/app.js" from ["src/cljs" 
"src/cljc" "env/dev/cljs"]...
Failed to compile "target/cljsbuild/public/js/app.js" in 7.485 seconds.
  Could not Read  target/cljsbuild/public/js/out/cljs/core.cljs   
line:988  column:14  


  No reader function for tag Inf


  986  (js-mod (Math/floor o) 2147483647)


The problem was the some of my project's dependencies brought in the 
tools.reader older than the 1.1.0 version.
I solved by explicitly requiring 1.1.0 in my project.clj:

[org.clojure/tools.reader "1.1.0"]



On Wednesday, 4 October 2017 02:47:03 UTC+2, Nathan Fisher wrote:
>
> Hi David!
>
> I'm seeing an issue in one of my larger projects. Will try to isolate 
> tomorrow and get back to you. 
>
> The simple project in lein-cljsbuild works fine for me with beta1 and this 
> release.
>
> Saludos!
> Nathan
>
> On Tue, 3 Oct 2017 at 22:52 David Nolen > 
> wrote:
>
>> ClojureScript, the Clojure compiler that emits JavaScript source code.
>>
>> README and source code: https://github.com/clojure/clojurescript
>>
>> Leiningen dependency information:
>>
>> [org.clojure/clojurescript "1.9.946"]
>>
>> This release contains many bug fixes and addresses feedback from the 
>> 1.9.908
>> release. Important changes include parity with Clojure 1.9.0-beta1 and an
>> updated Google Closure Compiler dependency. The later one in particular 
>> now
>> means that ClojureScript has a dependency on JDK 8.
>>
>> As always feedback welcome!
>>
>> 1.9.946
>>
>> ### Changes
>> * CLJS-2300: Delegate clojure.string/capitalize to goog.string/capitalize
>> * CLJS-2374: Print js/Infinity, js/-Infinity, js/NaN using new reader 
>> literals
>> * bump tools.reader (1.1.0)
>> * CLJS-2372: update hash to use the new infinity literals
>> * CLJS-2364: Bump Closure Compiler to the Sep 2017 version
>> * CLJS-2340: Have js-keys delegate directly to good.object/getKeys
>> * CLJS-2338: Support renamePrefix{Namespace} closure compiler option
>>
>> ### Fixes
>> * CLJS-1576: fix source-map string encoding by applying 
>> encodeURIComponent and fixing string/replace call
>> * CLJS-2294: Always use opts with implicit opts added
>> * CLJS-2166: Add uri? predicate
>> * CLJS-2368: Self-host: Never compile macro namespaces with 
>> `:optimize-constants true
>> * CLJS-2367: Self-host: :def-emits-var leaks into loaded namespace 
>> processing
>> * CLJS-2352: Emit valid JS for NaN etc. even when used w/ CLJ >= 
>> 1.9.0-alpha20
>> * CLJS-2339: Significant code reload slowdown with :npm-deps
>> * CLJS-2361: Self-host: circular dependency detection doesn't handle REPL 
>> self-require
>> * CLJS-2356: Self-host: circular dependency detection is not correct
>> * CLJS-2354: Self-host: `compile-str` doesn't handle `clojure` -> `cljs` 
>> aliasing
>> * CLJS-2353: use portable `node-module-dep?` function in analyze-deps
>> * CLJS-2345: escape paths emitted as args to cljs.core.load_file
>> * CLJS-2349: Port reset-vals! and swap-vals! over from Clojure
>> * CLJS-2336: Call alength once in areduce and amap
>> * CLJS-2335: Avoid alength on strings
>> * CLJS-2334: Also gather dependencies from foreign-libs that are modules
>> * CLJS-2333: module-deps.js doesn't correctly compute `main` if aliased 
>> in browser field
>> * CLJS-2332: module_deps.js doesn't process `export from` correctly
>> * CLJS-2330: Don't set `"browser"` field for Closure if target is :nodejs
>> * CLJS-2326: Indexing node_modules can't find `main` when it doesn't have 
>> an extension
>> * CLJS-2328: Args are not provided to *main-cli-fn* with optimizations 
>> advanced
>> * CLJS-2327: module_deps.js doesn't know about browser field advanced 
>> usage
>>
>> -- 
>> 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.
>>
> -- 
> - sent from my mobile
>

-- 
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 emai

Re: ANN: ClojureScript 1.9.946

2017-10-03 Thread Nathan Fisher
Hi David!

I'm seeing an issue in one of my larger projects. Will try to isolate
tomorrow and get back to you.

The simple project in lein-cljsbuild works fine for me with beta1 and this
release.

Saludos!
Nathan

On Tue, 3 Oct 2017 at 22:52 David Nolen  wrote:

> ClojureScript, the Clojure compiler that emits JavaScript source code.
>
> README and source code: https://github.com/clojure/clojurescript
>
> Leiningen dependency information:
>
> [org.clojure/clojurescript "1.9.946"]
>
> This release contains many bug fixes and addresses feedback from the
> 1.9.908
> release. Important changes include parity with Clojure 1.9.0-beta1 and an
> updated Google Closure Compiler dependency. The later one in particular now
> means that ClojureScript has a dependency on JDK 8.
>
> As always feedback welcome!
>
> 1.9.946
>
> ### Changes
> * CLJS-2300: Delegate clojure.string/capitalize to goog.string/capitalize
> * CLJS-2374: Print js/Infinity, js/-Infinity, js/NaN using new reader
> literals
> * bump tools.reader (1.1.0)
> * CLJS-2372: update hash to use the new infinity literals
> * CLJS-2364: Bump Closure Compiler to the Sep 2017 version
> * CLJS-2340: Have js-keys delegate directly to good.object/getKeys
> * CLJS-2338: Support renamePrefix{Namespace} closure compiler option
>
> ### Fixes
> * CLJS-1576: fix source-map string encoding by applying encodeURIComponent
> and fixing string/replace call
> * CLJS-2294: Always use opts with implicit opts added
> * CLJS-2166: Add uri? predicate
> * CLJS-2368: Self-host: Never compile macro namespaces with
> `:optimize-constants true
> * CLJS-2367: Self-host: :def-emits-var leaks into loaded namespace
> processing
> * CLJS-2352: Emit valid JS for NaN etc. even when used w/ CLJ >=
> 1.9.0-alpha20
> * CLJS-2339: Significant code reload slowdown with :npm-deps
> * CLJS-2361: Self-host: circular dependency detection doesn't handle REPL
> self-require
> * CLJS-2356: Self-host: circular dependency detection is not correct
> * CLJS-2354: Self-host: `compile-str` doesn't handle `clojure` -> `cljs`
> aliasing
> * CLJS-2353: use portable `node-module-dep?` function in analyze-deps
> * CLJS-2345: escape paths emitted as args to cljs.core.load_file
> * CLJS-2349: Port reset-vals! and swap-vals! over from Clojure
> * CLJS-2336: Call alength once in areduce and amap
> * CLJS-2335: Avoid alength on strings
> * CLJS-2334: Also gather dependencies from foreign-libs that are modules
> * CLJS-2333: module-deps.js doesn't correctly compute `main` if aliased in
> browser field
> * CLJS-2332: module_deps.js doesn't process `export from` correctly
> * CLJS-2330: Don't set `"browser"` field for Closure if target is :nodejs
> * CLJS-2326: Indexing node_modules can't find `main` when it doesn't have
> an extension
> * CLJS-2328: Args are not provided to *main-cli-fn* with optimizations
> advanced
> * CLJS-2327: module_deps.js doesn't know about browser field advanced usage
>
> --
> 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.
>
-- 
- sent from my mobile

-- 
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.


Re: ANN: ClojureScript 1.9.854

2017-07-30 Thread David Nolen
The ability to consume node_modules is just an additional feature - it
makes no existing features obsolete.

David

On Sun, Jul 30, 2017 at 3:42 PM, Daniel  wrote:

> For someone who is new to clojurescript and pretty confused by
> clojurescript dependency management in general, does this release obsolete
> cljsjs for new projects and what is the new method?
>
>
> On Friday, July 28, 2017 at 4:55:04 PM UTC-5, David Nolen wrote:
>>
>> ClojureScript, the Clojure compiler that emits JavaScript source code.
>>
>> README and source code: https://github.com/clojure/clojurescript
>>
>> Leiningen dependency information:
>>
>> [org.clojure/clojurescript "1.9.854"]
>>
>> This is a significant feature release. Notable new features include
>> comprehensive NPM dependency support, overhauled code splitting,
>> enhanced JavaScript module preprocessing, declared global exports for
>> foreign libs, and checked array operations. There are also a large
>> number of fixes, changes, and minor enhancementes. For more detailed
>> descriptions of the major enhancements, please refer to the last month
>> of posts https://clojurescript.org/news/news.
>>
>> As always, feedback welcome!
>>
>> ## 1.9.854
>>
>> ### Enhancements
>> * CLJS-2280: Provide process.env :preload and auto-configure
>> * CLJS-2279: Infer `:module-type ` for provided `node_modules`
>> * CLJS-2250: Support :foreign-libs overrides via :provides
>> * CLJS-2243: Self-host: Add support for :global-exports
>> * CLJS-2232: Self-host: Add support for string-based requires
>> * add *print-fn-bodies* knob, set to false
>> * CLJS-2198: Safe array operations
>> * CLJS-2217: Support `:rename` for JS modules
>> * CLJS-2214: Support :global-exports for foreign libraries
>> * CLJS-1428: Add a cljs.core/*command-line-args* var
>> * CLJS-2061: Support ns :require for JS libs, allow strings along with
>> symbol
>> * CLJS-2148: Add warnings for invalid use of aget and aset
>> * CLJS-2143: Add support for symbol preprocess values
>>
>> ### Changes
>> * CLJS-2273: Bump tools.reader to 1.0.3 and development dependencies
>> * CLJS-2235: Allow passing extra maven opts to build scripts
>> * CLJS-2267: Allow ^:const inlined vars to affect if emission
>> * CLJS-2245: Add support for using a local `node_modules` installation
>> through a new `:node-modules` compiler flag
>> * CLJS-2002: Don't throw when no *print-fn* is set
>> * support Clojure primitive array type hints, core.async no longer
>>   gives warnings
>> * CLJS-2213: Node.js target should use node_modules index to emit
>> platform specific require
>> * CLJS-2200: bump to tools.reader 1.0.2
>> * CLJS-2135: require macro prints last result of loaded-libs
>> * CLJS-2192: Add ChakraCore testing facilities
>> * CLJS-1800: Defer to tools.reader for cljs.reader functionality
>> * CLJS-2163: Clean up uses of aget / aset on objects
>> * CLJS-2184: Add `ns-publics` and `ns-imports`
>> * CLJS-2183: Assert arguments are quoted symbols in some core macros
>> * CLJS-2182: Assert argument to resolve is a quoted symbol
>> * CLJS-2186: Update docstrings for aget/aset to be consistent with Clojure
>> * CLJS-2180: Allow compiling `:modules` with whitespace optimizations
>> * CLJS-1822: Use `:file-min` when processing JS modules with advanced
>> optimizations
>> * CLJS-2169: Error when compiling with :source-map and advanced
>> optimizations
>> * CLJS-2037: Throw if overwriting alias in current namespace
>> * CLJS-2160: Add loaded? and prefetch functions to cljs.loader
>> * CLJS-2148: Add unsafe-get and use goog.object
>> * CLJS-2161: Bump Closure Compiler to June 2017 release
>>
>> ### Fixes
>> * CLJS-1854: Self-host: Reload ns with const
>> * CLJS-2278: JavaScript object literals are printed wth keys that cannot
>> be read
>> * CLJS-2276: Self-host: Need test.check dep for CLJS-2275
>> * CLJS-2275: cljs.spec.alpha/fdef resolves eagerly
>> * CLJS-2259: Extra .cljs_node_repl directory containing cljs.core output
>> * CLJS-2274: Update CI script to install deps
>> * CLJS-2269: Warn on top level code split loads
>> * CLJS-2272: Tests that depended on default install deps behavior failing
>> * CLJS-2255: Clean up :npm-deps
>> * CLJS-2263: Docstring for neg-int? backwards
>> * CLJS-2262: Correct comment that *warn-on-infer* is file-scope
>> * CLJS-2258: Stack overflow regression for sequence xform applied to
>> eduction
>> * CLJS-2256: Generated code doesn't add newline after sourceMappingURL
>> comment
>> * CLJS-2254: Module Indexing: Provide relative paths for a package's main
>> module
>> * CLJS-2248: Build API tests rely on Yarn
>> * CLJS-2239: Self-host: Add `:target :nodejs` to the docstrings in cljs.js
>> * CLJS-2251: Follow-up fix to CLJS-2249 and related commit
>> * CLJS-2249: Provide a test for d4b871cce73
>> * CLJS-2246: Revert CLJS-2245 and CLJS-2240 and fix `lein test`
>> * CLJS-2244: Orphaned processed JS modules breaks :modules
>> * CLJS-2242: Lots of undeclared Var warns in cljs.spec.gen.alpha
>> * CLJS-2241: Multiple requires of Node.j

Re: ANN: ClojureScript 1.9.854

2017-07-30 Thread Leon Grapenthin
Yes, it does make CLJSJS obsolete and the new method is to include Node 
modules from NPM.

CLJSJS was never the one true way, especially for production. It lacked 
deduplication of transitive dependencies that were not packed per CLJSJS 
and of course support for dependencies that where are not included in 
CLJSJS. 
It was nice to get started quickly, but in production one compiled its own 
bundle of js deps e. g. via webpack, and handwritten (or handcopypasted) 
externs.

As a newcomer, you won't have to deal with all that in the future, which is 
one of the many benefits of this release.

Nonetheless this new functionality will probably take an iteration or two 
until its stable.

On Sunday, July 30, 2017 at 9:42:32 PM UTC+2, Daniel wrote:
>
> For someone who is new to clojurescript and pretty confused by 
> clojurescript dependency management in general, does this release obsolete 
> cljsjs for new projects and what is the new method?
>
> On Friday, July 28, 2017 at 4:55:04 PM UTC-5, David Nolen wrote:
>>
>> ClojureScript, the Clojure compiler that emits JavaScript source code.
>>
>> README and source code: https://github.com/clojure/clojurescript
>>
>> Leiningen dependency information:
>>
>> [org.clojure/clojurescript "1.9.854"]
>>
>> This is a significant feature release. Notable new features include
>> comprehensive NPM dependency support, overhauled code splitting,
>> enhanced JavaScript module preprocessing, declared global exports for
>> foreign libs, and checked array operations. There are also a large
>> number of fixes, changes, and minor enhancementes. For more detailed
>> descriptions of the major enhancements, please refer to the last month
>> of posts https://clojurescript.org/news/news.
>>
>> As always, feedback welcome!
>>
>> ## 1.9.854
>>
>> ### Enhancements
>> * CLJS-2280: Provide process.env :preload and auto-configure
>> * CLJS-2279: Infer `:module-type ` for provided `node_modules`
>> * CLJS-2250: Support :foreign-libs overrides via :provides
>> * CLJS-2243: Self-host: Add support for :global-exports
>> * CLJS-2232: Self-host: Add support for string-based requires
>> * add *print-fn-bodies* knob, set to false
>> * CLJS-2198: Safe array operations
>> * CLJS-2217: Support `:rename` for JS modules
>> * CLJS-2214: Support :global-exports for foreign libraries
>> * CLJS-1428: Add a cljs.core/*command-line-args* var
>> * CLJS-2061: Support ns :require for JS libs, allow strings along with 
>> symbol
>> * CLJS-2148: Add warnings for invalid use of aget and aset
>> * CLJS-2143: Add support for symbol preprocess values
>>
>> ### Changes
>> * CLJS-2273: Bump tools.reader to 1.0.3 and development dependencies
>> * CLJS-2235: Allow passing extra maven opts to build scripts
>> * CLJS-2267: Allow ^:const inlined vars to affect if emission
>> * CLJS-2245: Add support for using a local `node_modules` installation 
>> through a new `:node-modules` compiler flag
>> * CLJS-2002: Don't throw when no *print-fn* is set
>> * support Clojure primitive array type hints, core.async no longer
>>   gives warnings
>> * CLJS-2213: Node.js target should use node_modules index to emit 
>> platform specific require
>> * CLJS-2200: bump to tools.reader 1.0.2
>> * CLJS-2135: require macro prints last result of loaded-libs
>> * CLJS-2192: Add ChakraCore testing facilities
>> * CLJS-1800: Defer to tools.reader for cljs.reader functionality
>> * CLJS-2163: Clean up uses of aget / aset on objects
>> * CLJS-2184: Add `ns-publics` and `ns-imports`
>> * CLJS-2183: Assert arguments are quoted symbols in some core macros
>> * CLJS-2182: Assert argument to resolve is a quoted symbol
>> * CLJS-2186: Update docstrings for aget/aset to be consistent with Clojure
>> * CLJS-2180: Allow compiling `:modules` with whitespace optimizations
>> * CLJS-1822: Use `:file-min` when processing JS modules with advanced 
>> optimizations
>> * CLJS-2169: Error when compiling with :source-map and advanced 
>> optimizations
>> * CLJS-2037: Throw if overwriting alias in current namespace
>> * CLJS-2160: Add loaded? and prefetch functions to cljs.loader
>> * CLJS-2148: Add unsafe-get and use goog.object
>> * CLJS-2161: Bump Closure Compiler to June 2017 release
>>
>> ### Fixes
>> * CLJS-1854: Self-host: Reload ns with const
>> * CLJS-2278: JavaScript object literals are printed wth keys that cannot 
>> be read
>> * CLJS-2276: Self-host: Need test.check dep for CLJS-2275
>> * CLJS-2275: cljs.spec.alpha/fdef resolves eagerly
>> * CLJS-2259: Extra .cljs_node_repl directory containing cljs.core output
>> * CLJS-2274: Update CI script to install deps
>> * CLJS-2269: Warn on top level code split loads
>> * CLJS-2272: Tests that depended on default install deps behavior failing
>> * CLJS-2255: Clean up :npm-deps
>> * CLJS-2263: Docstring for neg-int? backwards
>> * CLJS-2262: Correct comment that *warn-on-infer* is file-scope
>> * CLJS-2258: Stack overflow regression for sequence xform applied to 
>> eduction
>> * CLJS-2256: Generated code doesn't add newl

Re: ANN: ClojureScript 1.9.854

2017-07-30 Thread Daniel
For someone who is new to clojurescript and pretty confused by 
clojurescript dependency management in general, does this release obsolete 
cljsjs for new projects and what is the new method?

On Friday, July 28, 2017 at 4:55:04 PM UTC-5, David Nolen wrote:
>
> ClojureScript, the Clojure compiler that emits JavaScript source code.
>
> README and source code: https://github.com/clojure/clojurescript
>
> Leiningen dependency information:
>
> [org.clojure/clojurescript "1.9.854"]
>
> This is a significant feature release. Notable new features include
> comprehensive NPM dependency support, overhauled code splitting,
> enhanced JavaScript module preprocessing, declared global exports for
> foreign libs, and checked array operations. There are also a large
> number of fixes, changes, and minor enhancementes. For more detailed
> descriptions of the major enhancements, please refer to the last month
> of posts https://clojurescript.org/news/news.
>
> As always, feedback welcome!
>
> ## 1.9.854
>
> ### Enhancements
> * CLJS-2280: Provide process.env :preload and auto-configure
> * CLJS-2279: Infer `:module-type ` for provided `node_modules`
> * CLJS-2250: Support :foreign-libs overrides via :provides
> * CLJS-2243: Self-host: Add support for :global-exports
> * CLJS-2232: Self-host: Add support for string-based requires
> * add *print-fn-bodies* knob, set to false
> * CLJS-2198: Safe array operations
> * CLJS-2217: Support `:rename` for JS modules
> * CLJS-2214: Support :global-exports for foreign libraries
> * CLJS-1428: Add a cljs.core/*command-line-args* var
> * CLJS-2061: Support ns :require for JS libs, allow strings along with 
> symbol
> * CLJS-2148: Add warnings for invalid use of aget and aset
> * CLJS-2143: Add support for symbol preprocess values
>
> ### Changes
> * CLJS-2273: Bump tools.reader to 1.0.3 and development dependencies
> * CLJS-2235: Allow passing extra maven opts to build scripts
> * CLJS-2267: Allow ^:const inlined vars to affect if emission
> * CLJS-2245: Add support for using a local `node_modules` installation 
> through a new `:node-modules` compiler flag
> * CLJS-2002: Don't throw when no *print-fn* is set
> * support Clojure primitive array type hints, core.async no longer
>   gives warnings
> * CLJS-2213: Node.js target should use node_modules index to emit platform 
> specific require
> * CLJS-2200: bump to tools.reader 1.0.2
> * CLJS-2135: require macro prints last result of loaded-libs
> * CLJS-2192: Add ChakraCore testing facilities
> * CLJS-1800: Defer to tools.reader for cljs.reader functionality
> * CLJS-2163: Clean up uses of aget / aset on objects
> * CLJS-2184: Add `ns-publics` and `ns-imports`
> * CLJS-2183: Assert arguments are quoted symbols in some core macros
> * CLJS-2182: Assert argument to resolve is a quoted symbol
> * CLJS-2186: Update docstrings for aget/aset to be consistent with Clojure
> * CLJS-2180: Allow compiling `:modules` with whitespace optimizations
> * CLJS-1822: Use `:file-min` when processing JS modules with advanced 
> optimizations
> * CLJS-2169: Error when compiling with :source-map and advanced 
> optimizations
> * CLJS-2037: Throw if overwriting alias in current namespace
> * CLJS-2160: Add loaded? and prefetch functions to cljs.loader
> * CLJS-2148: Add unsafe-get and use goog.object
> * CLJS-2161: Bump Closure Compiler to June 2017 release
>
> ### Fixes
> * CLJS-1854: Self-host: Reload ns with const
> * CLJS-2278: JavaScript object literals are printed wth keys that cannot 
> be read
> * CLJS-2276: Self-host: Need test.check dep for CLJS-2275
> * CLJS-2275: cljs.spec.alpha/fdef resolves eagerly
> * CLJS-2259: Extra .cljs_node_repl directory containing cljs.core output
> * CLJS-2274: Update CI script to install deps
> * CLJS-2269: Warn on top level code split loads
> * CLJS-2272: Tests that depended on default install deps behavior failing
> * CLJS-2255: Clean up :npm-deps
> * CLJS-2263: Docstring for neg-int? backwards
> * CLJS-2262: Correct comment that *warn-on-infer* is file-scope
> * CLJS-2258: Stack overflow regression for sequence xform applied to 
> eduction
> * CLJS-2256: Generated code doesn't add newline after sourceMappingURL 
> comment
> * CLJS-2254: Module Indexing: Provide relative paths for a package's main 
> module
> * CLJS-2248: Build API tests rely on Yarn
> * CLJS-2239: Self-host: Add `:target :nodejs` to the docstrings in cljs.js
> * CLJS-2251: Follow-up fix to CLJS-2249 and related commit
> * CLJS-2249: Provide a test for d4b871cce73
> * CLJS-2246: Revert CLJS-2245 and CLJS-2240 and fix `lein test`
> * CLJS-2244: Orphaned processed JS modules breaks :modules
> * CLJS-2242: Lots of undeclared Var warns in cljs.spec.gen.alpha
> * CLJS-2241: Multiple requires of Node.js modules in non :nodejs target 
> are not idempotent at the REPL
> * CLJS-2229: Ensure that new modules work works correctly with REPLs
> * CLJS-2238: Perf regression with node module indexing
> * CLJS-2240: don't shell out to module_deps.js if `:npm-deps` n

Re: ANN: ClojureScript 1.9.854

2017-07-30 Thread Leon Grapenthin
Amazing release, trying it out right now.

Just wanted to see if including this 
works: https://github.com/coopermaruyama/react-web3

I try to :require it via [react-web3 :as w3]

Unfortunately this gives me a not-found error. Also I noticed that CLJS 
indeed downloaded react-web3 to "node_modules", but the folder is missing 
from the node_modules folder in the compilers output.

Am I requiring it wrong, or is it not supported for some reason?

Kind regards,
 Leon.

On Friday, July 28, 2017 at 11:54:42 PM UTC+2, David Nolen wrote:
>
> ClojureScript, the Clojure compiler that emits JavaScript source code.
>
> README and source code: https://github.com/clojure/clojurescript
>
> Leiningen dependency information:
>
> [org.clojure/clojurescript "1.9.854"]
>
> This is a significant feature release. Notable new features include
> comprehensive NPM dependency support, overhauled code splitting,
> enhanced JavaScript module preprocessing, declared global exports for
> foreign libs, and checked array operations. There are also a large
> number of fixes, changes, and minor enhancementes. For more detailed
> descriptions of the major enhancements, please refer to the last month
> of posts https://clojurescript.org/news/news.
>
> As always, feedback welcome!
>
> ## 1.9.854
>
> ### Enhancements
> * CLJS-2280: Provide process.env :preload and auto-configure
> * CLJS-2279: Infer `:module-type ` for provided `node_modules`
> * CLJS-2250: Support :foreign-libs overrides via :provides
> * CLJS-2243: Self-host: Add support for :global-exports
> * CLJS-2232: Self-host: Add support for string-based requires
> * add *print-fn-bodies* knob, set to false
> * CLJS-2198: Safe array operations
> * CLJS-2217: Support `:rename` for JS modules
> * CLJS-2214: Support :global-exports for foreign libraries
> * CLJS-1428: Add a cljs.core/*command-line-args* var
> * CLJS-2061: Support ns :require for JS libs, allow strings along with 
> symbol
> * CLJS-2148: Add warnings for invalid use of aget and aset
> * CLJS-2143: Add support for symbol preprocess values
>
> ### Changes
> * CLJS-2273: Bump tools.reader to 1.0.3 and development dependencies
> * CLJS-2235: Allow passing extra maven opts to build scripts
> * CLJS-2267: Allow ^:const inlined vars to affect if emission
> * CLJS-2245: Add support for using a local `node_modules` installation 
> through a new `:node-modules` compiler flag
> * CLJS-2002: Don't throw when no *print-fn* is set
> * support Clojure primitive array type hints, core.async no longer
>   gives warnings
> * CLJS-2213: Node.js target should use node_modules index to emit platform 
> specific require
> * CLJS-2200: bump to tools.reader 1.0.2
> * CLJS-2135: require macro prints last result of loaded-libs
> * CLJS-2192: Add ChakraCore testing facilities
> * CLJS-1800: Defer to tools.reader for cljs.reader functionality
> * CLJS-2163: Clean up uses of aget / aset on objects
> * CLJS-2184: Add `ns-publics` and `ns-imports`
> * CLJS-2183: Assert arguments are quoted symbols in some core macros
> * CLJS-2182: Assert argument to resolve is a quoted symbol
> * CLJS-2186: Update docstrings for aget/aset to be consistent with Clojure
> * CLJS-2180: Allow compiling `:modules` with whitespace optimizations
> * CLJS-1822: Use `:file-min` when processing JS modules with advanced 
> optimizations
> * CLJS-2169: Error when compiling with :source-map and advanced 
> optimizations
> * CLJS-2037: Throw if overwriting alias in current namespace
> * CLJS-2160: Add loaded? and prefetch functions to cljs.loader
> * CLJS-2148: Add unsafe-get and use goog.object
> * CLJS-2161: Bump Closure Compiler to June 2017 release
>
> ### Fixes
> * CLJS-1854: Self-host: Reload ns with const
> * CLJS-2278: JavaScript object literals are printed wth keys that cannot 
> be read
> * CLJS-2276: Self-host: Need test.check dep for CLJS-2275
> * CLJS-2275: cljs.spec.alpha/fdef resolves eagerly
> * CLJS-2259: Extra .cljs_node_repl directory containing cljs.core output
> * CLJS-2274: Update CI script to install deps
> * CLJS-2269: Warn on top level code split loads
> * CLJS-2272: Tests that depended on default install deps behavior failing
> * CLJS-2255: Clean up :npm-deps
> * CLJS-2263: Docstring for neg-int? backwards
> * CLJS-2262: Correct comment that *warn-on-infer* is file-scope
> * CLJS-2258: Stack overflow regression for sequence xform applied to 
> eduction
> * CLJS-2256: Generated code doesn't add newline after sourceMappingURL 
> comment
> * CLJS-2254: Module Indexing: Provide relative paths for a package's main 
> module
> * CLJS-2248: Build API tests rely on Yarn
> * CLJS-2239: Self-host: Add `:target :nodejs` to the docstrings in cljs.js
> * CLJS-2251: Follow-up fix to CLJS-2249 and related commit
> * CLJS-2249: Provide a test for d4b871cce73
> * CLJS-2246: Revert CLJS-2245 and CLJS-2240 and fix `lein test`
> * CLJS-2244: Orphaned processed JS modules breaks :modules
> * CLJS-2242: Lots of undeclared Var warns in cljs.spec.gen.alpha
> * CLJS-2241: Multipl

Re: ANN: ClojureScript 1.9.854

2017-07-28 Thread Rangel Spasov
Works for me on iOS JavaScriptCore 👍 (RN 0.45). 

Thanks David and all ClojureScript contributors!

Rangel

P.S. The only issue with a library that I saw was 
with 
https://github.com/tailrecursion/cljs-priority-map/blob/master/src/cljs/tailrecursion/priority_map.cljs#L4


*Invalid :refer, var cljs.reader/reader-error does not exist *

I assume this is on the library side to fix with the latest ClojureScript 
update but just FYI if anyone runs into it.

On Friday, July 28, 2017 at 2:55:04 PM UTC-7, David Nolen wrote:
>
> ClojureScript, the Clojure compiler that emits JavaScript source code.
>
> README and source code: https://github.com/clojure/clojurescript
>
> Leiningen dependency information:
>
> [org.clojure/clojurescript "1.9.854"]
>
> This is a significant feature release. Notable new features include
> comprehensive NPM dependency support, overhauled code splitting,
> enhanced JavaScript module preprocessing, declared global exports for
> foreign libs, and checked array operations. There are also a large
> number of fixes, changes, and minor enhancementes. For more detailed
> descriptions of the major enhancements, please refer to the last month
> of posts https://clojurescript.org/news/news.
>
> As always, feedback welcome!
>
> ## 1.9.854
>
> ### Enhancements
> * CLJS-2280: Provide process.env :preload and auto-configure
> * CLJS-2279: Infer `:module-type ` for provided `node_modules`
> * CLJS-2250: Support :foreign-libs overrides via :provides
> * CLJS-2243: Self-host: Add support for :global-exports
> * CLJS-2232: Self-host: Add support for string-based requires
> * add *print-fn-bodies* knob, set to false
> * CLJS-2198: Safe array operations
> * CLJS-2217: Support `:rename` for JS modules
> * CLJS-2214: Support :global-exports for foreign libraries
> * CLJS-1428: Add a cljs.core/*command-line-args* var
> * CLJS-2061: Support ns :require for JS libs, allow strings along with 
> symbol
> * CLJS-2148: Add warnings for invalid use of aget and aset
> * CLJS-2143: Add support for symbol preprocess values
>
> ### Changes
> * CLJS-2273: Bump tools.reader to 1.0.3 and development dependencies
> * CLJS-2235: Allow passing extra maven opts to build scripts
> * CLJS-2267: Allow ^:const inlined vars to affect if emission
> * CLJS-2245: Add support for using a local `node_modules` installation 
> through a new `:node-modules` compiler flag
> * CLJS-2002: Don't throw when no *print-fn* is set
> * support Clojure primitive array type hints, core.async no longer
>   gives warnings
> * CLJS-2213: Node.js target should use node_modules index to emit platform 
> specific require
> * CLJS-2200: bump to tools.reader 1.0.2
> * CLJS-2135: require macro prints last result of loaded-libs
> * CLJS-2192: Add ChakraCore testing facilities
> * CLJS-1800: Defer to tools.reader for cljs.reader functionality
> * CLJS-2163: Clean up uses of aget / aset on objects
> * CLJS-2184: Add `ns-publics` and `ns-imports`
> * CLJS-2183: Assert arguments are quoted symbols in some core macros
> * CLJS-2182: Assert argument to resolve is a quoted symbol
> * CLJS-2186: Update docstrings for aget/aset to be consistent with Clojure
> * CLJS-2180: Allow compiling `:modules` with whitespace optimizations
> * CLJS-1822: Use `:file-min` when processing JS modules with advanced 
> optimizations
> * CLJS-2169: Error when compiling with :source-map and advanced 
> optimizations
> * CLJS-2037: Throw if overwriting alias in current namespace
> * CLJS-2160: Add loaded? and prefetch functions to cljs.loader
> * CLJS-2148: Add unsafe-get and use goog.object
> * CLJS-2161: Bump Closure Compiler to June 2017 release
>
> ### Fixes
> * CLJS-1854: Self-host: Reload ns with const
> * CLJS-2278: JavaScript object literals are printed wth keys that cannot 
> be read
> * CLJS-2276: Self-host: Need test.check dep for CLJS-2275
> * CLJS-2275: cljs.spec.alpha/fdef resolves eagerly
> * CLJS-2259: Extra .cljs_node_repl directory containing cljs.core output
> * CLJS-2274: Update CI script to install deps
> * CLJS-2269: Warn on top level code split loads
> * CLJS-2272: Tests that depended on default install deps behavior failing
> * CLJS-2255: Clean up :npm-deps
> * CLJS-2263: Docstring for neg-int? backwards
> * CLJS-2262: Correct comment that *warn-on-infer* is file-scope
> * CLJS-2258: Stack overflow regression for sequence xform applied to 
> eduction
> * CLJS-2256: Generated code doesn't add newline after sourceMappingURL 
> comment
> * CLJS-2254: Module Indexing: Provide relative paths for a package's main 
> module
> * CLJS-2248: Build API tests rely on Yarn
> * CLJS-2239: Self-host: Add `:target :nodejs` to the docstrings in cljs.js
> * CLJS-2251: Follow-up fix to CLJS-2249 and related commit
> * CLJS-2249: Provide a test for d4b871cce73
> * CLJS-2246: Revert CLJS-2245 and CLJS-2240 and fix `lein test`
> * CLJS-2244: Orphaned processed JS modules breaks :modules
> * CLJS-2242: Lots of undeclared Var warns in cljs.spec.gen.alpha
> * CLJS-2241: Multiple requires of 

Re: ANN: ClojureScript 1.9.660, compiler performance, runtime performance, cljs.spec fixes

2017-06-27 Thread Alex Miller
Woohoo! Congrats.

On Tuesday, June 27, 2017 at 10:35:29 AM UTC-5, David Nolen wrote:
>
> ClojureScript, the Clojure compiler that emits JavaScript source code.
>
> README and source code: https://github.com/clojure/clojurescript
>
> Leiningen dependency information:
>
> [org.clojure/clojurescript "1.9.660"]
>
> This release includes many performance enhancements to the
> ClojureScript compiler as well as ClojureScript runtime code. In
> addition, the release contains fixes to cljs.spec so that it works
> correctly under incremental compilation.
>
> For more information please refer to the new post here kindly
> contributed by Mike Fikes:
>
> https://clojurescript.org/news/2017-06-27-faster-compilation-runtime-and-spec-caching-fixes
>
> Thanks to all that contributed, and as always, feedback welcome!
>
> ## 1.9.660
>
> ### Enhancements
> * CLJS-2108: faster set equivalence
> * CLJS-2099: Optimize apply by avoiding .apply
> * CLJS-2046: Optimize expression in call position
> * CLJS-1876: Faster reduce for PV, Subvec and ChunkedSeq
> * CLJS-2080: Faster equiv-map
> * CLJS-2066: Avoid analyzing named fn literal bodies twice
> * CLJS-2065: Improve analyzer munge performance
>
> ### Changes
> * CLJS-2134: Warn on variadic signatures in protocol method implementation
> * CLJS-2130: Self-host: Add `:fn-invoke-direct` to public API docstrings
> * CLJS-2112: Iterator based reduce path
> * CLJS-2100: to-array calls seq too often
> * CLJS-2041: Compiler flag to drop Function.prototype.call invokes
> * CLJS-2093: inline ^:const var values
> * CLJS-2042: Variadic invoke calls array_seq inefficiently
> * CLJS-2003 remove redundant calls to `str` in munge/demunge
> * CLJS-1907: Improve error message from cljs.reader/read-string
> * CLJS-1724: Include IIterable in fast-path-protocols
> * CLJS-924: Better error message for mistaken use of 'def'
> * CLJS-1599: UUIDs are not equal for upper/lower case strings
> * NodeJS REPL accepts a :path opt to set NODE_PATH
> * CLJS-1886: RangedIterator should only be created from 
> cljs.core.PersistentVector instances
> * CLJS-2068: MapEntry, RedNode and BlackNode are IComparable
> * CLJS-2073: Don't flush for every emitted line
> * CLJS-2089: Warn message wrong for recur to protocol with nil
> * CLJS-2085: defrecord recur method head target object
> * CLJS-1977: defrecord should use murmur hashing like Clojure
> * CLJS-2076: modules should support wildcard namespaces
> * CLJS-2078: add resolve macro
>
> ### Fixes
> * CLJS-2133: Invalid variadic IFn implementations now fail
> * CLJS-2128: Fix regression in CLJS-1886
> * CLJS-2126: Add new compiler option :fn-invoke-direct to build-affecting 
> options
> * CLJS-2054: Private core names still result in "already declared" warnings
> * CLJS-2125: Duplicate HOF invoke warnings if :static-fns true
> * CLJS-2119: s/form for s/& is qualified with `clojure.spec.alpha`
> * CLJS-2121: Self-host: Document string as valid name arg
> * CLJS-2124: Self-host: Tests failing wth Could not find tag parser for 
> :cljs.spec.alpha
> * CLJS-2122: Self-host: Non-symbol ns names dumped into env
> * CLJS-2117: Self-host: Port CLJS-1989 to self-hosted
> * CLJS-1989: s/fdef expansion side effect fails when load cached source
> * CLJS-2116: Need to handle un-namespaced symbol when evaluating `foo.core
> * CLJS-2109: incorrect syntax-quote symbol resolution (resolve-symbol 
> 'clojure.core) -> 'clojure/core
> * CLJS-2113: nth function produces different results from clojure when 
> using a negative index on a sequence
> * CLJS-2115: Pass not-found in the native-satisfies? branch of nth
> * CLJS-2111: Transit analysis caching broken for JSValue or regex
> * CLJS-2101: Undeclared var in do chain of defs
> * CLJS-2104: Const-replaced exprs do not emit js "return"
> * CLJS-1992: declare after def should have no effect
> * CLJS-1251: Missing semicolons when emitting deftype and defrecord 
> mistaken use of 'def'
> * CLJS-1685: Incorrectly lazy subvec when start param is nil
> * CLJS-1641: Multi-arity defn copies arguments unnecessarily for all cases
> * CLJS-2092: Redundant call to equiv-map in PAM.-equiv
> * Check for compilation success, and lib folder
> * CLJS-2030: Case with grouped keyword test emit result-expr multiple times
> * CLJS-2094: Predicates unit tests constructs a uuid with nil
> * CLJS-1891: UUID.toString can return non-string
> * CLJS-2072: Eliminate reflection in cljs.js-deps/build-index
> * CLJS-2012: Find on PHM with nil entry always returns nil entry
> * CLJS-2057: fix language-in options (es6 deprecated and add missing 
> es2016)
> * CLJS-2060: Backport CLJ-2141 Return only true/false from qualified-* 
> predicates
> * CLJS-2091: reify docstring ISeqable example needs correction
> * CLJS-2088: fix caching collision between macros ns and regular ns in 
> boostrap
> * CLJS-2036: Relative path exception thrown when :preloads requires a 
> :foreign-lib
> * CLJS-2083: Test equiv-map for maps which do not impl IKVReduce
> * CLJS-2081: Self-host: Regres

Re: [ClojureScript] Re: ANN: ClojureScript 1.9.542, spec changes & REPL enhancement

2017-05-15 Thread David Nolen
That runtime error doesn't necessarily seem related to the compile time
warning. Would need more information.

On Mon, May 15, 2017 at 10:16 AM, Tatu Tarvainen 
wrote:

>
> My phantom test run crashes with:
> TypeError: undefined is not an object (evaluating 'schema.core.MapEntry.
> prototype')
>
> I'm assuming that is related to this change, but I'll need to investigate
> more. There's already a merged PR for schema that excludes MapEntry in
> refer-clojure. I'm hoping that will fix this.
>
>
> maanantai 15. toukokuuta 2017 14.32.55 UTC+3 David Nolen kirjoitti:
>>
>> That's just a warning. Is there some deeper breakage that you are
>> observing?
>>
>> David
>>
>> On Sun, May 14, 2017 at 3:09 AM, Tatu Tarvainen 
>> wrote:
>>
>>>
>>> > * CLJS-2013 - Add MapEntry type
>>>
>>> This change seems to break plumatic schema, after upgrading I'm getting
>>> warnings:
>>>
>>> WARNING: ->MapEntry already refers to: cljs.core/->MapEntry being
>>> replaced by: schema.core/->MapEntry at ... schema/core.cljs
>>>
>>> Plumatic also defines a MapEntry record type which clashes with the core
>>> one.
>>>
>>> --
>>> 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 https://groups.google.com/group/clojurescript.
>>>
>>
>> --
> 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.
>

-- 
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.


Re: [ClojureScript] Re: ANN: ClojureScript 1.9.542, spec changes & REPL enhancement

2017-05-15 Thread Tatu Tarvainen

My phantom test run crashes with:
TypeError: undefined is not an object (evaluating 
'schema.core.MapEntry.prototype')

I'm assuming that is related to this change, but I'll need to investigate 
more. There's already a merged PR for schema that excludes MapEntry in 
refer-clojure. I'm hoping that will fix this.


maanantai 15. toukokuuta 2017 14.32.55 UTC+3 David Nolen kirjoitti:
>
> That's just a warning. Is there some deeper breakage that you are 
> observing?
>
> David
>
> On Sun, May 14, 2017 at 3:09 AM, Tatu Tarvainen  > wrote:
>
>>
>> > * CLJS-2013 - Add MapEntry type
>>
>> This change seems to break plumatic schema, after upgrading I'm getting 
>> warnings:
>>
>> WARNING: ->MapEntry already refers to: cljs.core/->MapEntry being 
>> replaced by: schema.core/->MapEntry at ... schema/core.cljs
>>
>> Plumatic also defines a MapEntry record type which clashes with the core 
>> one.
>>
>> --
>> 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 https://groups.google.com/group/clojurescript.
>>
>
>

-- 
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.


Re: [ClojureScript] Re: ANN: ClojureScript 1.9.542, spec changes & REPL enhancement

2017-05-15 Thread David Nolen
That's just a warning. Is there some deeper breakage that you are observing?

David

On Sun, May 14, 2017 at 3:09 AM, Tatu Tarvainen  wrote:

>
> > * CLJS-2013 - Add MapEntry type
>
> This change seems to break plumatic schema, after upgrading I'm getting
> warnings:
>
> WARNING: ->MapEntry already refers to: cljs.core/->MapEntry being replaced
> by: schema.core/->MapEntry at ... schema/core.cljs
>
> Plumatic also defines a MapEntry record type which clashes with the core
> one.
>
> --
> 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 clojurescript+unsubscr...@googlegroups.com.
> To post to this group, send email to clojurescr...@googlegroups.com.
> Visit this group at https://groups.google.com/group/clojurescript.
>

-- 
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.


Re: ANN: ClojureScript 1.9.542, spec changes & REPL enhancement

2017-05-14 Thread Tatu Tarvainen

> * CLJS-2013 - Add MapEntry type

This change seems to break plumatic schema, after upgrading I'm getting 
warnings:

WARNING: ->MapEntry already refers to: cljs.core/->MapEntry being replaced by: 
schema.core/->MapEntry at ... schema/core.cljs

Plumatic also defines a MapEntry record type which clashes with the core one.

-- 
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.


Re: ANN: ClojureScript 1.9.518, `async` issue resolved

2017-04-14 Thread David Nolen
I just cut 1.9.521. The only change was to fix a regression to
:foreign-libs when there are multiple entries which use the same :file.

David

On Wed, Apr 12, 2017 at 4:52 PM, David Nolen  wrote:

> ClojureScript, the Clojure compiler that emits JavaScript source code.
>
> README and source code: https://github.com/clojure/clojurescript
>
> Leiningen dependency information:
>
> [org.clojure/clojurescript "1.9.518"]
>
> This release bumps Closure Compiler, finally resolving the issue with
> core.async.
>
> As always feedback welcome!
>
> ## 1.9.518
>
> ### Enhancements
> * CLJS-1973: Add support for `:npm-deps` in upstream `deps.cljs`
> * CLJS-1968: Enable calling JS modules that export a single function
> * CLJS-1960: Require CommonJS modules directly from a ClojureScript
> namespace
>
> ### Changes
> * CLJS-2006: Upgrade Closure Compiler to April 2017 release
>
> ### Fixes
> * CLJS-1497: `find` on an associative collection does not return
> collection key
> * CLJS-1996: Support correct checking of :preloads when :optimizations not
> specified
> * CLJS-1994: assoc on nil returns PHM (expected PAM)
> * CLJS-1988: add :npm-deps to recognized compiler options
> * Fix tiny bug in index-node-modules when no second argument is given
> * CLJS-1985: `index-node-modules` should pass opts to `node-inputs`
> * CLJS-1987: don't index node modules blindly
> * CLJS-1519 Collection invoke errors report arity off by 1
> * CLJS-1964: Validate that `:target :nodejs` and no optimizations requires
> a `:main` option to be present
> * CLJS-1956: Add missing JS reserved keywords
> * CLJS-1983: res -> mres in spec.cljs
> * CLJS-1978: port CLJ-2035
> * CLJS-1979: port CLJ-2043 (fix s/form of s/conformer)
> * CLJS-1980: port CLJ-2100 (s/nilable form should retain original spec
> form)
> * CLJS-1976: hash-map assoc stackoverflow
> * CLJS-1957: Process JS modules errors and warnings don't get printed
> * CLJS-1868 - Output simpler dependency rel paths when compiling with
> Closure libs
> * CLJS-1967: Missing ^boolean for removed-leaf? in THM impl
>
>

-- 
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.


Re: ANN: ClojureScript 1.9.456, Externs Inference & Comprehensive JS Modules Support

2017-03-09 Thread David Nolen
This is correct.

On Thu, Mar 9, 2017 at 2:36 AM, Colin Fleming 
wrote:

> I believe that dependency is because Google Closure requires it.
>
> On 9 March 2017 at 16:45, Mike Rodriguez  wrote:
>
>> Guava is often a dependency conflict when trying to put libs together
>> that use it. I'm surprised cljs has dependencies like this. I'd think a
>> language would try to avoid having any deps at all or repackage them or
>> something. For example, Clojure only has ASM.
>>
>> --
>> 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.
>>
>
> --
> 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.
>

-- 
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.


Re: ANN: ClojureScript 1.9.456, Externs Inference & Comprehensive JS Modules Support

2017-03-08 Thread Colin Fleming
I believe that dependency is because Google Closure requires it.

On 9 March 2017 at 16:45, Mike Rodriguez  wrote:

> Guava is often a dependency conflict when trying to put libs together that
> use it. I'm surprised cljs has dependencies like this. I'd think a language
> would try to avoid having any deps at all or repackage them or something.
> For example, Clojure only has ASM.
>
> --
> 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.
>

-- 
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.


Re: ANN: ClojureScript 1.9.456, Externs Inference & Comprehensive JS Modules Support

2017-03-08 Thread Mike Rodriguez
Guava is often a dependency conflict when trying to put libs together that use 
it. I'm surprised cljs has dependencies like this. I'd think a language would 
try to avoid having any deps at all or repackage them or something. For 
example, Clojure only has ASM. 

-- 
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.


Re: ANN: ClojureScript 1.9.456, Externs Inference & Comprehensive JS Modules Support

2017-03-07 Thread Paul Gowder
Yeah, this is a recurrent problem---as far as I can determine, several database 
libraries (at least) have a dependency a layer or two down on an old version of 
guava; the latest closure compiler seems to be depending on the most recent 
guava. See eg this issue (which ai've been meaning to pr...) 
https://github.com/clojurewerkz/support/issues/4

-- 
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.


Re: ANN: ClojureScript 1.9.456, Externs Inference & Comprehensive JS Modules Support

2017-03-07 Thread Varga Radu
Also solved my problem by adding [com.google.guava/guava "21.0"] to my 
project.clj

On Thursday, 2 March 2017 13:45:29 UTC+1, Dirk Bergmann wrote:
>
> Had the same issue. Fixed it by upgrading guava dependency to 
> [com.google.guava/guava "21.0"]
>
> On Sunday, January 29, 2017 at 3:01:16 AM UTC+7, Francesco Bellomi wrote:
>>
>> Found, thanks! 
>>
>> Francesco
>
>

-- 
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.


Re: ANN: ClojureScript 1.9.456, Externs Inference & Comprehensive JS Modules Support

2017-03-02 Thread Dirk Bergmann
Had the same issue. Fixed it by upgrading guava dependency to 
[com.google.guava/guava "21.0"]

On Sunday, January 29, 2017 at 3:01:16 AM UTC+7, Francesco Bellomi wrote:
>
> Found, thanks! 
>
> Francesco

-- 
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.


Re: ANN: ClojureScript 1.9.493, another bugfix release

2017-02-26 Thread Rangel Spasov
I did some digging/manual shrinking. 

It seems that any core.async code with the latest version of ClojureScript does 
not compile under :advanced. I suspect the problem lies with the bump of Google 
Closure dependency and/or core.async.

I made a repo showing a minimal case:

https://github.com/raspasov/cljs-1.9.494-core-async-broken

On Friday, February 24, 2017 at 8:51:10 PM UTC-8, Rangel Spasov wrote:
> Forgot to add: this is my :compiler settings map. 
> 
> {:output-to  "index.ios.js"
>  :main   "env.ios.main"
>  :output-dir "target/ios"
>  :static-fns true
>  :optimize-constants true
>  :parallel-build true
>  ;:pretty-print   true
>  ;:pseudo-names   true
>  :source-map "cljs-source-map.js"
>  :optimizations  :advanced
>  :externs["externs/externs.js"]
>  :closure-defines{"goog.DEBUG" false}}
> 
> On Friday, February 24, 2017 at 8:46:03 PM UTC-8, Rangel Spasov wrote:
> > Hey guys,
> > 
> > I'm getting this error. It seems that it's happening inside the transpiled 
> > core.async sources. The error carrot at line 1444 points at the semicolon, 
> > pretty strange.
> > 
> > 
> > Feb 24, 2017 8:38:19 PM com.google.javascript.jscomp.LoggerErrorManager 
> > println
> > SEVERE: 
> > /Users/raspasov/projects/project123/target/ios/cljs/core/async.js:1444: 
> > ERROR - Parse error. No newline allowed before '=>'
> > var inst_33727 = async(inst_33726); (^ points at the semicolon)
> > 
> > 
> > Feb 24, 2017 8:38:19 PM com.google.javascript.jscomp.LoggerErrorManager 
> > printSummary
> > WARNING: 1 error(s), 4 warning(s)
> > ERROR: JSC_PARSE_ERROR. Parse error. No newline allowed before '=>' at 
> > /Users/raspasov/projects/project123/target/ios/cljs/core/async.js line 1444 
> > : 34
> > 
> > I tried both :parallel-build true/false but it doesn't make a difference. 
> > It works fine on [org.clojure/clojurescript "1.9.473"]
> > 
> > 
> > Here's how the async.js source looks like around line 1444.
> > 
> > return cljs.core.cst$kw$recur;
> > } else {
> > if((state_val_33738 === (2))){
> > var state_33737__$1 = state_33737;
> > return 
> > cljs.core.async.impl.ioc_helpers.take_BANG_(state_33737__$1,(4),jobs);
> > } else {
> > if((state_val_33738 === (3))){
> > var inst_33735 = (state_33737[(2)]);
> > var state_33737__$1 = state_33737;
> > return 
> > cljs.core.async.impl.ioc_helpers.return_chan(state_33737__$1,inst_33735);
> > } else {
> > if((state_val_33738 === (4))){
> > var inst_33726 = (state_33737[(2)]);
> > var inst_33727 = async(inst_33726);  This is the error line 
> > number 1444
> > var state_33737__$1 = state_33737;
> > if(cljs.core.truth_(inst_33727)){
> > var statearr_33743_33989 = state_33737__$1;
> > (statearr_33743_33989[(1)] = (5));
> > 
> > } else {
> > var statearr_33744_33990 = state_33737__$1;
> > (statearr_33744_33990[(1)] = (6));
> > 
> > }
> > 
> > return cljs.core.cst$kw$recur;
> > } else {
> > if((state_val_33738 === (5))){
> > var state_33737__$1 = state_33737;
> > var statearr_33745_33992 = state_33737__$1;
> > (statearr_33745_33992[(2)] = null);
> > 
> > (statearr_33745_33992[(1)] = (2));
> > 
> > 
> > return cljs.core.cst$kw$recur;
> > } else {
> > if((state_val_33738 === (6))){
> > var state_33737__$1 = state_33737;
> > var statearr_33746_33993 = state_33737__$1;
> > (statearr_33746_33993[(2)] = null);
> > 
> > (statearr_33746_33993[(1)] = (7));
> > 
> > 
> > return cljs.core.cst$kw$recur;
> > } else {
> > if((state_val_33738 === (7))){
> > var inst_33733 = (state_33737[(2)]);
> > var state_33737__$1 = state_33737;
> > var statearr_33747_33994 = state_33737__$1;
> > (statearr_33747_33994[(2)] = inst_33733);
> > 
> > (statearr_33747_33994[(1)] = (3));
> > 
> > 
> > return cljs.core.cst$kw$recur;
> > } else {
> > return null;
> > }
> > }
> > }
> > }
> > }
> > }
> > }
> > 
> > 
> > On Friday, February 24, 2017 at 4:21:35 PM UTC-8, David Nolen wrote:
> > > Just cut 1.9.494 to back out some macros that were made unintentionally 
> > > private.
> > > 
> > > 
> > > On Fri, Feb 24, 2017 at 4:47 PM, David Nolen  wrote:
> > > 
> > > 
> > > ClojureScript, the Clojure compiler that emits JavaScript source code.
> > > 
> > > 
> > > README and source code: https://github.com/clojure/clojurescript
> > > 
> > > 
> > > Leiningen dependency information:
> > > 
> > > 
> > > [org.clojure/clojurescript "1.9.493"]
> > > 
> > > 
> > > This is a bugfix release.
> > > 
> > > 
> > > As always, feedback welcome!
> > > 
> > > 
> > > ### Fixes
> > > * CLJS-1948: Possible race condition in compiler w/ parallel-build true
> > > * CLJS-1941: `cljs.compiler/cljs-files-in` shouldn't return `.cljc` files 
> > > if a `.cljs` file exists for the namespace
> > > * CLJS-1940: Undeclared var warning when invoking a protocol method on a 
> > > `js` interop form
> > > * CLJS-1951: Missing 0 and 1 arity versions of interleave
> > > * CLJS-1952: Bump Closure Compiler to Feb 2017 release
> > > * CLJS-1937

Re: ANN: ClojureScript 1.9.493, another bugfix release

2017-02-24 Thread Rangel Spasov
Forgot to add: this is my :compiler settings map. 

{:output-to  "index.ios.js"
 :main   "env.ios.main"
 :output-dir "target/ios"
 :static-fns true
 :optimize-constants true
 :parallel-build true
 ;:pretty-print   true
 ;:pseudo-names   true
 :source-map "cljs-source-map.js"
 :optimizations  :advanced
 :externs["externs/externs.js"]
 :closure-defines{"goog.DEBUG" false}}

On Friday, February 24, 2017 at 8:46:03 PM UTC-8, Rangel Spasov wrote:
> Hey guys,
> 
> I'm getting this error. It seems that it's happening inside the transpiled 
> core.async sources. The error carrot at line 1444 points at the semicolon, 
> pretty strange.
> 
> 
> Feb 24, 2017 8:38:19 PM com.google.javascript.jscomp.LoggerErrorManager 
> println
> SEVERE: 
> /Users/raspasov/projects/project123/target/ios/cljs/core/async.js:1444: ERROR 
> - Parse error. No newline allowed before '=>'
> var inst_33727 = async(inst_33726); (^ points at the semicolon)
> 
> 
> Feb 24, 2017 8:38:19 PM com.google.javascript.jscomp.LoggerErrorManager 
> printSummary
> WARNING: 1 error(s), 4 warning(s)
> ERROR: JSC_PARSE_ERROR. Parse error. No newline allowed before '=>' at 
> /Users/raspasov/projects/project123/target/ios/cljs/core/async.js line 1444 : 
> 34
> 
> I tried both :parallel-build true/false but it doesn't make a difference. It 
> works fine on [org.clojure/clojurescript "1.9.473"]
> 
> 
> Here's how the async.js source looks like around line 1444.
> 
> return cljs.core.cst$kw$recur;
> } else {
> if((state_val_33738 === (2))){
> var state_33737__$1 = state_33737;
> return cljs.core.async.impl.ioc_helpers.take_BANG_(state_33737__$1,(4),jobs);
> } else {
> if((state_val_33738 === (3))){
> var inst_33735 = (state_33737[(2)]);
> var state_33737__$1 = state_33737;
> return 
> cljs.core.async.impl.ioc_helpers.return_chan(state_33737__$1,inst_33735);
> } else {
> if((state_val_33738 === (4))){
> var inst_33726 = (state_33737[(2)]);
> var inst_33727 = async(inst_33726);  This is the error line 
> number 1444
> var state_33737__$1 = state_33737;
> if(cljs.core.truth_(inst_33727)){
> var statearr_33743_33989 = state_33737__$1;
> (statearr_33743_33989[(1)] = (5));
> 
> } else {
> var statearr_33744_33990 = state_33737__$1;
> (statearr_33744_33990[(1)] = (6));
> 
> }
> 
> return cljs.core.cst$kw$recur;
> } else {
> if((state_val_33738 === (5))){
> var state_33737__$1 = state_33737;
> var statearr_33745_33992 = state_33737__$1;
> (statearr_33745_33992[(2)] = null);
> 
> (statearr_33745_33992[(1)] = (2));
> 
> 
> return cljs.core.cst$kw$recur;
> } else {
> if((state_val_33738 === (6))){
> var state_33737__$1 = state_33737;
> var statearr_33746_33993 = state_33737__$1;
> (statearr_33746_33993[(2)] = null);
> 
> (statearr_33746_33993[(1)] = (7));
> 
> 
> return cljs.core.cst$kw$recur;
> } else {
> if((state_val_33738 === (7))){
> var inst_33733 = (state_33737[(2)]);
> var state_33737__$1 = state_33737;
> var statearr_33747_33994 = state_33737__$1;
> (statearr_33747_33994[(2)] = inst_33733);
> 
> (statearr_33747_33994[(1)] = (3));
> 
> 
> return cljs.core.cst$kw$recur;
> } else {
> return null;
> }
> }
> }
> }
> }
> }
> }
> 
> 
> On Friday, February 24, 2017 at 4:21:35 PM UTC-8, David Nolen wrote:
> > Just cut 1.9.494 to back out some macros that were made unintentionally 
> > private.
> > 
> > 
> > On Fri, Feb 24, 2017 at 4:47 PM, David Nolen  wrote:
> > 
> > 
> > ClojureScript, the Clojure compiler that emits JavaScript source code.
> > 
> > 
> > README and source code: https://github.com/clojure/clojurescript
> > 
> > 
> > Leiningen dependency information:
> > 
> > 
> > [org.clojure/clojurescript "1.9.493"]
> > 
> > 
> > This is a bugfix release.
> > 
> > 
> > As always, feedback welcome!
> > 
> > 
> > ### Fixes
> > * CLJS-1948: Possible race condition in compiler w/ parallel-build true
> > * CLJS-1941: `cljs.compiler/cljs-files-in` shouldn't return `.cljc` files 
> > if a `.cljs` file exists for the namespace
> > * CLJS-1940: Undeclared var warning when invoking a protocol method on a 
> > `js` interop form
> > * CLJS-1951: Missing 0 and 1 arity versions of interleave
> > * CLJS-1952: Bump Closure Compiler to Feb 2017 release
> > * CLJS-1937: Self-host: undeclared cljs.core$macros/mod when compiling 
> > cljs/core.cljs
> > * CLJS-1936: cljs.analyzer declares vars which are only used in Clojure
> > * CLJS-1949: Self-host: cljs.compiler/munge doesn't preserve JVM compiler 
> > semantics
> > * CLJS-1950: Eliminate instances of #^
> > * CLJS-1943: Self-host: `cljs.pprint`'s macros can't be compiled
> > * CLJS-1945: cljs.spec/every-impl kind-fn kind-form dead code
> > * CLJS-1944: Can't spec generate non-vector collections
> > * CLJS-1946: Self-hosted: don't emit `goog.require` calls for foreign libs 
> > if optimizations different than `:none`
> > * CLJS-1636: Mark some symbols in core macros ns as private
> > * CLJS-1939: Fix Node load_file ca

Re: ANN: ClojureScript 1.9.493, another bugfix release

2017-02-24 Thread Rangel Spasov
Hey guys,

I'm getting this error. It seems that it's happening inside the transpiled 
core.async sources. The error carrot at line 1444 points at the semicolon, 
pretty strange.


Feb 24, 2017 8:38:19 PM com.google.javascript.jscomp.LoggerErrorManager println
SEVERE: /Users/raspasov/projects/project123/target/ios/cljs/core/async.js:1444: 
ERROR - Parse error. No newline allowed before '=>'
var inst_33727 = async(inst_33726); (^ points at the semicolon)


Feb 24, 2017 8:38:19 PM com.google.javascript.jscomp.LoggerErrorManager 
printSummary
WARNING: 1 error(s), 4 warning(s)
ERROR: JSC_PARSE_ERROR. Parse error. No newline allowed before '=>' at 
/Users/raspasov/projects/project123/target/ios/cljs/core/async.js line 1444 : 34

I tried both :parallel-build true/false but it doesn't make a difference. It 
works fine on [org.clojure/clojurescript "1.9.473"]


Here's how the async.js source looks like around line 1444.

return cljs.core.cst$kw$recur;
} else {
if((state_val_33738 === (2))){
var state_33737__$1 = state_33737;
return cljs.core.async.impl.ioc_helpers.take_BANG_(state_33737__$1,(4),jobs);
} else {
if((state_val_33738 === (3))){
var inst_33735 = (state_33737[(2)]);
var state_33737__$1 = state_33737;
return cljs.core.async.impl.ioc_helpers.return_chan(state_33737__$1,inst_33735);
} else {
if((state_val_33738 === (4))){
var inst_33726 = (state_33737[(2)]);
var inst_33727 = async(inst_33726);  This is the error line 
number 1444
var state_33737__$1 = state_33737;
if(cljs.core.truth_(inst_33727)){
var statearr_33743_33989 = state_33737__$1;
(statearr_33743_33989[(1)] = (5));

} else {
var statearr_33744_33990 = state_33737__$1;
(statearr_33744_33990[(1)] = (6));

}

return cljs.core.cst$kw$recur;
} else {
if((state_val_33738 === (5))){
var state_33737__$1 = state_33737;
var statearr_33745_33992 = state_33737__$1;
(statearr_33745_33992[(2)] = null);

(statearr_33745_33992[(1)] = (2));


return cljs.core.cst$kw$recur;
} else {
if((state_val_33738 === (6))){
var state_33737__$1 = state_33737;
var statearr_33746_33993 = state_33737__$1;
(statearr_33746_33993[(2)] = null);

(statearr_33746_33993[(1)] = (7));


return cljs.core.cst$kw$recur;
} else {
if((state_val_33738 === (7))){
var inst_33733 = (state_33737[(2)]);
var state_33737__$1 = state_33737;
var statearr_33747_33994 = state_33737__$1;
(statearr_33747_33994[(2)] = inst_33733);

(statearr_33747_33994[(1)] = (3));


return cljs.core.cst$kw$recur;
} else {
return null;
}
}
}
}
}
}
}


On Friday, February 24, 2017 at 4:21:35 PM UTC-8, David Nolen wrote:
> Just cut 1.9.494 to back out some macros that were made unintentionally 
> private.
> 
> 
> On Fri, Feb 24, 2017 at 4:47 PM, David Nolen  wrote:
> 
> 
> ClojureScript, the Clojure compiler that emits JavaScript source code.
> 
> 
> README and source code: https://github.com/clojure/clojurescript
> 
> 
> Leiningen dependency information:
> 
> 
> [org.clojure/clojurescript "1.9.493"]
> 
> 
> This is a bugfix release.
> 
> 
> As always, feedback welcome!
> 
> 
> ### Fixes
> * CLJS-1948: Possible race condition in compiler w/ parallel-build true
> * CLJS-1941: `cljs.compiler/cljs-files-in` shouldn't return `.cljc` files if 
> a `.cljs` file exists for the namespace
> * CLJS-1940: Undeclared var warning when invoking a protocol method on a `js` 
> interop form
> * CLJS-1951: Missing 0 and 1 arity versions of interleave
> * CLJS-1952: Bump Closure Compiler to Feb 2017 release
> * CLJS-1937: Self-host: undeclared cljs.core$macros/mod when compiling 
> cljs/core.cljs
> * CLJS-1936: cljs.analyzer declares vars which are only used in Clojure
> * CLJS-1949: Self-host: cljs.compiler/munge doesn't preserve JVM compiler 
> semantics
> * CLJS-1950: Eliminate instances of #^
> * CLJS-1943: Self-host: `cljs.pprint`'s macros can't be compiled
> * CLJS-1945: cljs.spec/every-impl kind-fn kind-form dead code
> * CLJS-1944: Can't spec generate non-vector collections
> * CLJS-1946: Self-hosted: don't emit `goog.require` calls for foreign libs if 
> optimizations different than `:none`
> * CLJS-1636: Mark some symbols in core macros ns as private
> * CLJS-1939: Fix Node load_file call for foreign-deps
> * CLJS-1942: Self-host: `cljs.env.macros` and `cljs.analyzer.macros` can't be 
> loaded
> * CLJS-1935: When calling cljs.spec/valid?, subsequent predicates of 
> cljs.spec/and are evaluated even when early predicate is unsatisfied

-- 
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 em

Re: ANN: ClojureScript 1.9.493, another bugfix release

2017-02-24 Thread David Nolen
Just cut 1.9.494 to back out some macros that were made unintentionally
private.

On Fri, Feb 24, 2017 at 4:47 PM, David Nolen  wrote:

> ClojureScript, the Clojure compiler that emits JavaScript source code.
>
> README and source code: https://github.com/clojure/clojurescript
>
> Leiningen dependency information:
>
> [org.clojure/clojurescript "1.9.493"]
>
> This is a bugfix release.
>
> As always, feedback welcome!
>
> ### Fixes
> * CLJS-1948: Possible race condition in compiler w/ parallel-build true
> * CLJS-1941: `cljs.compiler/cljs-files-in` shouldn't return `.cljc` files
> if a `.cljs` file exists for the namespace
> * CLJS-1940: Undeclared var warning when invoking a protocol method on a
> `js` interop form
> * CLJS-1951: Missing 0 and 1 arity versions of interleave
> * CLJS-1952: Bump Closure Compiler to Feb 2017 release
> * CLJS-1937: Self-host: undeclared cljs.core$macros/mod when compiling
> cljs/core.cljs
> * CLJS-1936: cljs.analyzer declares vars which are only used in Clojure
> * CLJS-1949: Self-host: cljs.compiler/munge doesn't preserve JVM compiler
> semantics
> * CLJS-1950: Eliminate instances of #^
> * CLJS-1943: Self-host: `cljs.pprint`'s macros can't be compiled
> * CLJS-1945: cljs.spec/every-impl kind-fn kind-form dead code
> * CLJS-1944: Can't spec generate non-vector collections
> * CLJS-1946: Self-hosted: don't emit `goog.require` calls for foreign libs
> if optimizations different than `:none`
> * CLJS-1636: Mark some symbols in core macros ns as private
> * CLJS-1939: Fix Node load_file call for foreign-deps
> * CLJS-1942: Self-host: `cljs.env.macros` and `cljs.analyzer.macros` can't
> be loaded
> * CLJS-1935: When calling cljs.spec/valid?, subsequent predicates of
> cljs.spec/and are evaluated even when early predicate is unsatisfied
>
>

-- 
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.


Re: ANN: ClojureScript 1.9.456, Externs Inference & Comprehensive JS Modules Support

2017-01-28 Thread Francesco Bellomi
Found, thanks!

Francesco

-- 
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.


Re: ANN: ClojureScript 1.9.456, Externs Inference & Comprehensive JS Modules Support

2017-01-28 Thread David Nolen
Looks like you have a dependency issue. Use `lein deps :tree` or the
equivalent command to sort it out.

HTH
David

On Saturday, January 28, 2017, Francesco Bellomi <
francesco.bell...@gmail.com> wrote:

> Hi,
>
> first of all, congratulations on this release, it's a huge step ahead.
>
> I'm having an issue compiling a program with advanced optimizations, which
> worked fine with .293
>
> I get the following exception, any ideas on how can i narrow down the
> problem within my source?
>
> Exception in thread "main" java.lang.NoSuchMethodError:
> com.google.common.base.Preconditions.checkState(
> ZLjava/lang/String;Ljava/lang/Object;)V, compiling:(/tmp/form-
> init5778645093287298904.clj:1:73)
> at clojure.lang.Compiler.load(Compiler.java:7442)
> at clojure.lang.Compiler.loadFile(Compiler.java:7368)
> at clojure.main$load_script.invokeStatic(main.clj:277)
> at clojure.main$init_opt.invokeStatic(main.clj:279)
> at clojure.main$init_opt.invoke(main.clj:279)
> at clojure.main$initialize.invokeStatic(main.clj:310)
> at clojure.main$null_opt.invokeStatic(main.clj:344)
> at clojure.main$null_opt.invoke(main.clj:341)
> at clojure.main$main.invokeStatic(main.clj:423)
> at clojure.main$main.doInvoke(main.clj:386)
> at clojure.lang.RestFn.applyTo(RestFn.java:137)
> at clojure.lang.Var.applyTo(Var.java:700)
> at clojure.main.main(main.java:37)
> Caused by: java.lang.NoSuchMethodError: com.google.common.base.
> Preconditions.checkState(ZLjava/lang/String;Ljava/lang/Object;)V
> at com.google.javascript.rhino.IR.name(IR.java:363)
> at com.google.javascript.jscomp.ClosureCodingConvention.(
> ClosureCodingConvention.java:474)
> at com.google.javascript.jscomp.Compiler.(Compiler.java:202)
> at com.google.javascript.jscomp.Compiler.(Compiler.java:264)
> at cljs.closure$make_closure_compiler.invokeStatic(closure.
> clj:293)
> at cljs.closure$optimize.invokeStatic(closure.clj:1255)
> at cljs.closure$optimize.doInvoke(closure.clj:1251)
> at clojure.lang.RestFn.applyTo(RestFn.java:139)
> at clojure.core$apply.invokeStatic(core.clj:659)
> at cljs.closure$build.invokeStatic(closure.clj:2113)
> at cljs.build.api$build.invokeStatic(api.clj:205)
> at cljs.build.api$build.invoke(api.clj:193)
> at cljs.build.api$build.invokeStatic(api.clj:196)
> at cljsbuild.compiler$compile_cljs$fn__6997.invoke(compiler.
> clj:59)
> at cljsbuild.compiler$compile_cljs.invokeStatic(compiler.clj:59)
> at cljsbuild.compiler$run_compiler.invokeStatic(compiler.clj:167)
> at user$eval7152$iter__7200__7204$fn__7205$fn__7231.invoke(
> form-init5778645093287298904.clj:1)
> at user$eval7152$iter__7200__7204$fn__7205.invoke(form-
> init5778645093287298904.clj:1)
> at clojure.lang.LazySeq.sval(LazySeq.java:40)
> at clojure.lang.LazySeq.seq(LazySeq.java:49)
> at clojure.lang.RT.seq(RT.java:525)
> at clojure.core$seq__6422.invokeStatic(core.clj:137)
> at clojure.core$dorun.invokeStatic(core.clj:3106)
> at clojure.core$doall.invokeStatic(core.clj:3121)
> at user$eval7152.invokeStatic(form-init5778645093287298904.clj:1)
> at user$eval7152.invoke(form-init5778645093287298904.clj:1)
> at clojure.lang.Compiler.eval(Compiler.java:6978)
> at clojure.lang.Compiler.eval(Compiler.java:6968)
> at clojure.lang.Compiler.load(Compiler.java:7430)
> ... 12 more
>
> thanks in advance
>
> Francesco
>
> --
> 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 clojurescript+unsubscr...@googlegroups.com .
> To post to this group, send email to clojurescr...@googlegroups.com
> .
> Visit this group at https://groups.google.com/group/clojurescript.
>

-- 
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.


Re: ANN: ClojureScript 1.9.456, Externs Inference & Comprehensive JS Modules Support

2017-01-28 Thread Francesco Bellomi
Hi,

first of all, congratulations on this release, it's a huge step ahead.

I'm having an issue compiling a program with advanced optimizations, which 
worked fine with .293

I get the following exception, any ideas on how can i narrow down the problem 
within my source? 

Exception in thread "main" java.lang.NoSuchMethodError: 
com.google.common.base.Preconditions.checkState(ZLjava/lang/String;Ljava/lang/Object;)V,
 compiling:(/tmp/form-init5778645093287298904.clj:1:73)
at clojure.lang.Compiler.load(Compiler.java:7442)
at clojure.lang.Compiler.loadFile(Compiler.java:7368)
at clojure.main$load_script.invokeStatic(main.clj:277)
at clojure.main$init_opt.invokeStatic(main.clj:279)
at clojure.main$init_opt.invoke(main.clj:279)
at clojure.main$initialize.invokeStatic(main.clj:310)
at clojure.main$null_opt.invokeStatic(main.clj:344)
at clojure.main$null_opt.invoke(main.clj:341)
at clojure.main$main.invokeStatic(main.clj:423)
at clojure.main$main.doInvoke(main.clj:386)
at clojure.lang.RestFn.applyTo(RestFn.java:137)
at clojure.lang.Var.applyTo(Var.java:700)
at clojure.main.main(main.java:37)
Caused by: java.lang.NoSuchMethodError: 
com.google.common.base.Preconditions.checkState(ZLjava/lang/String;Ljava/lang/Object;)V
at com.google.javascript.rhino.IR.name(IR.java:363)
at 
com.google.javascript.jscomp.ClosureCodingConvention.(ClosureCodingConvention.java:474)
at com.google.javascript.jscomp.Compiler.(Compiler.java:202)
at com.google.javascript.jscomp.Compiler.(Compiler.java:264)
at cljs.closure$make_closure_compiler.invokeStatic(closure.clj:293)
at cljs.closure$optimize.invokeStatic(closure.clj:1255)
at cljs.closure$optimize.doInvoke(closure.clj:1251)
at clojure.lang.RestFn.applyTo(RestFn.java:139)
at clojure.core$apply.invokeStatic(core.clj:659)
at cljs.closure$build.invokeStatic(closure.clj:2113)
at cljs.build.api$build.invokeStatic(api.clj:205)
at cljs.build.api$build.invoke(api.clj:193)
at cljs.build.api$build.invokeStatic(api.clj:196)
at cljsbuild.compiler$compile_cljs$fn__6997.invoke(compiler.clj:59)
at cljsbuild.compiler$compile_cljs.invokeStatic(compiler.clj:59)
at cljsbuild.compiler$run_compiler.invokeStatic(compiler.clj:167)
at 
user$eval7152$iter__7200__7204$fn__7205$fn__7231.invoke(form-init5778645093287298904.clj:1)
at 
user$eval7152$iter__7200__7204$fn__7205.invoke(form-init5778645093287298904.clj:1)
at clojure.lang.LazySeq.sval(LazySeq.java:40)
at clojure.lang.LazySeq.seq(LazySeq.java:49)
at clojure.lang.RT.seq(RT.java:525)
at clojure.core$seq__6422.invokeStatic(core.clj:137)
at clojure.core$dorun.invokeStatic(core.clj:3106)
at clojure.core$doall.invokeStatic(core.clj:3121)
at user$eval7152.invokeStatic(form-init5778645093287298904.clj:1)
at user$eval7152.invoke(form-init5778645093287298904.clj:1)
at clojure.lang.Compiler.eval(Compiler.java:6978)
at clojure.lang.Compiler.eval(Compiler.java:6968)
at clojure.lang.Compiler.load(Compiler.java:7430)
... 12 more

thanks in advance 

Francesco

-- 
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.


Re: [ClojureScript] Re: ANN: ClojureScript 0.0-2913, Google Closure Modules, improved nREPL support

2016-10-30 Thread Matthew Chadwick
On Tuesday, February 24, 2015 at 12:37:46 PM UTC, David Nolen wrote:
> :preamble will only be applied to the base module. When using :modules there 
> is not such thing as a main output file.
> 
> 
> You cannot currently have a per module :preamble.
> 

I recently wanted per-module :preamble when playing with webworkers, in order 
to add the importScripts(); line -- is there any other way to get that line 
into a module ?

-- 
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.


Re: ANN: ClojureScript 1.9.293

2016-10-19 Thread Rangel Spasov
Works on our Cljs + React Native + om.next iOS app - thanks everyone 
involved! 

P.S.
For anyone using Om.next: make sure to bump to "1.0.0-alpha47".

On Wednesday, October 19, 2016 at 11:30:01 AM UTC-7, David Nolen wrote:
>
> ClojureScript, the Clojure compiler that emits JavaScript source code.
>
> README and source code: https://github.com/clojure/clojurescript
>
> Leiningen dependency information:
>
> [org.clojure/clojurescript "1.9.293"]
>
> This release fixes a major issue with transit analysis caching where
> files were leaked. It also includes a very significant compiler
> enhancement thanks to Antonio Monteiro - you can now create
> ClojureScript files without declaring a namespace. This opens the door
> to making a much larger class of Clojure programs portable to
> ClojureScript. `require` and other ns related macros are now available
> granted that they appear at the top of the file. Please take careful
> note that they are not functions and cannot be used in dynamic
> situations. Still this eases writing simple scripts and the door is
> now open to finally support data literals in a comprehensive way.
>
> We also bumped the Google Closure compiler dependency. Please note
> that Closure Compiler has made breaking changes around JS module
> processing so this version of ClojureScript is pinned to this latest
> release.
>
> A huge thanks to the many people old and new that contributed to this
> release.
>
> As always, feedback is most welcome!
>
> ## 1.9.293
>
> ### Enhancements
> * CLJS-1346: Support require outside of ns
>
> ### Changes
> * CLJS-1762: Bump Closure Compiler, refactor module support
> * CLJS-1658: testing for protocol membership may return false positives
> * CLJS-1536: REPL def symbol init collision
> * CLJS-1805: Source map should take false
> * CLJS-1804: Self-host: process namespace side-effects for new require 
> without NS
> * CLJS-1803: Use new require capability in REPLs
> * CLJS-1796: Measure Google Closure specific optimization time
> * CLJS-1782: Self-host: allow namespaces to require their own macros
> * CLJS-1563: :source-map option to cljs.build.api/build should take nil
> * CLJS-1785: Warn on reference to js/foo shadowed by local binding
>
> ### Fixes
> * make String an implicit ns like Math. revert char? and clarify 
> docstring. add unit tests for char?
> * fix cljs.spec.test/check docstring
> * CLJS-1826: Self-host: load-deps doesn't honor `:reload` and `reload-all`
> * CLJS-1825: :source-map error when passing `false` under simple 
> optimizations
> * CLJS-1821: `add-preloads` should only touch sources if `:preloads` 
> option specified
> * CLJS-1814: Move docstrings for require, etc. from `cljs.repl` to their 
> new definitions in `cljs.core`
> * CLJS-1809: Add 0/1 arity to `into`
> * CLJS-1824: transit cache feature leaks files
> * CLJS-1294: Let macroexpand(-1) accept any quoted argument.
> * CLJS-1818: (hash false) returns different value from Clojure
> * CLJS-1817: Strange result when assoc'ing 0 to persistent hash map
> * CLJS-1815: Fix failing analyzer tests
> * follow-up on CLJS-460 defmulti ignores optional :hierarchy argument
> * CLJS-1807: Better error messages for `ns*` calls
> * CLJS-1802: Generated namespaces should be of the form 
> `cljs.user.file`
> * CLJ-1935: Use multimethod dispatch value method lookup to take 
> hierarchies into account in multi-spec
> * CLJS-1682 :foreign-libs with module conversion does not works properly 
> if it is used form deps.cljs
> * CLJS-1710: spec/double-in not implemented
> * CLJS-1787: Make cljs.spec explain pluggable
> * CLJS-1781: Add cljs.hash-map-test to self-parity tests
> * CLJS-1788: Port CLJ-2004: include retag in multi-spec form
> * CLJS-1765: Empty iterator for hash maps with nil key
> * CLJS-1784: nth doesn't throw on strings or arrays
> * CLJS-1773: Self-host: Don't resolve unqualified symbols / keywords with 
> $macros
> * CLJS-1770: goog-defines broken for integers
> * CLJS-1600: Destructuring defprotocol fn args causes defrecord impls to 
> silently fail
> * CLJS-1335: resolve-macro-var: information missing for macros
> * CLJS-1633: Improve error associated with invalid foreign-libs :file path
> * CLJS-1775: `get` with `nil` returns as if `get` with `0`
> * CLJS-1780: Records without extmaps fail to iterate
> * CLJS-1774: Self-host: Report filenames in warns in test-self-parity
> * CLJS-1779: keyword 2-arity constructor accepts anything for both 
> parameters which leads to different hashing
>
>

-- 
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" g

Re: ANN: ClojureScript 1.9.225, cljs.spec fixes

2016-09-06 Thread David Nolen
I just cut 1.9.229. It includes a spec fix as well as a bug around
computing the js dependency index in the presence of .cljc & .cljs files
with the same namespace.

On Fri, Aug 26, 2016 at 6:02 PM, David Nolen  wrote:

> I just cut 1.9.227. The only change was a warning regression around
> cljs.core excludes
>
> David
>
> On Fri, Aug 19, 2016 at 1:40 PM, David Nolen 
> wrote:
>
>> ClojureScript, the Clojure compiler that emits JavaScript source code.
>>
>> README and source code: https://github.com/clojure/clojurescript
>>
>> Leiningen dependency information:
>>
>> [org.clojure/clojurescript "1.9.225"]
>>
>> A bug fix release for cljs.spec and a REPL regression.
>>
>> As always feedback welcome!
>>
>> ## 1.9.225
>>
>> ### Fixes
>> * CLJS-1759: Errors writing transit analysis cache if parallel build
>> * CLJS-1760: Self-host: test-cljs-1757 failing in test-self-parity
>> * CLJS-1751: port fix lost type hints in map destructuring
>> * CLJS-1756: Add test.check JAR to the bootstrap script
>> * CLJS-1757: cljs.spec/exercise-fn doesn't work when passed a quoted
>> symbol
>> * CLJS-1754: Add boolean? generator
>> * fix REPL regression which removed warnings
>>
>>
>

-- 
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.


Re: ANN: ClojureScript 1.9.225, cljs.spec fixes

2016-08-26 Thread David Nolen
I just cut 1.9.227. The only change was a warning regression around
cljs.core excludes

David

On Fri, Aug 19, 2016 at 1:40 PM, David Nolen  wrote:

> ClojureScript, the Clojure compiler that emits JavaScript source code.
>
> README and source code: https://github.com/clojure/clojurescript
>
> Leiningen dependency information:
>
> [org.clojure/clojurescript "1.9.225"]
>
> A bug fix release for cljs.spec and a REPL regression.
>
> As always feedback welcome!
>
> ## 1.9.225
>
> ### Fixes
> * CLJS-1759: Errors writing transit analysis cache if parallel build
> * CLJS-1760: Self-host: test-cljs-1757 failing in test-self-parity
> * CLJS-1751: port fix lost type hints in map destructuring
> * CLJS-1756: Add test.check JAR to the bootstrap script
> * CLJS-1757: cljs.spec/exercise-fn doesn't work when passed a quoted symbol
> * CLJS-1754: Add boolean? generator
> * fix REPL regression which removed warnings
>
>

-- 
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.


Re: ANN: ClojureScript 1.9.211, cljs.spec fixes

2016-08-15 Thread David Nolen
I just cut 1.9.216, the relevant changes are fixing a regression around
instrumenting multi-arity fns and adding spec assert.

On Mon, Aug 15, 2016 at 8:58 AM, David Nolen  wrote:

> ClojureScript, the Clojure compiler that emits JavaScript source code.
>
> README and source code: https://github.com/clojure/clojurescript
>
> Leiningen dependency information:
>
> [org.clojure/clojurescript "1.9.211"]
>
> This release addresses a few bugs around cljs.spec discovered in the
> last release along with relevant fixes for self-hosted ClojureScript.
>
> As always feedback welcome!
>
> ## 1.9.211
>
> ### Fixes
> * CLJS-1746: Log the result of loading a dependency
> * CLJS-1657: Self-host: Implicit macro loading with alias
> * CLJS-1742: Add docstring for new refer-clojure REPL special
> * CLJS-1274: Allow assignment to namespace-qualified names in current
> namespace
> * CLJS-1744: rest produces nil for larger maps
> * CLJS-1740: Self-host: Need to port more of CLJS-1733
> * CLJS-1741: Add :rename to :refer-clojure in ns docstring
> * CLJS-1737: Self-host: clojure alias implicit macro use regression
> * invalid cljs.spec/merge res call
> * CLJS-1739: seq on map literal with 9 elements leads to rest producing nil
> * CLJS-1738: Self-host: need to update call to check-use-macros-inferring-
> missing
>
>

-- 
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.


Re: [ClojureScript] Re: ANN: ClojureScript 1.9.198 - cljs.spec, core ns aliasing, macro inference, :rename, and more!

2016-08-13 Thread David Nolen
Thanks for the report. This has already been fixed in master and I'll cut
another release on Monday which include this and several other fixes.

On Sat, Aug 13, 2016 at 9:42 AM, yong gou  wrote:

> sorry my English is poor, but need help, thanks ^_^
> after updated to 1.9.189 , I wrote this:
> (require '[cljs.spec :as s])
> (s/def ::a1 int?)
> (s/def ::a2 int?)
> (s/def ::all (s/merge (s/keys :opt-un [::a1]) (s/keys :opt-un [::a2])))
>
> I got:
> clojure.lang.ExceptionInfo: Wrong number of args (-1) passed to: spec/res
> at line 1  {:file "", :line 1, :column 14,
> :root-source-info {:source-type :fragment, :source-form (s/def
> :cljs.user/all (s/merge (s/keys :opt-un [:cljs.user/a1]) (s/keys :opt-un
> [:cljs.user/a2])))}, :tag :cljs/analysis-error}
> at clojure.core$ex_info.invokeStatic(core.clj:4617)
> at clojure.core$ex_info.invoke(core.clj:4617)
> at cljs.analyzer$error.invokeStatic(analyzer.cljc:620)
> at cljs.analyzer$error.invoke(analyzer.cljc:616)
> at cljs.analyzer$macroexpand_1.invokeStatic(analyzer.cljc:2688)
> at cljs.analyzer$macroexpand_1.invoke(analyzer.cljc:2684)
> at cljs.analyzer$analyze_seq.invokeStatic(analyzer.cljc:2718)
> at cljs.analyzer$analyze_seq.invoke(analyzer.cljc:2701)
> at cljs.analyzer$analyze_form.invokeStatic(analyzer.cljc:2838)
> at cljs.analyzer$analyze_form.invoke(analyzer.cljc:2834)
> at cljs.analyzer$analyze_STAR_.invokeStatic(analyzer.cljc:2885)
> at cljs.analyzer$analyze_STAR_.invoke(analyzer.cljc:2876)
> at cljs.analyzer$analyze.invokeStatic(analyzer.cljc:2901)
> at cljs.analyzer$analyze.invoke(analyzer.cljc:2888)
> at cljs.analyzer$analyze.invokeStatic(analyzer.cljc:2896)
> at cljs.analyzer$analyze.invoke(analyzer.cljc:2888)
> at cljs.analyzer$analyze.invokeStatic(analyzer.cljc:2895)
> at cljs.analyzer$analyze.invoke(analyzer.cljc:2888)
> at cljs.analyzer$parse_invoke_STAR_$ana_expr__3134.invoke(
> analyzer.cljc:2520)
> at clojure.core$map$fn__4785.invoke(core.clj:2646)
> at clojure.lang.LazySeq.sval(LazySeq.java:40)
> at clojure.lang.LazySeq.seq(LazySeq.java:49)
> at clojure.lang.Cons.next(Cons.java:39)
> at clojure.lang.PersistentVector.create(PersistentVector.java:73)
> at clojure.lang.LazilyPersistentVector.create(
> LazilyPersistentVector.java:44)
> at clojure.core$vec.invokeStatic(core.clj:377)
> at clojure.core$vec.invoke(core.clj:367)
> at cljs.analyzer$parse_invoke_STAR_.invokeStatic(analyzer.
> cljc:2522)
> at cljs.analyzer$parse_invoke_STAR_.invoke(analyzer.cljc:2493)
> at cljs.analyzer$parse_invoke.invokeStatic(analyzer.cljc:2531)
> at cljs.analyzer$parse_invoke.invoke(analyzer.cljc:2529)
> at cljs.analyzer$analyze_seq_STAR_.invokeStatic(analyzer.
> cljc:2695)
> at cljs.analyzer$analyze_seq_STAR_.invoke(analyzer.cljc:2692)
> at cljs.analyzer$analyze_seq_STAR__wrap.invokeStatic(
> analyzer.cljc:2699)
> at cljs.analyzer$analyze_seq_STAR__wrap.invoke(analyzer.cljc:2697)
> at cljs.analyzer$analyze_seq.invokeStatic(analyzer.cljc:2720)
> at cljs.analyzer$analyze_seq.invoke(analyzer.cljc:2701)
> at cljs.analyzer$analyze_form.invokeStatic(analyzer.cljc:2838)
> at cljs.analyzer$analyze_form.invoke(analyzer.cljc:2834)
> at cljs.analyzer$analyze_STAR_.invokeStatic(analyzer.cljc:2885)
> at cljs.analyzer$analyze_STAR_.invoke(analyzer.cljc:2876)
> at cljs.analyzer$analyze.invokeStatic(analyzer.cljc:2901)
> at cljs.analyzer$analyze.invoke(analyzer.cljc:2888)
> at cljs.analyzer$analyze_seq.invokeStatic(analyzer.cljc:2721)
> at cljs.analyzer$analyze_seq.invoke(analyzer.cljc:2701)
> at cljs.analyzer$analyze_form.invokeStatic(analyzer.cljc:2838)
> at cljs.analyzer$analyze_form.invoke(analyzer.cljc:2834)
> at cljs.analyzer$analyze_STAR_.invokeStatic(analyzer.cljc:2885)
> at cljs.analyzer$analyze_STAR_.invoke(analyzer.cljc:2876)
> at cljs.analyzer$analyze.invokeStatic(analyzer.cljc:2901)
> at cljs.analyzer$analyze.invoke(analyzer.cljc:2888)
> at cljs.analyzer$analyze.invokeStatic(analyzer.cljc:2896)
> at cljs.analyzer$analyze.invoke(analyzer.cljc:2888)
> at cljs.analyzer$analyze.invokeStatic(analyzer.cljc:2895)
> at cljs.analyzer$analyze.invoke(analyzer.cljc:2888)
> at cljs.analyzer$analyze_let_binding_init.invokeStatic(
> analyzer.cljc:1496)
> at cljs.analyzer$analyze_let_binding_init.invoke(analyzer.
> cljc:1494)
> at cljs.analyzer$analyze_let_bindings_STAR_.invokeStatic(
> analyzer.cljc:1518)
> at cljs.analyzer$analyze_let_bindings_STAR_.invoke(
> analyzer.cljc:1507)
> at cljs.analyzer$analyze_let_bindings.invokeStatic(
> analyzer.cljc:1549)
> at cljs.analyzer$analyze_let_bindings.invoke(ana

Re: ANN: ClojureScript 1.9.198 - cljs.spec, core ns aliasing, macro inference, :rename, and more!

2016-08-13 Thread Zubair Quraishi
I don't know what you did but upgrading from cljs .89 to .198 on a fairly 
largish app and it seems to run over twice as fast Welldone, whatever it 
was that did it!!! :)


On Friday, August 12, 2016 at 9:50:20 PM UTC+2, David Nolen wrote:
> ClojureScript, the Clojure compiler that emits JavaScript source code.
> 
> 
> README and source code: https://github.com/clojure/clojurescript
> 
> 
> Leiningen dependency information:
> 
> 
>     [org.clojure/clojurescript "1.9.198"]
> 
> 
> This release brings cljs.spec to parity with Clojure
> 1.9.0-alpha10. This release also includes a large number of
> enhancements to the ns form:
> 
> 
> * :refer now features macro inference. There is no longer any need
>   to supply both :refer and :refer-macros in the same :require, the
>   compiler will figure it out.
> 
> 
> * clojure.* namespaces will now automatically be aliased to their
>   ClojureScript equivalents. For example this means that the following
>   is perfectly valid ClojureScript:
> 
> 
>   (ns foo.bar
>     (:require [clojure.spec :refer [fspec]]))
> 
> 
>   This feature and the previous one should significantly reduce reader
>   conditional usage in ns forms.
> 
> 
> * thanks to Antonio Monteiro we now support :rename
> 
> 
> We also have a new feature that is relevant for tooling such as
> Figwheel and cljs-devtools - :preloads. This should now be the
> standard way to inject some bit of side-effecting setup after core but
> before user code (i.e. connecting REPLs to standard ports, etc.).
> 
> 
> There are of course many various small fixes and enhancements, so
> a very big thank you to everyone that has contributed.
> 
> 
> As always feedback welcome!
> 
> 
> ## 1.9.198
> 
> 
> ### Enhancements
> * CLJS-1508: Extend ns form to support :rename option
> * CLJS-1507: Implicit macro loading: macro var inference in :refer
> * CLJS-1692: Autoalias clojure.* to exisiting cljs.* namespaces if
> possible
> * CLJS-1350: Compiler support for browser REPL
> * CLJS-1729: Support `use` special function in REPLs
> * CLJS-1730: Support `refer-clojure` special function in REPLs
> 
> 
> ### Changes
> * CLJS-1515: Self-host: Allow :file key in cljs.js/*load-fn*
> * add toString implementation to Vars
> * Use a js array to create collections in cljs.reader
> * CLJS-1640: Use the unshaded version of the closure compiler
> * add :browser-repl to list of known opts
> * add browser REPL preload
> * parity with Clojure 1.9.0-alpha10 clojure.spec
> * bump to tools.reader 1.0.0-beta3
> 
> 
> ### Fixes
> * CLJS-1733: Macro inference issue for macros & runtime vars with the same 
> name
> * CLJS-1735: Self-host: cljs.spec speced-vars instance
> * CLJS-1736: cljs.spec.test: checkable-syms* called with 0-arity
> * CLJS-1708: Self-host: [iu]nstrument-1 needs to qualify [iu]nstrument-1*
> * CLJS-1707: Self-host: with-instrument-disabled needs to qualify 
> *instrument-enabled*
> * CLJS-1732: Add docstrings for new use and use-macros REPL specials
> * CLJS-1720: Qualify symbols and namespaced keywords in spec macros
> * CLJS-1731: Self-host: do_template problem with script/test-self-parity
> * CLJS-1556: Invalid code emit for obj literal
> * CLJS-1607: bug with `specify!` in JS prototypes with `static-fns` true
> * CLJS-1591 avoid analyzing invoke arguments multiple times
> * CLJS-1638: :elide-asserts disables atom validators in :advanced
> * CLJS-1721: 3-arity get-in fails on types which do not implement ILookup
> * CLJS-1728: Update doc for ns for new :rename capability
> * CLJS-1727: Regression when evaluating non-sequential forms at the REPL
> * CLJS-1490: Watch macro files in cljs.build.api/watch
> * CLJS-1719: Port destructuring namespaced keys and symbols
> * CLJS-1653: cljs.spec: keys* causes exception
> * CLJS-1700: Support clojure.* aliasing when not in vector
> * CLJS-1717 remove map from equiv-map
> * CLJS-1716: No longer possible to use same alias for :require-macros and 
> :require
> * Use keyword options in js->clj 1-arg impl
> * Add support for regex in transit for compiler analysis cache
> * Escape non-Latin1 characters before base64 encoding the source-map string
> * CLJS-1698: cljs.spec: every res call needs &env
> * CLJS-1695: Self-host: Port cljs / clojure namespace aliasing
> * CLJS-1697: doc on inferred macros fails
> * CLJS-1699: Update docstring for ns
> * CLJS-1694: Self-host: Port macro var inference in :refer

-- 
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+uns

Re: ANN: ClojureScript 1.9.198 - cljs.spec, core ns aliasing, macro inference, :rename, and more!

2016-08-12 Thread Jiyin Yiyong
On Saturday, August 13, 2016 at 3:50:20 AM UTC+8, David Nolen wrote:
> ClojureScript, the Clojure compiler that emits JavaScript source code.
> 
> 
> README and source code: https://github.com/clojure/clojurescript
> 
> 
> Leiningen dependency information:
> 
> 
>     [org.clojure/clojurescript "1.9.198"]
> 
> 
> This release brings cljs.spec to parity with Clojure
> 1.9.0-alpha10. This release also includes a large number of
> enhancements to the ns form:
> 
> 
> * :refer now features macro inference. There is no longer any need
>   to supply both :refer and :refer-macros in the same :require, the
>   compiler will figure it out.
> 
> 
> * clojure.* namespaces will now automatically be aliased to their
>   ClojureScript equivalents. For example this means that the following
>   is perfectly valid ClojureScript:
> 
> 
>   (ns foo.bar
>     (:require [clojure.spec :refer [fspec]]))
> 
> 
>   This feature and the previous one should significantly reduce reader
>   conditional usage in ns forms.
> 
> 
> * thanks to Antonio Monteiro we now support :rename
> 
> 
> We also have a new feature that is relevant for tooling such as
> Figwheel and cljs-devtools - :preloads. This should now be the
> standard way to inject some bit of side-effecting setup after core but
> before user code (i.e. connecting REPLs to standard ports, etc.).
> 
> 
> There are of course many various small fixes and enhancements, so
> a very big thank you to everyone that has contributed.
> 
> 
> As always feedback welcome!
> 
> 
> ## 1.9.198
> 
> 
> ### Enhancements
> * CLJS-1508: Extend ns form to support :rename option
> * CLJS-1507: Implicit macro loading: macro var inference in :refer
> * CLJS-1692: Autoalias clojure.* to exisiting cljs.* namespaces if
> possible
> * CLJS-1350: Compiler support for browser REPL
> * CLJS-1729: Support `use` special function in REPLs
> * CLJS-1730: Support `refer-clojure` special function in REPLs
> 
> 
> ### Changes
> * CLJS-1515: Self-host: Allow :file key in cljs.js/*load-fn*
> * add toString implementation to Vars
> * Use a js array to create collections in cljs.reader
> * CLJS-1640: Use the unshaded version of the closure compiler
> * add :browser-repl to list of known opts
> * add browser REPL preload
> * parity with Clojure 1.9.0-alpha10 clojure.spec
> * bump to tools.reader 1.0.0-beta3
> 
> 
> ### Fixes
> * CLJS-1733: Macro inference issue for macros & runtime vars with the same 
> name
> * CLJS-1735: Self-host: cljs.spec speced-vars instance
> * CLJS-1736: cljs.spec.test: checkable-syms* called with 0-arity
> * CLJS-1708: Self-host: [iu]nstrument-1 needs to qualify [iu]nstrument-1*
> * CLJS-1707: Self-host: with-instrument-disabled needs to qualify 
> *instrument-enabled*
> * CLJS-1732: Add docstrings for new use and use-macros REPL specials
> * CLJS-1720: Qualify symbols and namespaced keywords in spec macros
> * CLJS-1731: Self-host: do_template problem with script/test-self-parity
> * CLJS-1556: Invalid code emit for obj literal
> * CLJS-1607: bug with `specify!` in JS prototypes with `static-fns` true
> * CLJS-1591 avoid analyzing invoke arguments multiple times
> * CLJS-1638: :elide-asserts disables atom validators in :advanced
> * CLJS-1721: 3-arity get-in fails on types which do not implement ILookup
> * CLJS-1728: Update doc for ns for new :rename capability
> * CLJS-1727: Regression when evaluating non-sequential forms at the REPL
> * CLJS-1490: Watch macro files in cljs.build.api/watch
> * CLJS-1719: Port destructuring namespaced keys and symbols
> * CLJS-1653: cljs.spec: keys* causes exception
> * CLJS-1700: Support clojure.* aliasing when not in vector
> * CLJS-1717 remove map from equiv-map
> * CLJS-1716: No longer possible to use same alias for :require-macros and 
> :require
> * Use keyword options in js->clj 1-arg impl
> * Add support for regex in transit for compiler analysis cache
> * Escape non-Latin1 characters before base64 encoding the source-map string
> * CLJS-1698: cljs.spec: every res call needs &env
> * CLJS-1695: Self-host: Port cljs / clojure namespace aliasing
> * CLJS-1697: doc on inferred macros fails
> * CLJS-1699: Update docstring for ns
> * CLJS-1694: Self-host: Port macro var inference in :refer

Got a question, Clojure is using `-alpha` in version name, is ClojureScript 
also in alpha stage, even without an `-alpha`?

-- 
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

Re: ANN: ClojureScript 1.9.89 - cljs.spec & :preloads

2016-07-20 Thread mars0i
This version isn't supposed to have implemented spec/double-in yet, right?  

I get "Use of undeclared Var cljs.spec/double-in".

Sorry to ask--I don't know my way around JIRA well, and searching for 
"double-in" brings up a lot of irrelevant tickets.

Thanks much.

-- 
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.


Re: ANN: ClojureScript 1.9.14, clojure.spec port

2016-06-02 Thread Shaun LeBron
Great stuff, thanks!  I'm not familiar, but is the `clojure.spec.gen` namespace 
going to be ported?

On Wednesday, June 1, 2016 at 1:01:58 PM UTC-5, David Nolen wrote:
> ClojureScript, the Clojure compiler that emits JavaScript source code.
> 
> 
> README and source code: https://github.com/clojure/clojurescript
> 
> 
> Leiningen dependency information:
> 
> 
>     [org.clojure/clojurescript "1.9.14"]
> 
> 
> This release includes a complete and faithful port of clojure.spec to
> ClojureScript. The functionality resides in the new cljs.spec
> namespace. All features present in Clojure 1.9.0-alpha4 are
> implemented, including REPL support, testing support and macro
> checking.
> 
> 
> As always feedback welcome.
> 
> 
> ## 1.9.14
> 
> 
> ### Enhancements
> * clojure.spec ported to cljs.spec
> 
> 
> ### Fixes
> * CLJS-1649: Possible issue with in cljs.reader or cljs.core/PersistentHashMap
> * CLJS-1647: Rethrow exception from parallel-build
> * CLJS-1642: cljs.core/reductions does not respect 'reduced'
> * CLJS-1635: Var type implements IEquiv but not IHash
> * CLJS-1629: Fix warning about duplicate test-pr-str
> * CLJS-1637: Missing docstrings for a few vars

-- 
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.


Re: [ClojureScript] Re: ANN: ClojureScript 1.9.14, clojure.spec port

2016-06-01 Thread David Nolen
Choosing cljs.spec over clojure.spec is out of necessity not preference -
Clojure has already taken the namespace and that namespace defines macros.

We are considering aliasing support for cljs.spec. That is rewriting
clojure.spec vars in ClojureScript sources to cljs.spec but it will likely
cover more than just cljs.spec - cljs.test, cljs.pprint etc.

David

On Wed, Jun 1, 2016 at 10:27 PM, Daniel Compton <
daniel.compton.li...@gmail.com> wrote:

> Would it be good to change the namespace for spec from cljs.spec to
> clojure.spec? This will make CLJC files nicer to write as you won’t need to
> have reader conditionals for requiring cljs.spec in CLJS and clojure.spec
> in CLJ.
>
> It seems like spec is going to be used by lots of projects, so the choices
> made now will affect lots of code, and be hard to change later.
>
> More generally, what are the guidelines for deciding if a ClojureScript
> file gets written as cljs.* or clojure.*?
>
> On Thu, Jun 2, 2016 at 9:19 AM Walter van der Laan <
> waltervanderl...@fincite.nl> wrote:
>
>> It's like magic. I added some specs to cljc namespaces and it just works!
>>
>> I'm making domain specific error messages with just a few lines of code.
>> This is a huge leap forward.
>>
>> Thank you, and all involved, so much.
>>
>> --
>> 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 clojurescript+unsubscr...@googlegroups.com.
>> To post to this group, send email to clojurescr...@googlegroups.com.
>> Visit this group at https://groups.google.com/group/clojurescript.
>>
> --
> —
> Daniel
>
> --
> 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 clojurescript+unsubscr...@googlegroups.com.
> To post to this group, send email to clojurescr...@googlegroups.com.
> Visit this group at https://groups.google.com/group/clojurescript.
>

-- 
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.


Re: [ClojureScript] Re: ANN: ClojureScript 1.9.14, clojure.spec port

2016-06-01 Thread Daniel Compton
Would it be good to change the namespace for spec from cljs.spec to
clojure.spec? This will make CLJC files nicer to write as you won’t need to
have reader conditionals for requiring cljs.spec in CLJS and clojure.spec
in CLJ.

It seems like spec is going to be used by lots of projects, so the choices
made now will affect lots of code, and be hard to change later.

More generally, what are the guidelines for deciding if a ClojureScript
file gets written as cljs.* or clojure.*?

On Thu, Jun 2, 2016 at 9:19 AM Walter van der Laan <
waltervanderl...@fincite.nl> wrote:

> It's like magic. I added some specs to cljc namespaces and it just works!
>
> I'm making domain specific error messages with just a few lines of code.
> This is a huge leap forward.
>
> Thank you, and all involved, so much.
>
> --
> 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 clojurescript+unsubscr...@googlegroups.com.
> To post to this group, send email to clojurescr...@googlegroups.com.
> Visit this group at https://groups.google.com/group/clojurescript.
>
-- 
—
Daniel

-- 
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.


Re: ANN: ClojureScript 1.9.14, clojure.spec port

2016-06-01 Thread Walter van der Laan
It's like magic. I added some specs to cljc namespaces and it just works!

I'm making domain specific error messages with just a few lines of code. 
This is a huge leap forward.

Thank you, and all involved, so much.

-- 
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.


Re: ANN: ClojureScript 1.8.51

2016-05-30 Thread Peter West
Running the Quick Start, I get the "No 'xpc' param provided to child 
iframe."  error from, I think, start-evaluator in 
cljs.clojure.browser.repl.cljs when I try to get the repl running.  This is 
in both Safari and Chrome.  Any idea what I'm doing wrong?

On Monday, 25 April 2016 21:39:57 UTC+10, David Nolen wrote:
>
> ClojureScript, the Clojure compiler that emits JavaScript source code.
>
> README and source code: https://github.com/clojure/clojurescript
>
> Leiningen dependency information:
>
> [org.clojure/clojurescript "1.8.51"]
>
> This release updates the Closure Compiler and tools.reader dependencies, 
> fixes a race condition with :parallel-build, improves JS module 
> integration, and includes a number of enhancements and fixes around 
> optional self hosting. A big thanks to everyone who contributed!
>
> As always feedback welcome.
>
> ## 1.8.51
>
>

-- 
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.


Re: ANN: ClojureScript 1.8.40

2016-03-28 Thread Rangel Spasov
No more warnings, thank you! : )

On Monday, March 28, 2016 at 5:19:26 AM UTC-7, David Nolen wrote:
>
> ClojureScript, the Clojure compiler that emits JavaScript source code.
>
> README and source code: https://github.com/clojure/clojurescript
>
> Leiningen dependency information:
>
> [org.clojure/clojurescript "1.8.40"]
>
> This release addresses some minor unintentional interactions with 3rd 
> party ClojureScript tooling like Figwheel.
>
> As always feedback welcome!
>
> ## 1.8.40
>
> ### Fixes
> * CLJS-1603: Only warn for misspelled comp/REPL opts
> * :warning-handlers missing for known compiler options
> * CLJS-1592: Self-host: Robustness for core tests
>
>

-- 
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.


Re: [ClojureScript] Re: ANN: ClojureScript 1.8.34

2016-03-20 Thread Daniel Compton
I may be way off on this, but I would expect :compiler-env, special-fns,
warn-on-undeclared to be in figwheel config, not in the compiler config,
hence to cause no issues?

https://github.com/bhauman/lein-figwheel/tree/v0.5.0-5#client-side-configuration-options

On Sat, Mar 19, 2016 at 12:48 PM David Nolen  wrote:

> Thanks for the report! Will need to think about how to deal with other
> tooling possibly including additional options we don't understand - we now
> warn on options we don't support to avoid unnecessary confusion.
>
> David
>
> On Fri, Mar 18, 2016 at 7:01 PM, Rangel Spasov  wrote:
>
>> Thanks, David!
>>
>> I get those warnings when compiling via "lein figwheel":
>>
>> WARNING: Unknown option ':compiler-env'.
>>
>> WARNING: Unknown option ':special-fns'.
>>
>> WARNING: Unknown option ':warn-on-undeclared'.
>>
>>
>> Otherwise, everything seems fine.
>>
>> Rangel
>>
>
>> On Friday, March 18, 2016 at 11:04:46 AM UTC-7, David Nolen wrote:
>>>
>>> ClojureScript, the Clojure compiler that emits JavaScript source code.
>>>
>>> README and source code: https://github.com/clojure/clojurescript
>>>
>>> Leiningen dependency information:
>>>
>>> [org.clojure/clojurescript "1.8.34"]
>>>
>>> There are many minor fixes in this release around bootstrapped
>>> ClojureScript. This release also fixes a subtle bug with the
>>> new :parallel-build feature.
>>>
>>> As always feedback welcome!
>>>
>>> ## 1.8.34
>>>
>>> ### Changes
>>> * CLJS-1582: Type-hint extend-type first arg for primitives
>>> * CLJS-1590: split, split-lines differs from Clojure on empty string
>>> * CLJS-1594: NaN and both infinities cannot be elements of a set
>>> * CLJS-1597: Redundant IPrintWithWriter test in pr-writer-impl
>>> * CLJS-1583: (hash (symbol "/")) does not match (hash '/)
>>> * bump tools reader
>>> * CLJS-1492: Warn when using :optimisations instead of :optimizations
>>> * less cryptic error if :main doesn't correspond to any file
>>> * CLJS-744: ISequential types should implement JS indexOf, lastIndexOf
>>> * CLJS-1411: make-array signature differs from clojure
>>>
>>> ### Fixes
>>> * CLJS-1589: Self-host: case fail with nil
>>> * CLJS-1596: Self-host: :load-macros and :analyze-deps don't work in
>>> cljs.js
>>> * CLJS-1420: get-in behavior differs from Clojure by always deferring to
>>> the 3 arity fn
>>> * CLJS-1585: Self-host: Alias-scoped keywords
>>> * CLJS-1577: Self-host: syntax-quote resolves on dot forms
>>> * CLJS-1564: Self-host: cached macro *loaded* update
>>> * CLJS-1584: Self-host: core/str error with condp
>>> * CLJS-1521: Self-host: Macro namespaces cannot be aliased
>>> * CLJS-1573: Self-host: Invalid UTF escaping in cljs-in-cljs
>>> * CLJS-1570: :parallel-build causes invalid truth check in
>>> cljs.reader/read-number
>>> * CLJS-1568: LazyTransformer doesn't implement IMeta
>>> * CLJS-1578: Corrupted Analysis Files Break Compilation
>>> * CLJS-1579: cljs.source-map/invert-reverse-map discards gcol
>>> * CLJS-1580: Self-host: goog.provide offsets source-maps
>>> * CLJS-1569: IndexedSeq doesn't implement IWithMeta / IMeta
>>> * CLJS-1567: make-array macro missing > 2 arg arity
>>> * CLJS-1571: Make special-symbol? true for 'var
>>> * CLJS-1555: make-array macro missing 2 arg arity
>>> * CLJS-970: generate assert message when compiling
>>> * CLJS-1565: Self-host: whitespace optimization is broken
>>> * CLJS-1541: Self-host: Cannot require 'cljs.js using cljs.jar
>>> * CLJS-1550: Enhance docstring for extend-type wrt type-sym
>>> * CLJS-1551: Self-host: assert-args dormant in macros
>>> * CLJS-1552: doc for & should match fn
>>> * CLJS-1488: cljs.repl/source Cannot read source of cljs functions that
>>> use #js reader
>>> * CLJS-1557: Make special-symbol? return true for catch and finally
>>> * CLJS-1542: Self-host: cljs/compile-str not handling errors properly
>>> * CLJS-1318: Fix typo in documentation of `specify`
>>> * CLJS-620: Warnings are generated when using a macro in argument
>>> position
>>> * CLJS-1547: Wrong output encoding when compile with goog.LOCALE
>>> * CLJS-1546: cljs.core/run! does not always return nil
>>>
>>> --
>>
> 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.
>>
>
> --
> Note that posts from new members are moderated - please be patient with
> your first post.
> ---
> You received this message because you are

Re: ANN: ClojureScript 1.8.34

2016-03-19 Thread Rangel Spasov
Thanks, David!

I get those warnings when compiling via "lein figwheel":

WARNING: Unknown option ':compiler-env'.

WARNING: Unknown option ':special-fns'.

WARNING: Unknown option ':warn-on-undeclared'.


Otherwise, everything seems fine.

Rangel

On Friday, March 18, 2016 at 11:04:46 AM UTC-7, David Nolen wrote:
>
> ClojureScript, the Clojure compiler that emits JavaScript source code.
>
> README and source code: https://github.com/clojure/clojurescript
>
> Leiningen dependency information:
>
> [org.clojure/clojurescript "1.8.34"]
>
> There are many minor fixes in this release around bootstrapped
> ClojureScript. This release also fixes a subtle bug with the
> new :parallel-build feature.
>
> As always feedback welcome!
>
> ## 1.8.34
>
> ### Changes
> * CLJS-1582: Type-hint extend-type first arg for primitives
> * CLJS-1590: split, split-lines differs from Clojure on empty string
> * CLJS-1594: NaN and both infinities cannot be elements of a set
> * CLJS-1597: Redundant IPrintWithWriter test in pr-writer-impl
> * CLJS-1583: (hash (symbol "/")) does not match (hash '/)
> * bump tools reader
> * CLJS-1492: Warn when using :optimisations instead of :optimizations
> * less cryptic error if :main doesn't correspond to any file
> * CLJS-744: ISequential types should implement JS indexOf, lastIndexOf
> * CLJS-1411: make-array signature differs from clojure
>
> ### Fixes
> * CLJS-1589: Self-host: case fail with nil
> * CLJS-1596: Self-host: :load-macros and :analyze-deps don't work in 
> cljs.js
> * CLJS-1420: get-in behavior differs from Clojure by always deferring to 
> the 3 arity fn
> * CLJS-1585: Self-host: Alias-scoped keywords
> * CLJS-1577: Self-host: syntax-quote resolves on dot forms
> * CLJS-1564: Self-host: cached macro *loaded* update
> * CLJS-1584: Self-host: core/str error with condp
> * CLJS-1521: Self-host: Macro namespaces cannot be aliased
> * CLJS-1573: Self-host: Invalid UTF escaping in cljs-in-cljs
> * CLJS-1570: :parallel-build causes invalid truth check in 
> cljs.reader/read-number
> * CLJS-1568: LazyTransformer doesn't implement IMeta
> * CLJS-1578: Corrupted Analysis Files Break Compilation
> * CLJS-1579: cljs.source-map/invert-reverse-map discards gcol
> * CLJS-1580: Self-host: goog.provide offsets source-maps
> * CLJS-1569: IndexedSeq doesn't implement IWithMeta / IMeta
> * CLJS-1567: make-array macro missing > 2 arg arity
> * CLJS-1571: Make special-symbol? true for 'var
> * CLJS-1555: make-array macro missing 2 arg arity
> * CLJS-970: generate assert message when compiling
> * CLJS-1565: Self-host: whitespace optimization is broken
> * CLJS-1541: Self-host: Cannot require 'cljs.js using cljs.jar
> * CLJS-1550: Enhance docstring for extend-type wrt type-sym
> * CLJS-1551: Self-host: assert-args dormant in macros
> * CLJS-1552: doc for & should match fn
> * CLJS-1488: cljs.repl/source Cannot read source of cljs functions that 
> use #js reader
> * CLJS-1557: Make special-symbol? return true for catch and finally
> * CLJS-1542: Self-host: cljs/compile-str not handling errors properly
> * CLJS-1318: Fix typo in documentation of `specify`
> * CLJS-620: Warnings are generated when using a macro in argument position
> * CLJS-1547: Wrong output encoding when compile with goog.LOCALE
> * CLJS-1546: cljs.core/run! does not always return nil
>
>

-- 
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.


Re: ANN: ClojureScript 1.8.34

2016-03-18 Thread David Nolen
Thanks for the report! Will need to think about how to deal with other
tooling possibly including additional options we don't understand - we now
warn on options we don't support to avoid unnecessary confusion.

David

On Fri, Mar 18, 2016 at 7:01 PM, Rangel Spasov  wrote:

> Thanks, David!
>
> I get those warnings when compiling via "lein figwheel":
>
> WARNING: Unknown option ':compiler-env'.
>
> WARNING: Unknown option ':special-fns'.
>
> WARNING: Unknown option ':warn-on-undeclared'.
>
>
> Otherwise, everything seems fine.
>
> Rangel
>
> On Friday, March 18, 2016 at 11:04:46 AM UTC-7, David Nolen wrote:
>>
>> ClojureScript, the Clojure compiler that emits JavaScript source code.
>>
>> README and source code: https://github.com/clojure/clojurescript
>>
>> Leiningen dependency information:
>>
>> [org.clojure/clojurescript "1.8.34"]
>>
>> There are many minor fixes in this release around bootstrapped
>> ClojureScript. This release also fixes a subtle bug with the
>> new :parallel-build feature.
>>
>> As always feedback welcome!
>>
>> ## 1.8.34
>>
>> ### Changes
>> * CLJS-1582: Type-hint extend-type first arg for primitives
>> * CLJS-1590: split, split-lines differs from Clojure on empty string
>> * CLJS-1594: NaN and both infinities cannot be elements of a set
>> * CLJS-1597: Redundant IPrintWithWriter test in pr-writer-impl
>> * CLJS-1583: (hash (symbol "/")) does not match (hash '/)
>> * bump tools reader
>> * CLJS-1492: Warn when using :optimisations instead of :optimizations
>> * less cryptic error if :main doesn't correspond to any file
>> * CLJS-744: ISequential types should implement JS indexOf, lastIndexOf
>> * CLJS-1411: make-array signature differs from clojure
>>
>> ### Fixes
>> * CLJS-1589: Self-host: case fail with nil
>> * CLJS-1596: Self-host: :load-macros and :analyze-deps don't work in
>> cljs.js
>> * CLJS-1420: get-in behavior differs from Clojure by always deferring to
>> the 3 arity fn
>> * CLJS-1585: Self-host: Alias-scoped keywords
>> * CLJS-1577: Self-host: syntax-quote resolves on dot forms
>> * CLJS-1564: Self-host: cached macro *loaded* update
>> * CLJS-1584: Self-host: core/str error with condp
>> * CLJS-1521: Self-host: Macro namespaces cannot be aliased
>> * CLJS-1573: Self-host: Invalid UTF escaping in cljs-in-cljs
>> * CLJS-1570: :parallel-build causes invalid truth check in
>> cljs.reader/read-number
>> * CLJS-1568: LazyTransformer doesn't implement IMeta
>> * CLJS-1578: Corrupted Analysis Files Break Compilation
>> * CLJS-1579: cljs.source-map/invert-reverse-map discards gcol
>> * CLJS-1580: Self-host: goog.provide offsets source-maps
>> * CLJS-1569: IndexedSeq doesn't implement IWithMeta / IMeta
>> * CLJS-1567: make-array macro missing > 2 arg arity
>> * CLJS-1571: Make special-symbol? true for 'var
>> * CLJS-1555: make-array macro missing 2 arg arity
>> * CLJS-970: generate assert message when compiling
>> * CLJS-1565: Self-host: whitespace optimization is broken
>> * CLJS-1541: Self-host: Cannot require 'cljs.js using cljs.jar
>> * CLJS-1550: Enhance docstring for extend-type wrt type-sym
>> * CLJS-1551: Self-host: assert-args dormant in macros
>> * CLJS-1552: doc for & should match fn
>> * CLJS-1488: cljs.repl/source Cannot read source of cljs functions that
>> use #js reader
>> * CLJS-1557: Make special-symbol? return true for catch and finally
>> * CLJS-1542: Self-host: cljs/compile-str not handling errors properly
>> * CLJS-1318: Fix typo in documentation of `specify`
>> * CLJS-620: Warnings are generated when using a macro in argument position
>> * CLJS-1547: Wrong output encoding when compile with goog.LOCALE
>> * CLJS-1546: cljs.core/run! does not always return nil
>>
>> --
> 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.
>

-- 
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

Re: ANN: ClojureScript 1.7.170, Enhanced Build Pipeline

2015-12-03 Thread Nikita Prokopov
On Monday, November 23, 2015 at 4:12:54 PM UTC+6, Nikita Prokopov wrote:
> Any advice what to do with deps.cljs?
> 
> Exception in thread "main" java.lang.AssertionError: No ns form found in 
> /Users/prokopov/Dropbox/ws/cognician/c3/src/deps.cljs, 
> compiling:(/private/var/folders/0h/9vv4g3d955l6ctwwl4k9xjy4gn/T/form-init7898631568113094426.clj:1:125)
> 
> $ cat src/deps.cljs
> {
>   :externs ["cognician/chat/externs.js"]
> }
> $
> 
> I’m using CLJS 1.7.170 and lein-cljsbuild 1.1.1

Looks like cljsbuild issue: https://github.com/emezeske/lein-cljsbuild/pull/428

-- 
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.


Re: ANN: ClojureScript 1.7.170, Enhanced Build Pipeline

2015-11-23 Thread Nikita Prokopov
Any advice what to do with deps.cljs?

Exception in thread "main" java.lang.AssertionError: No ns form found in 
/Users/prokopov/Dropbox/ws/cognician/c3/src/deps.cljs, 
compiling:(/private/var/folders/0h/9vv4g3d955l6ctwwl4k9xjy4gn/T/form-init7898631568113094426.clj:1:125)

$ cat src/deps.cljs
{
  :externs ["cognician/chat/externs.js"]
}
$

I’m using CLJS 1.7.170 and lein-cljsbuild 1.1.1

-- 
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.


Re: ANN: ClojureScript 1.7.170, Enhanced Build Pipeline

2015-11-07 Thread Maria Geller
Try using 0.5.0-SNAPSHOT for figwheel ;)

On Saturday, November 7, 2015 at 9:59:24 PM UTC+13, Francis Avila wrote:
>
> I'm getting the following exception with figwheel builds (using 0.4.1): 
>
> java.lang.AbstractMethodError: Method 
> clojurescript_build/core/CompilableSourcePaths._find_sources(Ljava/lang/Object;)Ljava/lang/Object;
>  
> is abstract 
>  at clojurescript_build.core.CompilableSourcePaths._find_sources 
> (core.clj:-1) 
>
>
> (cljsbuild works fine with version 1.1.1) 
>
> Nolan said "All the mentioned tools [inc. figwheel] have already accounted 
> for this change." I don't see any mention in the figwheel docs about cljs 
> 1.7.170 compatibility or any commit message that mentions it. Can anyone 
> confirm this is actually true for figwheel? 
>
> On Friday, November 6, 2015 at 6:05:19 AM UTC-6, David Nolen wrote: 
> > ClojureScript, the Clojure compiler that emits JavaScript source code. 
> > 
> > 
> > README and source code: https://github.com/clojure/clojurescript 
> > 
> > 
> > Leiningen dependency information: 
> > 
> > 
> > [org.clojure/clojurescript "1.7.170"] 
> > 
> > 
> > This release includes a major refactor of the build pipeline thanks to 
> > Juho Teperi. This change along with some greatly simplified 
> > recompilation logic will mean much faster cold build times for larger 
> > projects (some users have already reported >10X). 
> > 
> > 
> > This is a breaking change for existing tooling. You will need to 
> > upgrade lein-cljsbuild, lein-figwheel, and boot-cljs if you intend to 
> > adopt this version of ClojureScript. All the mentioned tools have 
> > already accounted for this change. Refer to the appropriate 
> > documentation for your tooling to determine which version number you 
> > should adopt. 
> > 
> > 
> > Other interesting changes and fixes include newer Google Closure 
> > Compiler and Library dependencies, self hosting tweaks, a Google 
> > Closure modules (:modules compiler option) regression, 
> > improved warnings, and minor REPL enhancements. 
> > 
> > 
> > As always feedback welcome! 
> > 
> > 
> > ### Enhancements 
> > * Refactor build pipeline 
> > * CLJS-1478: Self-host: Allow static-fns opt 
> > 
> > 
> > ### Changes 
> > * Generate larger range of random UUIDs 
> > * make browser REPL file reloads less chatty 
> > * CLJS-1475: indicate that cljs.reader/read is safe 
> > * CLJS-1470: Bump GCL Dependency 
> > * bump Google Closure dep 
> > 
> > 
> > ### Fixes 
> > * in system-time check that js/process.hrtime is actually a thing 
> > * CLJS-1228: cljs.util/topo-sort is polynomial on larger dependency 
> graphs 
> > * check that performance.now method actually exists 
> > * CLJS-1476: Self-host: Protocol prefixing broken for three- (or more) 
> segment namespaces 
> > * CLJS-1472 Patch for CLJS-1467 causes regression for nodejscli 
> > * CLJS-1469 :modules regression 
> > * CLJS-1445: Syntax error for var args in protocol methods 
> > * Warn if protocol impl methods do not match its protocol 
> > * CLJS-1451 Protocol impl do not support qualified method names 
> > * CLJS-1422: cljs.js/eval-str fails for ns form on node.js with simple 
> optimizations 
> > * CLJS-1423: self-host: Requiring analyzer/compiler breaks unchecked 
> Boolean 
> > * CLJS-1466: Improperly munged output path for GClosure JavaScript 
> > * CLJS-1467: Foreign Libraries not included when using :main with 
> :simple or :advanced 
>

-- 
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.


Re: ANN: ClojureScript 1.7.170, Enhanced Build Pipeline

2015-11-07 Thread Francis Avila
For future travelers.

If you use figwheel 0.5.0-SNAPSHOT you will get this exception:


clojure.lang.Compiler$CompilerException: java.lang.RuntimeException: No such 
var: ana/forms-seq*, compiling:(figwheel_sidecar/utils.clj:49:21)

figwheel 0.5.0-SNAPSHOT has a dependency on cljs 1.7.145 even though it needs 
1.7.170.

To resolve this error you must explicitly depend on clojurescript in your 
plugins. Example:

:plugins [[lein-figwheel "0.5.0-SNAPSHOT"]
  [org.clojure/clojurescript "1.7.170"]] ;; Overrides broken 
lein-figwheel dependency.

lein deps :tree shows cljs 1.7.170 is used.

So, 



On Saturday, November 7, 2015 at 3:30:05 AM UTC-6, Maria Geller wrote:
> Try using 0.5.0-SNAPSHOT for figwheel ;)
> 
> On Saturday, November 7, 2015 at 9:59:24 PM UTC+13, Francis Avila wrote:I'm 
> getting the following exception with figwheel builds (using 0.4.1):
> 
> 
> 
> java.lang.AbstractMethodError: Method 
> clojurescript_build/core/CompilableSourcePaths._find_sources(Ljava/lang/Object;)Ljava/lang/Object;
>  is abstract
> 
>  at clojurescript_build.core.CompilableSourcePaths._find_sources (core.clj:-1)
> 
> 
> 
> 
> 
> (cljsbuild works fine with version 1.1.1)
> 
> 
> 
> Nolan said "All the mentioned tools [inc. figwheel] have already accounted 
> for this change." I don't see any mention in the figwheel docs about cljs 
> 1.7.170 compatibility or any commit message that mentions it. Can anyone 
> confirm this is actually true for figwheel?
> 
> 
> 
> On Friday, November 6, 2015 at 6:05:19 AM UTC-6, David Nolen wrote:
> 
> > ClojureScript, the Clojure compiler that emits JavaScript source code.
> 
> > 
> 
> > 
> 
> > README and source code: https://github.com/clojure/clojurescript
> 
> > 
> 
> > 
> 
> > Leiningen dependency information:
> 
> > 
> 
> > 
> 
> >     [org.clojure/clojurescript "1.7.170"]
> 
> > 
> 
> > 
> 
> > This release includes a major refactor of the build pipeline thanks to
> 
> > Juho Teperi. This change along with some greatly simplified
> 
> > recompilation logic will mean much faster cold build times for larger
> 
> > projects (some users have already reported >10X).
> 
> > 
> 
> > 
> 
> > This is a breaking change for existing tooling. You will need to
> 
> > upgrade lein-cljsbuild, lein-figwheel, and boot-cljs if you intend to
> 
> > adopt this version of ClojureScript. All the mentioned tools have
> 
> > already accounted for this change. Refer to the appropriate
> 
> > documentation for your tooling to determine which version number you
> 
> > should adopt.
> 
> > 
> 
> > 
> 
> > Other interesting changes and fixes include newer Google Closure
> 
> > Compiler and Library dependencies, self hosting tweaks, a Google
> 
> > Closure modules (:modules compiler option) regression,
> 
> > improved warnings, and minor REPL enhancements.
> 
> > 
> 
> > 
> 
> > As always feedback welcome!
> 
> > 
> 
> > 
> 
> > ### Enhancements
> 
> > * Refactor build pipeline
> 
> > * CLJS-1478: Self-host: Allow static-fns opt
> 
> > 
> 
> > 
> 
> > ### Changes
> 
> > * Generate larger range of random UUIDs
> 
> > * make browser REPL file reloads less chatty
> 
> > * CLJS-1475: indicate that cljs.reader/read is safe
> 
> > * CLJS-1470: Bump GCL Dependency
> 
> > * bump Google Closure dep
> 
> > 
> 
> > 
> 
> > ### Fixes
> 
> > * in system-time check that js/process.hrtime is actually a thing
> 
> > * CLJS-1228: cljs.util/topo-sort is polynomial on larger dependency graphs
> 
> > * check that performance.now method actually exists
> 
> > * CLJS-1476: Self-host: Protocol prefixing broken for three- (or more) 
> > segment namespaces
> 
> > * CLJS-1472 Patch for CLJS-1467 causes regression for nodejscli
> 
> > * CLJS-1469 :modules regression
> 
> > * CLJS-1445: Syntax error for var args in protocol methods
> 
> > * Warn if protocol impl methods do not match its protocol
> 
> > * CLJS-1451 Protocol impl do not support qualified method names
> 
> > * CLJS-1422: cljs.js/eval-str fails for ns form on node.js with simple 
> > optimizations
> 
> > * CLJS-1423: self-host: Requiring analyzer/compiler breaks unchecked Boolean
> 
> > * CLJS-1466: Improperly munged output path for GClosure JavaScript
> 
> > * CLJS-1467: Foreign Libraries not included when using :main with :simple 
> > or :advanced

-- 
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.


Re: ANN: ClojureScript 1.7.170, Enhanced Build Pipeline

2015-11-07 Thread Francis Avila
I'm getting the following exception with figwheel builds (using 0.4.1):

java.lang.AbstractMethodError: Method 
clojurescript_build/core/CompilableSourcePaths._find_sources(Ljava/lang/Object;)Ljava/lang/Object;
 is abstract
 at clojurescript_build.core.CompilableSourcePaths._find_sources (core.clj:-1)


(cljsbuild works fine with version 1.1.1)

Nolan said "All the mentioned tools [inc. figwheel] have already accounted for 
this change." I don't see any mention in the figwheel docs about cljs 1.7.170 
compatibility or any commit message that mentions it. Can anyone confirm this 
is actually true for figwheel?

On Friday, November 6, 2015 at 6:05:19 AM UTC-6, David Nolen wrote:
> ClojureScript, the Clojure compiler that emits JavaScript source code.
> 
> 
> README and source code: https://github.com/clojure/clojurescript
> 
> 
> Leiningen dependency information:
> 
> 
>     [org.clojure/clojurescript "1.7.170"]
> 
> 
> This release includes a major refactor of the build pipeline thanks to
> Juho Teperi. This change along with some greatly simplified
> recompilation logic will mean much faster cold build times for larger
> projects (some users have already reported >10X).
> 
> 
> This is a breaking change for existing tooling. You will need to
> upgrade lein-cljsbuild, lein-figwheel, and boot-cljs if you intend to
> adopt this version of ClojureScript. All the mentioned tools have
> already accounted for this change. Refer to the appropriate
> documentation for your tooling to determine which version number you
> should adopt.
> 
> 
> Other interesting changes and fixes include newer Google Closure
> Compiler and Library dependencies, self hosting tweaks, a Google
> Closure modules (:modules compiler option) regression,
> improved warnings, and minor REPL enhancements.
> 
> 
> As always feedback welcome!
> 
> 
> ### Enhancements
> * Refactor build pipeline
> * CLJS-1478: Self-host: Allow static-fns opt
> 
> 
> ### Changes
> * Generate larger range of random UUIDs
> * make browser REPL file reloads less chatty
> * CLJS-1475: indicate that cljs.reader/read is safe
> * CLJS-1470: Bump GCL Dependency
> * bump Google Closure dep
> 
> 
> ### Fixes
> * in system-time check that js/process.hrtime is actually a thing
> * CLJS-1228: cljs.util/topo-sort is polynomial on larger dependency graphs
> * check that performance.now method actually exists
> * CLJS-1476: Self-host: Protocol prefixing broken for three- (or more) 
> segment namespaces
> * CLJS-1472 Patch for CLJS-1467 causes regression for nodejscli
> * CLJS-1469 :modules regression
> * CLJS-1445: Syntax error for var args in protocol methods
> * Warn if protocol impl methods do not match its protocol
> * CLJS-1451 Protocol impl do not support qualified method names
> * CLJS-1422: cljs.js/eval-str fails for ns form on node.js with simple 
> optimizations
> * CLJS-1423: self-host: Requiring analyzer/compiler breaks unchecked Boolean
> * CLJS-1466: Improperly munged output path for GClosure JavaScript
> * CLJS-1467: Foreign Libraries not included when using :main with :simple or 
> :advanced

-- 
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.


Re: ANN: ClojureScript 1.7.170, Enhanced Build Pipeline

2015-11-06 Thread Nathan B
Just some early results on our builds show a roughly 30% decrease in compile 
time when using cljsbuild auto. That helps a lot during development.

Awesome work as usual, thanks!

-- 
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.


Re: ANN: ClojureScript 1.7.145

2015-10-17 Thread Tony Tam
I believe something broke in :modules

Ran your example 
http://swannodette.github.io/2015/02/23/hello-google-closure-modules/ with .145 
and got 

java.lang.NullPointerException
at 
com.google.javascript.jscomp.JSModule.sortInputsByDeps(JSModule.java:263)
at cljs.closure$optimize_modules$fn__3785.invoke(closure.clj:974)
at cljs.closure$optimize_modules.doInvoke(closure.clj:973)
at clojure.lang.RestFn.applyTo(RestFn.java:139)
at clojure.core$apply.invoke(core.clj:632)
at cljs.closure$build.invoke(closure.clj:1709)
at cljs.closure$build.invoke(closure.clj:1636)
at cljsbuild.compiler$compile_cljs$fn__4128.invoke(compiler.clj:81)
at cljsbuild.compiler$compile_cljs.invoke(compiler.clj:80)
at cljsbuild.compiler$run_compiler.invoke(compiler.clj:187)
at 
user$eval4262$iter__4298__4302$fn__4303$fn__4321.invoke(form-init787604217815991403.clj:1)
at 
user$eval4262$iter__4298__4302$fn__4303.invoke(form-init787604217815991403.clj:1)
at clojure.lang.LazySeq.sval(LazySeq.java:40)
at clojure.lang.LazySeq.seq(LazySeq.java:49)
at clojure.lang.RT.seq(RT.java:507)
at clojure.core$seq__4128.invoke(core.clj:137)
at clojure.core$dorun.invoke(core.clj:3009)
at clojure.core$doall.invoke(core.clj:3025)
at user$eval4262.invoke(form-init787604217815991403.clj:1)
at clojure.lang.Compiler.eval(Compiler.java:6782)
at clojure.lang.Compiler.eval(Compiler.java:6772)
at clojure.lang.Compiler.load(Compiler.java:7227)
at clojure.lang.Compiler.loadFile(Compiler.java:7165)
at clojure.main$load_script.invoke(main.clj:275)
at clojure.main$init_opt.invoke(main.clj:280)
at clojure.main$initialize.invoke(main.clj:308)
at clojure.main$null_opt.invoke(main.clj:343)
at clojure.main$main.doInvoke(main.clj:421)
at clojure.lang.RestFn.invoke(RestFn.java:421)
at clojure.lang.Var.invoke(Var.java:383)
at clojure.lang.AFn.applyToHelper(AFn.java:156)
at clojure.lang.Var.applyTo(Var.java:700)
at clojure.main.main(main.java:37)

Reverting to .122 works

-- 
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.


Re: [ClojureScript] Re: ANN: ClojureScript 1.7.145

2015-10-13 Thread Daniel Compton
I should mention, not all usages of c.string/replace will break :), but it
does change the behaviour when using a function as the replacement value.
You can see more details at CLJS-1304
.

On Wed, Oct 14, 2015 at 5:10 PM Daniel Compton <
daniel.compton.li...@gmail.com> wrote:

> Hi folks
>
> Just wanted to mention that "CLJS-1304: c.string/replace differs from
> Clojure" is a breaking change. It was first introduced in 1.7.58, but that
> was marked as pre-release, 1.7.145 is the first stable version with the
> patch. It affected us through cljs-time
> . It's probably
> worth checking any usages of string/replace in your code (and it's
> dependencies?) still work as expected.
>
> On Wed, Oct 14, 2015 at 9:46 AM David Nolen 
> wrote:
>
>> It's an innocuous warning from badly annotated code from the Google
>> Closure Library. Annoying but not important.
>>
>> We'll probably cut a followup release with a bumped GCL dependency once
>> it's clear there are not more pressing problems.
>>
>> David
>>
>> On Tue, Oct 13, 2015 at 3:58 PM, Nathan B  wrote:
>>
>>> On Tuesday, October 13, 2015 at 8:02:07 AM UTC-7, David Nolen wrote:
>>> > ClojureScript, the Clojure compiler that emits JavaScript source code.
>>> >
>>> >
>>> > README and source code: https://github.com/clojure/clojurescript
>>> >
>>> >
>>> > Leiningen dependency information:
>>> >
>>> >
>>> > [org.clojure/clojurescript "1.7.145"]
>>> >
>>> >
>>> > This release updates the Google Closure Compiler dependency and
>>> > includes many small enhancements and fixes.
>>> >
>>> >
>>> > As always feedback welcome!
>>> >
>>> >
>>> > ## 1.7.145
>>> >
>>> >
>>> > ### Enhancements
>>> > * CLJS-1455: high resoluting timing where available
>>> > * CLJS-1403: Add updated Windows shell scripts
>>> > * CLJS-1017: support :main for :advanced and :simple builds
>>> > * CLJS-1409: allow basic type checking of protocols
>>> > * CLJS-1404: var resolution for @param and @return
>>> > * CLJS-1395: Node.js REPL debug port support
>>> >
>>> >
>>> > ### Changes
>>> > * CLJS-1464: docstrings for transducer arities
>>> > * Latest Google Closure Compiler dependency
>>> > * Node.js REPL sets *target*
>>> > * add cljs.analyzer.api/get-js-index
>>> > * add goog.object to list of implicit namespaces
>>> > * CLJS-1393: turn *target* into goog-define
>>> >
>>> >
>>> > ### Fixes
>>> > * UUID hashing
>>> > * CLJS-1465: fix *main-cli-fn* doc
>>> > * CLJS-1456: bad require forms at REPL can corrupt REPL session
>>> > * CLJS-1449: self host :require-macros bug
>>> > * CLJS-1462: self host regression
>>> > * Add header bits for Node.js under :none
>>> > * CLJS-1457: unicode symbol munging
>>> > * CLJS-1442: self host, docstring typos
>>> > * CLJS-1441: portable clojure.string
>>> > * CLJS-1436: self-host, dep ns not loaded
>>> > * CLJS-1440: self-host, eval support in Web Workers
>>> > * CLJS-1400: self-host, doseq broken
>>> > * CLJS-1435: self-host, bad lexical scope
>>> > * CLJS-1434: clojure.walk no longer preseves meta
>>> > * CLJS-1432: '$ and '. symbol collision under advanced
>>> > * CLJS-1304: c.string/replace differs from Clojure
>>> > * CLJS-1430: bad code gen for self host .toString method calls
>>> > * CLJS-1353: range inconsistent with Clojure
>>> > * CLJS-1431: load-file doc output missing arglists
>>> > * CLJS-1433: cljs.js/*eval-fn* passed nil :cache
>>> > * CLJS-1299: add more support for literals to cljs.reader
>>> > * CLJS-1417: cljs.js require macros failures
>>> > * CLJS-1416: cljs.util/last-modified leaks files
>>> > * CLJS-1481: self host defprotocol regression
>>> > * CLJS-1414: only munge @param & @return if type checking
>>> > * CLJS-1401: unify runtime & compile UUID hashing
>>> > * CLJS-1395: no trailing semicolons after JS comment
>>> > * CLJS-1394: reify gensyms can clash
>>>
>>> When I compile in advanced mode, I am getting the following warning:
>>>
>>> WARNING - Parse error. unknown @suppress parameter:
>>> checkStructDictInheritance
>>> >>  * @suppress {checkStructDictInheritance}
>>>
>>> --
>>> 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 clojurescript+unsubscr...@googlegroups.com.
>>> To post to this group, send email to clojurescr...@googlegroups.com.
>>> Visit this group at http://groups.google.com/group/clojurescript.
>>>
>>
>> --
>> 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 clojurescript+unsubscr...@googlegroups.com.
>> To post to this group, send email to clojur

Re: [ClojureScript] Re: ANN: ClojureScript 1.7.145

2015-10-13 Thread Daniel Compton
Hi folks

Just wanted to mention that "CLJS-1304: c.string/replace differs from
Clojure" is a breaking change. It was first introduced in 1.7.58, but that
was marked as pre-release, 1.7.145 is the first stable version with the
patch. It affected us through cljs-time
. It's probably worth
checking any usages of string/replace in your code (and it's dependencies?)
still work as expected.

On Wed, Oct 14, 2015 at 9:46 AM David Nolen  wrote:

> It's an innocuous warning from badly annotated code from the Google
> Closure Library. Annoying but not important.
>
> We'll probably cut a followup release with a bumped GCL dependency once
> it's clear there are not more pressing problems.
>
> David
>
> On Tue, Oct 13, 2015 at 3:58 PM, Nathan B  wrote:
>
>> On Tuesday, October 13, 2015 at 8:02:07 AM UTC-7, David Nolen wrote:
>> > ClojureScript, the Clojure compiler that emits JavaScript source code.
>> >
>> >
>> > README and source code: https://github.com/clojure/clojurescript
>> >
>> >
>> > Leiningen dependency information:
>> >
>> >
>> > [org.clojure/clojurescript "1.7.145"]
>> >
>> >
>> > This release updates the Google Closure Compiler dependency and
>> > includes many small enhancements and fixes.
>> >
>> >
>> > As always feedback welcome!
>> >
>> >
>> > ## 1.7.145
>> >
>> >
>> > ### Enhancements
>> > * CLJS-1455: high resoluting timing where available
>> > * CLJS-1403: Add updated Windows shell scripts
>> > * CLJS-1017: support :main for :advanced and :simple builds
>> > * CLJS-1409: allow basic type checking of protocols
>> > * CLJS-1404: var resolution for @param and @return
>> > * CLJS-1395: Node.js REPL debug port support
>> >
>> >
>> > ### Changes
>> > * CLJS-1464: docstrings for transducer arities
>> > * Latest Google Closure Compiler dependency
>> > * Node.js REPL sets *target*
>> > * add cljs.analyzer.api/get-js-index
>> > * add goog.object to list of implicit namespaces
>> > * CLJS-1393: turn *target* into goog-define
>> >
>> >
>> > ### Fixes
>> > * UUID hashing
>> > * CLJS-1465: fix *main-cli-fn* doc
>> > * CLJS-1456: bad require forms at REPL can corrupt REPL session
>> > * CLJS-1449: self host :require-macros bug
>> > * CLJS-1462: self host regression
>> > * Add header bits for Node.js under :none
>> > * CLJS-1457: unicode symbol munging
>> > * CLJS-1442: self host, docstring typos
>> > * CLJS-1441: portable clojure.string
>> > * CLJS-1436: self-host, dep ns not loaded
>> > * CLJS-1440: self-host, eval support in Web Workers
>> > * CLJS-1400: self-host, doseq broken
>> > * CLJS-1435: self-host, bad lexical scope
>> > * CLJS-1434: clojure.walk no longer preseves meta
>> > * CLJS-1432: '$ and '. symbol collision under advanced
>> > * CLJS-1304: c.string/replace differs from Clojure
>> > * CLJS-1430: bad code gen for self host .toString method calls
>> > * CLJS-1353: range inconsistent with Clojure
>> > * CLJS-1431: load-file doc output missing arglists
>> > * CLJS-1433: cljs.js/*eval-fn* passed nil :cache
>> > * CLJS-1299: add more support for literals to cljs.reader
>> > * CLJS-1417: cljs.js require macros failures
>> > * CLJS-1416: cljs.util/last-modified leaks files
>> > * CLJS-1481: self host defprotocol regression
>> > * CLJS-1414: only munge @param & @return if type checking
>> > * CLJS-1401: unify runtime & compile UUID hashing
>> > * CLJS-1395: no trailing semicolons after JS comment
>> > * CLJS-1394: reify gensyms can clash
>>
>> When I compile in advanced mode, I am getting the following warning:
>>
>> WARNING - Parse error. unknown @suppress parameter:
>> checkStructDictInheritance
>> >>  * @suppress {checkStructDictInheritance}
>>
>> --
>> 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 clojurescript+unsubscr...@googlegroups.com.
>> To post to this group, send email to clojurescr...@googlegroups.com.
>> Visit this group at http://groups.google.com/group/clojurescript.
>>
>
> --
> 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 clojurescript+unsubscr...@googlegroups.com.
> To post to this group, send email to clojurescr...@googlegroups.com.
> Visit this group at http://groups.google.com/group/clojurescript.
>
-- 
Daniel

-- 
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, 

Re: [ClojureScript] Re: ANN: ClojureScript 1.7.145

2015-10-13 Thread David Nolen
It's an innocuous warning from badly annotated code from the Google Closure
Library. Annoying but not important.

We'll probably cut a followup release with a bumped GCL dependency once
it's clear there are not more pressing problems.

David

On Tue, Oct 13, 2015 at 3:58 PM, Nathan B  wrote:

> On Tuesday, October 13, 2015 at 8:02:07 AM UTC-7, David Nolen wrote:
> > ClojureScript, the Clojure compiler that emits JavaScript source code.
> >
> >
> > README and source code: https://github.com/clojure/clojurescript
> >
> >
> > Leiningen dependency information:
> >
> >
> > [org.clojure/clojurescript "1.7.145"]
> >
> >
> > This release updates the Google Closure Compiler dependency and
> > includes many small enhancements and fixes.
> >
> >
> > As always feedback welcome!
> >
> >
> > ## 1.7.145
> >
> >
> > ### Enhancements
> > * CLJS-1455: high resoluting timing where available
> > * CLJS-1403: Add updated Windows shell scripts
> > * CLJS-1017: support :main for :advanced and :simple builds
> > * CLJS-1409: allow basic type checking of protocols
> > * CLJS-1404: var resolution for @param and @return
> > * CLJS-1395: Node.js REPL debug port support
> >
> >
> > ### Changes
> > * CLJS-1464: docstrings for transducer arities
> > * Latest Google Closure Compiler dependency
> > * Node.js REPL sets *target*
> > * add cljs.analyzer.api/get-js-index
> > * add goog.object to list of implicit namespaces
> > * CLJS-1393: turn *target* into goog-define
> >
> >
> > ### Fixes
> > * UUID hashing
> > * CLJS-1465: fix *main-cli-fn* doc
> > * CLJS-1456: bad require forms at REPL can corrupt REPL session
> > * CLJS-1449: self host :require-macros bug
> > * CLJS-1462: self host regression
> > * Add header bits for Node.js under :none
> > * CLJS-1457: unicode symbol munging
> > * CLJS-1442: self host, docstring typos
> > * CLJS-1441: portable clojure.string
> > * CLJS-1436: self-host, dep ns not loaded
> > * CLJS-1440: self-host, eval support in Web Workers
> > * CLJS-1400: self-host, doseq broken
> > * CLJS-1435: self-host, bad lexical scope
> > * CLJS-1434: clojure.walk no longer preseves meta
> > * CLJS-1432: '$ and '. symbol collision under advanced
> > * CLJS-1304: c.string/replace differs from Clojure
> > * CLJS-1430: bad code gen for self host .toString method calls
> > * CLJS-1353: range inconsistent with Clojure
> > * CLJS-1431: load-file doc output missing arglists
> > * CLJS-1433: cljs.js/*eval-fn* passed nil :cache
> > * CLJS-1299: add more support for literals to cljs.reader
> > * CLJS-1417: cljs.js require macros failures
> > * CLJS-1416: cljs.util/last-modified leaks files
> > * CLJS-1481: self host defprotocol regression
> > * CLJS-1414: only munge @param & @return if type checking
> > * CLJS-1401: unify runtime & compile UUID hashing
> > * CLJS-1395: no trailing semicolons after JS comment
> > * CLJS-1394: reify gensyms can clash
>
> When I compile in advanced mode, I am getting the following warning:
>
> WARNING - Parse error. unknown @suppress parameter:
> checkStructDictInheritance
> >>  * @suppress {checkStructDictInheritance}
>
> --
> 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 clojurescript+unsubscr...@googlegroups.com.
> To post to this group, send email to clojurescr...@googlegroups.com.
> Visit this group at http://groups.google.com/group/clojurescript.
>

-- 
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.


Re: ANN: ClojureScript 1.7.145

2015-10-13 Thread Nathan B
On Tuesday, October 13, 2015 at 8:02:07 AM UTC-7, David Nolen wrote:
> ClojureScript, the Clojure compiler that emits JavaScript source code.
> 
> 
> README and source code: https://github.com/clojure/clojurescript
> 
> 
> Leiningen dependency information:
> 
> 
>     [org.clojure/clojurescript "1.7.145"]
> 
> 
> This release updates the Google Closure Compiler dependency and 
> includes many small enhancements and fixes.
> 
> 
> As always feedback welcome!
> 
> 
> ## 1.7.145
> 
> 
> ### Enhancements
> * CLJS-1455: high resoluting timing where available
> * CLJS-1403: Add updated Windows shell scripts
> * CLJS-1017: support :main for :advanced and :simple builds
> * CLJS-1409: allow basic type checking of protocols
> * CLJS-1404: var resolution for @param and @return
> * CLJS-1395: Node.js REPL debug port support
> 
> 
> ### Changes
> * CLJS-1464: docstrings for transducer arities
> * Latest Google Closure Compiler dependency
> * Node.js REPL sets *target*
> * add cljs.analyzer.api/get-js-index
> * add goog.object to list of implicit namespaces
> * CLJS-1393: turn *target* into goog-define
> 
> 
> ### Fixes
> * UUID hashing
> * CLJS-1465: fix *main-cli-fn* doc
> * CLJS-1456: bad require forms at REPL can corrupt REPL session
> * CLJS-1449: self host :require-macros bug
> * CLJS-1462: self host regression
> * Add header bits for Node.js under :none
> * CLJS-1457: unicode symbol munging
> * CLJS-1442: self host, docstring typos
> * CLJS-1441: portable clojure.string
> * CLJS-1436: self-host, dep ns not loaded
> * CLJS-1440: self-host, eval support in Web Workers
> * CLJS-1400: self-host, doseq broken
> * CLJS-1435: self-host, bad lexical scope
> * CLJS-1434: clojure.walk no longer preseves meta
> * CLJS-1432: '$ and '. symbol collision under advanced
> * CLJS-1304: c.string/replace differs from Clojure
> * CLJS-1430: bad code gen for self host .toString method calls
> * CLJS-1353: range inconsistent with Clojure
> * CLJS-1431: load-file doc output missing arglists
> * CLJS-1433: cljs.js/*eval-fn* passed nil :cache
> * CLJS-1299: add more support for literals to cljs.reader
> * CLJS-1417: cljs.js require macros failures
> * CLJS-1416: cljs.util/last-modified leaks files
> * CLJS-1481: self host defprotocol regression
> * CLJS-1414: only munge @param & @return if type checking
> * CLJS-1401: unify runtime & compile UUID hashing
> * CLJS-1395: no trailing semicolons after JS comment
> * CLJS-1394: reify gensyms can clash

When I compile in advanced mode, I am getting the following warning:

WARNING - Parse error. unknown @suppress parameter: checkStructDictInheritance
>>  * @suppress {checkStructDictInheritance}

-- 
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.


Re: ANN: ClojureScript 1.7.28 - Optional Self Hosting

2015-08-07 Thread Matthew Molloy
Sorry, what I meant was can bootstrapped ClojureScript do (:require-macros ...) 
without the JVM.  Perhaps you can clarify that FAQ to say that.

-- 
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.


Re: ANN: ClojureScript 1.7.28 - Optional Self Hosting

2015-08-07 Thread David Nolen
No. ClojureScript's macro system isn't going to change.

See
https://github.com/clojure/clojurescript/wiki/Bootstrapped-ClojureScript-FAQ
.

David

On Thu, Aug 6, 2015 at 11:27 PM, Matthew Molloy  wrote:

> Hi David,
>
> Are macros supported directly within clojurescript then?  I'm having some
> trouble compiling a macro via defmacro.
>
> Matt
>
> On Saturday, August 1, 2015 at 1:52:23 AM UTC+8, David Nolen wrote:
> > ClojureScript, the Clojure compiler that emits JavaScript source code.
> >
> >
> > README and source code: https://github.com/clojure/clojurescript
> >
> >
> > Leiningen dependency information:
> >
> >
> > [org.clojure/clojurescript "1.7.28"]
> >
> >
> > ClojureScript now has a proper version number. This version number is
> > designed to reflect feature parity with Clojure.
> >
> >
> > The primary new feature of this release is optional
> > self hosting. ClojureScript can now run either on the JVM or directly on
> > JavaScript. Please refer to the docstrings in the new cljs.js
> > namespace for details on this functionality. cljs.js is designed to
> > enable new use cases (iOS, Android, interactive tutorials, snippet
> > sharing) not well served by the default compilation model.
> >
> >
> > The release also includes numerous bug fixes and enhancements.
> >
> >
> > This release also bumps the Clojure dependency to 1.7.0 and
> > tools.reader to 0.10.0-alpha3.
> >
> >
> > As always feedback welcome!
> >
> >
> > ## 1.7.28
> >
> >
> > ## Enhancements
> > * New namespace cljs.js provides analysis, compilation, and eval
> > * CLJS-1360: Refactor JS module processing to work with recent Google
> Closure compiler changes
> > * CLJS-1282: Add a :pprint option to the default reporter in cljs.test
> > * CLJS-1308: :analyze-path should be extended to take a vector of paths
> > * CLJS-1230: ES 2015 Module Processing
> > * CLJS-1231: AMD Module Processing
> > * CLJS-1092: CommonJS Module processing
> >
> >
> > ## Changes
> > * CLJS-1376: Printing in a tagged literal data form
> > * CLJS-836: Replace seq-based iterators with direct iterator for all
> non-seq collections that use SeqIterator
> > * CLJS-1367: Expose default-warning-handler and warning-enabled?
> > * CLJS-1267: Added the :end-test-all-vars and :end-test-vars events to
> have end events for all cljs.test api functions
> > * CLJS-1337: Move parse ns side-effects into a separate compiler pass
> > * CLJS-1247: Split out error printing from regular printing
> > * CLJS-1329: Support for reading #js tagged literals in bootstrap
> > * CLJS-1191: rebased patch Update clojure.walk to the current version on
> clojure
> > * CLJS-1321: remove getNamespace & getName method calls from defrecord
> > * CLJS-1281: Preserve test order
> > * CLJS-934: In the REPL return vars after defs
> >
> >
> > ## Fixes
> > * CLJS-1316 let does not detect invalid binding vector when it contains
> destructuring
> > * CLJS-1033: take a drop accept nil as n argument
> > * CLJS-1324: Compiler fails to raise warning/error when invoking a
> keyword without arguments
> > * CLJS-1352: cljs.js: Allow conditional readers
> > * CLJS-1348: meta is printing for def at REPL
> > * CLJS-1342: cljs.reader/read-string should throw Error when not called
> with string
> > * CLJS-1341: Fix CommonJS conversion bug
> > * CLJS-1333: Analyze meta on quoted symbols
> > * CLJS-1210: Javascript built-in arguments replaces nil arguments
> locally defined by let
> > * CLJS-1248: alter-meta! does not work on vars
> > * CLJS-1276: var equality differs from Clojure
> > * CLJS-1310: ns libspec error message misses :import
> > * CLJS-428: Added step to escape docstrings with */ and associated test
> > * CLJS-1331: Regex literal emits invalid JS
> > * CLJS-1338: NPE in confirm-var-exists if suffix is ".."
> > * CLJS-1319: Cannot locate module namespace when filename contains dash
> > * CLJS-1317: Incremental compilation issues for :nodejs target
> > * CLJS-1227 Raise error when if form has more than 4 statements
> > * CLJS-1306: Browser REPL :asset-path with leading slash breaks source
> map support
> > * CLJS-1290: :refer does not work with Closure JS namespaces
> > * CLJS-1307: Doc for ns missing
> > * CLJS-1301: local :foreign-libs are not picked up the first time
> browser REPL is started
>
> --
> 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.
>

-- 
Y

Re: ANN: ClojureScript 1.7.28 - Optional Self Hosting

2015-08-06 Thread Matthew Molloy
Hi David,

Are macros supported directly within clojurescript then?  I'm having some 
trouble compiling a macro via defmacro.

Matt

On Saturday, August 1, 2015 at 1:52:23 AM UTC+8, David Nolen wrote:
> ClojureScript, the Clojure compiler that emits JavaScript source code.
> 
> 
> README and source code: https://github.com/clojure/clojurescript
> 
> 
> Leiningen dependency information:
> 
> 
>     [org.clojure/clojurescript "1.7.28"]
> 
> 
> ClojureScript now has a proper version number. This version number is
> designed to reflect feature parity with Clojure.
> 
> 
> The primary new feature of this release is optional
> self hosting. ClojureScript can now run either on the JVM or directly on
> JavaScript. Please refer to the docstrings in the new cljs.js
> namespace for details on this functionality. cljs.js is designed to
> enable new use cases (iOS, Android, interactive tutorials, snippet
> sharing) not well served by the default compilation model.
> 
> 
> The release also includes numerous bug fixes and enhancements.
> 
> 
> This release also bumps the Clojure dependency to 1.7.0 and
> tools.reader to 0.10.0-alpha3.
> 
> 
> As always feedback welcome!
> 
> 
> ## 1.7.28
> 
> 
> ## Enhancements
> * New namespace cljs.js provides analysis, compilation, and eval
> * CLJS-1360: Refactor JS module processing to work with recent Google Closure 
> compiler changes
> * CLJS-1282: Add a :pprint option to the default reporter in cljs.test
> * CLJS-1308: :analyze-path should be extended to take a vector of paths
> * CLJS-1230: ES 2015 Module Processing
> * CLJS-1231: AMD Module Processing
> * CLJS-1092: CommonJS Module processing
> 
> 
> ## Changes
> * CLJS-1376: Printing in a tagged literal data form
> * CLJS-836: Replace seq-based iterators with direct iterator for all non-seq 
> collections that use SeqIterator
> * CLJS-1367: Expose default-warning-handler and warning-enabled?
> * CLJS-1267: Added the :end-test-all-vars and :end-test-vars events to have 
> end events for all cljs.test api functions
> * CLJS-1337: Move parse ns side-effects into a separate compiler pass
> * CLJS-1247: Split out error printing from regular printing
> * CLJS-1329: Support for reading #js tagged literals in bootstrap
> * CLJS-1191: rebased patch Update clojure.walk to the current version on 
> clojure
> * CLJS-1321: remove getNamespace & getName method calls from defrecord
> * CLJS-1281: Preserve test order
> * CLJS-934: In the REPL return vars after defs
> 
> 
> ## Fixes
> * CLJS-1316 let does not detect invalid binding vector when it contains 
> destructuring
> * CLJS-1033: take a drop accept nil as n argument
> * CLJS-1324: Compiler fails to raise warning/error when invoking a keyword 
> without arguments
> * CLJS-1352: cljs.js: Allow conditional readers
> * CLJS-1348: meta is printing for def at REPL
> * CLJS-1342: cljs.reader/read-string should throw Error when not called with 
> string
> * CLJS-1341: Fix CommonJS conversion bug
> * CLJS-1333: Analyze meta on quoted symbols
> * CLJS-1210: Javascript built-in arguments replaces nil arguments locally 
> defined by let
> * CLJS-1248: alter-meta! does not work on vars
> * CLJS-1276: var equality differs from Clojure
> * CLJS-1310: ns libspec error message misses :import
> * CLJS-428: Added step to escape docstrings with */ and associated test
> * CLJS-1331: Regex literal emits invalid JS
> * CLJS-1338: NPE in confirm-var-exists if suffix is ".."
> * CLJS-1319: Cannot locate module namespace when filename contains dash
> * CLJS-1317: Incremental compilation issues for :nodejs target
> * CLJS-1227 Raise error when if form has more than 4 statements
> * CLJS-1306: Browser REPL :asset-path with leading slash breaks source map 
> support
> * CLJS-1290: :refer does not work with Closure JS namespaces
> * CLJS-1307: Doc for ns missing
> * CLJS-1301: local :foreign-libs are not picked up the first time browser 
> REPL is started

-- 
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.


Re: ANN: ClojureScript 1.7.28 - Optional Self Hosting

2015-07-31 Thread Shaun LeBron
On Friday, July 31, 2015 at 12:52:23 PM UTC-5, David Nolen wrote:
> ClojureScript, the Clojure compiler that emits JavaScript source code.
> 
> 
> README and source code: https://github.com/clojure/clojurescript
> 
> 
> Leiningen dependency information:
> 
> 
>     [org.clojure/clojurescript "1.7.28"]
> 
> 
> ClojureScript now has a proper version number. This version number is
> designed to reflect feature parity with Clojure.
> 
> 
> The primary new feature of this release is optional
> self hosting. ClojureScript can now run either on the JVM or directly on
> JavaScript. Please refer to the docstrings in the new cljs.js
> namespace for details on this functionality. cljs.js is designed to
> enable new use cases (iOS, Android, interactive tutorials, snippet
> sharing) not well served by the default compilation model.
> 
> 
> The release also includes numerous bug fixes and enhancements.
> 
> 
> This release also bumps the Clojure dependency to 1.7.0 and
> tools.reader to 0.10.0-alpha3.
> 
> 
> As always feedback welcome!
> 
> 
> ## 1.7.28
> 
> 
> ## Enhancements
> * New namespace cljs.js provides analysis, compilation, and eval
> * CLJS-1360: Refactor JS module processing to work with recent Google Closure 
> compiler changes
> * CLJS-1282: Add a :pprint option to the default reporter in cljs.test
> * CLJS-1308: :analyze-path should be extended to take a vector of paths
> * CLJS-1230: ES 2015 Module Processing
> * CLJS-1231: AMD Module Processing
> * CLJS-1092: CommonJS Module processing
> 
> 
> ## Changes
> * CLJS-1376: Printing in a tagged literal data form
> * CLJS-836: Replace seq-based iterators with direct iterator for all non-seq 
> collections that use SeqIterator
> * CLJS-1367: Expose default-warning-handler and warning-enabled?
> * CLJS-1267: Added the :end-test-all-vars and :end-test-vars events to have 
> end events for all cljs.test api functions
> * CLJS-1337: Move parse ns side-effects into a separate compiler pass
> * CLJS-1247: Split out error printing from regular printing
> * CLJS-1329: Support for reading #js tagged literals in bootstrap
> * CLJS-1191: rebased patch Update clojure.walk to the current version on 
> clojure
> * CLJS-1321: remove getNamespace & getName method calls from defrecord
> * CLJS-1281: Preserve test order
> * CLJS-934: In the REPL return vars after defs
> 
> 
> ## Fixes
> * CLJS-1316 let does not detect invalid binding vector when it contains 
> destructuring
> * CLJS-1033: take a drop accept nil as n argument
> * CLJS-1324: Compiler fails to raise warning/error when invoking a keyword 
> without arguments
> * CLJS-1352: cljs.js: Allow conditional readers
> * CLJS-1348: meta is printing for def at REPL
> * CLJS-1342: cljs.reader/read-string should throw Error when not called with 
> string
> * CLJS-1341: Fix CommonJS conversion bug
> * CLJS-1333: Analyze meta on quoted symbols
> * CLJS-1210: Javascript built-in arguments replaces nil arguments locally 
> defined by let
> * CLJS-1248: alter-meta! does not work on vars
> * CLJS-1276: var equality differs from Clojure
> * CLJS-1310: ns libspec error message misses :import
> * CLJS-428: Added step to escape docstrings with */ and associated test
> * CLJS-1331: Regex literal emits invalid JS
> * CLJS-1338: NPE in confirm-var-exists if suffix is ".."
> * CLJS-1319: Cannot locate module namespace when filename contains dash
> * CLJS-1317: Incremental compilation issues for :nodejs target
> * CLJS-1227 Raise error when if form has more than 4 statements
> * CLJS-1306: Browser REPL :asset-path with leading slash breaks source map 
> support
> * CLJS-1290: :refer does not work with Closure JS namespaces
> * CLJS-1307: Doc for ns missing
> * CLJS-1301: local :foreign-libs are not picked up the first time browser 
> REPL is started

1.7.28 API docs updated: 
https://github.com/cljsinfo/cljs-api-docs/blob/1.7.28/INDEX.md

-- 
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.


Re: ANN: ClojureScript 0.0-3308, fixes & enhancements

2015-07-27 Thread Adam Morgan
After running 
lein new mies test

and then
scripts/watch

I am getting the following exception:

π  ./scripts/watch
Building ...
Reading analysis cache for 
jar:file:/Users/ajmorgan/.m2/repository/org/clojure/clojurescript/0.0-3308/clojurescript-0.0-3308-aot.jar!/cljs/core.cljs
Compiling src/test/core.cljs
Analyzing 
jar:file:/Users/ajmorgan/.m2/repository/org/clojure/clojurescript/0.0-3308/clojurescript-0.0-3308-aot.jar!/clojure/browser/repl.cljs
Analyzing 
jar:file:/Users/ajmorgan/.m2/repository/org/clojure/clojurescript/0.0-3308/clojurescript-0.0-3308-aot.jar!/clojure/browser/net.cljs
Analyzing 
jar:file:/Users/ajmorgan/.m2/repository/org/clojure/clojurescript/0.0-3308/clojurescript-0.0-3308-aot.jar!/clojure/browser/event.cljs
Analyzing 
jar:file:/Users/ajmorgan/.m2/repository/org/clojure/clojurescript/0.0-3308/clojurescript-0.0-3308-aot.jar!/cljs/repl.cljs
Compiling out/cljs/core.cljs
Using cached cljs.core out/cljs/core.cljs
Compiling out/clojure/browser/repl.cljs
Compiling out/clojure/browser/event.cljs
Compiling out/cljs/repl.cljs
Compiling out/clojure/browser/net.cljs
java.lang.NoSuchMethodError: 
cljs.js_deps.IJavaScript._closure_lib_QMARK_()Ljava/lang/Object;
at cljs.closure$rel_output_path.invoke(closure.clj:1155)
at cljs.closure$write_javascript.invoke(closure.clj:1177)
at cljs.closure$source_on_disk.invoke(closure.clj:1205)
at cljs.closure$output_unoptimized$fn__3061.invoke(closure.clj:1239)
at clojure.core$map$fn__4553.invoke(core.clj:2624)
at clojure.lang.LazySeq.sval(LazySeq.java:40)
at clojure.lang.LazySeq.seq(LazySeq.java:49)
at clojure.lang.RT.seq(RT.java:507)
at clojure.core$seq__4128.invoke(core.clj:137)
at clojure.core$filter$fn__4580.invoke(core.clj:2679)
at clojure.lang.LazySeq.sval(LazySeq.java:40)
at clojure.lang.LazySeq.seq(LazySeq.java:49)
at clojure.lang.RT.seq(RT.java:507)
at clojure.core$seq__4128.invoke(core.clj:137)
at clojure.core$map$fn__4553.invoke(core.clj:2616)
at clojure.lang.LazySeq.sval(LazySeq.java:40)
at clojure.lang.LazySeq.seq(LazySeq.java:49)
at clojure.lang.RT.seq(RT.java:507)
at clojure.core$seq__4128.invoke(core.clj:137)
at clojure.core$apply.invoke(core.clj:630)
at cljs.closure$deps_file.invoke(closure.clj:1041)
at cljs.closure$output_deps_file.invoke(closure.clj:1061)
at cljs.closure$output_unoptimized.doInvoke(closure.clj:1247)
at clojure.lang.RestFn.applyTo(RestFn.java:139)
at clojure.core$apply.invoke(core.clj:632)
at cljs.closure$build.invoke(closure.clj:1519)
at cljs.closure$watch$buildf__3163.invoke(closure.clj:1564)
at cljs.closure$watch.invoke(closure.clj:1594)
at cljs.closure$watch.invoke(closure.clj:1552)
at cljs.closure$watch.invoke(closure.clj:1547)
at cljs.build.api$watch.invoke(api.clj:182)
at user$eval2964.invoke(watch.clj:3)
at clojure.lang.Compiler.eval(Compiler.java:6782)
at clojure.lang.Compiler.load(Compiler.java:7227)
at clojure.lang.Compiler.loadFile(Compiler.java:7165)
at clojure.main$load_script.invoke(main.clj:275)
at clojure.main$script_opt.invoke(main.clj:337)
at clojure.main$main.doInvoke(main.clj:421)
at clojure.lang.RestFn.invoke(RestFn.java:408)
at clojure.lang.Var.invoke(Var.java:379)
at clojure.lang.AFn.applyToHelper(AFn.java:154)
at clojure.lang.Var.applyTo(Var.java:700)
at clojure.main.main(main.java:37)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at clojure.lang.Reflector.invokeMatchingMethod(Reflector.java:93)
at clojure.lang.Reflector.invokeStaticMethod(Reflector.java:207)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at clojure.lang.Reflector.invokeMatchingMethod(Reflector.java:93)
at clojure.lang.Reflector.invokeStaticMethod(Reflector.java:207)
at user$eval5.invoke(form-init6371333665776042787.clj:1)
at clojure.lang.Compiler.eval(Compiler.java:6782)
at clojure.lang.Compiler.eval(Compiler.java:6772)
at clojure.lang.Compiler.load(Compiler.java:7227)
at clojure.lang.Compiler.loadFile(Compiler.java:7165)
at clojure.main$load_script.invoke(main.clj:275)
at clojure.main$init_opt.invoke(main.clj:280)
at clojure.main$initialize.invoke(main.clj:308)
  

Re: ANN: ClojureScript 0.0-3308, fixes & enhancements

2015-06-05 Thread Max Gonzih
On Monday, June 1, 2015 at 8:47:51 PM UTC+2, David Nolen wrote:
> ClojureScript, the Clojure compiler that emits JavaScript source code.
> 
> 
> README and source code: https://github.com/clojure/clojurescript
> 
> 
> Leiningen dependency information:
> 
> 
>     [org.clojure/clojurescript "0.0-3308"]
> 
> 
> This release bumps the Clojure dependecy to 1.7.0-RC1 and includes fixes and 
> minor
> enhancements.
> 
> 
> As always feedback welcome!
> 
> 
> ## 0.0-3308
> 
> 
> ## Changes
> * Clojure 1.7.0-RC1 dependency
> * CLJS-1292: Add IPrintWithWriter implementation for TaggedLiteral
> * add cljs.core/random-uuid
> * flush immediately when forwarding Node process out & err
> * CLJS-1256 cache UUID hash value
> * CLJS-1226: Added the :end-run-test event to cljs.test and a dummy event 
> handler for it
> 
> 
> ## Fixes
> * CLJS-1200: compare behaves differently from Clojure
> * CLJS-1293: Warning settings not conveyed via REPL
> * CLJS-1291: pprint whitespace/letter checks are incomplete
> * CLJS-1288: compiler doesn't emit "goog.require" for foreign library when 
> optimization level is not set
> * check that we actually read something in cjls.repl.server/read-request
> * clarify cljs.test/run-tests docstring
> * CLJS-1285: load-file regression
> * CLJS-1284: IndexedSeq -seq implementation incorrect for i >= alength of 
> internal array
> * finish CLJS-1176, remove stray .isAlive method call
> * add zero arity `newline` to match Clojure
> * CLJS-1206: Images in HTML don't show up when served from localhost:9000
> * CLJS-1272: :include-macros description inaccurate in require
> * CLJS-1275: Corrected :test-paths in project.clj
> * CLJS-1270: Docstring for delay not printed by cljs.repl/doc
> * CLJS-1268: cljc support for cljs.closure/compile-file
> * CLJS-1269: realized? docstring refers to promise and future
> * match Clojure behavior for get on string / array. Need to coerce key into 
> int.
> * CLJS-1263: :libs regression, can no longer specify specific files
> * CLJS-1209: Reduce produces additional final nil when used w/ eduction
> * CLJS-1261: source fn fails for fns with conditional code

Just upgraded to this release. Everything seems to work like expected!

Thanks!

-- 
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.


Re: ANN: ClojureScript 0.0-3308, fixes & enhancements

2015-06-01 Thread Rangel Spasov
Works for me, thanks! 

FYI for anyone using Transit - upgrade to the latest version to prevent 
warnings.

com.lucasbradstreet/cljs-uuid-utils lib also causes warnings, I switched to 
the cljs.core/random-uuid to avoid that.

Thanks,
@raspasov

On Monday, June 1, 2015 at 11:47:58 AM UTC-7, David Nolen wrote:
>
> ClojureScript, the Clojure compiler that emits JavaScript source code.
>
> README and source code: https://github.com/clojure/clojurescript
>
> Leiningen dependency information:
>
> [org.clojure/clojurescript "0.0-3308"]
>
> This release bumps the Clojure dependecy to 1.7.0-RC1 and includes fixes 
> and minor
> enhancements.
>
> As always feedback welcome!
>
> ## 0.0-3308
>
> ## Changes
> * Clojure 1.7.0-RC1 dependency
> * CLJS-1292: Add IPrintWithWriter implementation for TaggedLiteral
> * add cljs.core/random-uuid
> * flush immediately when forwarding Node process out & err
> * CLJS-1256 cache UUID hash value
> * CLJS-1226: Added the :end-run-test event to cljs.test and a dummy event 
> handler for it
>
> ## Fixes
> * CLJS-1200: compare behaves differently from Clojure
> * CLJS-1293: Warning settings not conveyed via REPL
> * CLJS-1291: pprint whitespace/letter checks are incomplete
> * CLJS-1288: compiler doesn't emit "goog.require" for foreign library when 
> optimization level is not set
> * check that we actually read something in cjls.repl.server/read-request
> * clarify cljs.test/run-tests docstring
> * CLJS-1285: load-file regression
> * CLJS-1284: IndexedSeq -seq implementation incorrect for i >= alength of 
> internal array
> * finish CLJS-1176, remove stray .isAlive method call
> * add zero arity `newline` to match Clojure
> * CLJS-1206: Images in HTML don't show up when served from localhost:9000
> * CLJS-1272: :include-macros description inaccurate in require
> * CLJS-1275: Corrected :test-paths in project.clj
> * CLJS-1270: Docstring for delay not printed by cljs.repl/doc
> * CLJS-1268: cljc support for cljs.closure/compile-file
> * CLJS-1269: realized? docstring refers to promise and future
> * match Clojure behavior for get on string / array. Need to coerce key 
> into int.
> * CLJS-1263: :libs regression, can no longer specify specific files
> * CLJS-1209: Reduce produces additional final nil when used w/ eduction
> * CLJS-1261: source fn fails for fns with conditional code
>
>

-- 
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.


Re: [ClojureScript] Re: ANN: ClojureScript 0.0-3255 - pretty printer & latest Closure Compiler / Library

2015-05-11 Thread David Nolen
As I said above, you must specify Clojure 1.7.0-beta2 as your Clojure
dependency.

On Mon, May 11, 2015 at 3:59 AM, Max Gonzih  wrote:

> On Sunday, May 10, 2015 at 11:24:54 PM UTC+2, Dmitri Sotnikov wrote:
> > Is there possibly anything else missing in the package, figwheel doesn't
> appear to find the repl ns.
> >
> >
> >
> >
> >
> > lein figwheel
> > Retrieving org/clojure/clojurescript/0.0-3269/clojurescript-0.0-3269.pom
> from central
> > Retrieving org/clojure/clojurescript/0.0-3269/clojurescript-0.0-3269.jar
> from central
> > Exception in thread "main" java.io.FileNotFoundException: Could not
> locate cljs/repl__init.class or cljs/repl.clj on classpath: ,
> compiling:(figwheel_sidecar/repl.clj:1:1)
> >
> >
> > On Sunday, May 10, 2015 at 10:20:13 AM UTC-4, David Nolen wrote:
> > Just cut 0.0-3269 which adds the missing analysis and source map bits
> back into the artifacts. It also cleans up :libs support and fixes a
> related regression with Closure compatible libraries that follow classpath
> conventions (like transit-js). Both :libs Closure libraries and classpath
> aware Closure compatible libraries now enjoy REPL support.
> >
> >
> > David
> >
> >
> > On Sun, May 10, 2015 at 9:41 AM, David Nolen 
> wrote:
> >
> > It appears there are still some important bits missing from the
> artifacts. Working through the issues and will cut a release soon.
> >
> >
> > David
> >
> >
> >
> >
> > On Sun, May 10, 2015 at 12:22 AM, Rangel Spasov 
> wrote:
> >
> > Hey guys,
> >
> >
> > 0.0-3264 fails for me with:
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > clojure.lang.ExceptionInfo: failed compiling
> file:resources/public/js/compiled/out/cljs/core.cljs
> >
> >  at clojure.core$ex_info.invoke (core.clj:4591)
> >
> > Caused by: java.lang.IllegalArgumentException: No implementation of
> method: :make-reader of protocol: #'clojure.java.io/IOFactory found for
> class: nil
> >
> >  at clojure.core$_cache_protocol_fn.invoke (core_deftype.clj:554)
> >
> > 0.0-3255 seems fine.
> >
> >
> > @raspasov
> > On Saturday, May 9, 2015 at 12:33:52 PM UTC-7, David Nolen wrote:
> > Just released 0.0-3264, it fixes a critical issue where .js files were
> missing from the artifacts due to the changed build. Also included are a
> several fixes around the :libs feature, REPLs, and stack trace mapping.
> >
> >
> > David
> >
> >
> >
> >
> > On Fri, May 8, 2015 at 3:23 PM, David Nolen  wrote:
> >
> >
> > ClojureScript, the Clojure compiler that emits JavaScript source code.
> >
> >
> > README and source code: https://github.com/clojure/clojurescript
> >
> >
> > Leiningen dependency information:
> >
> >
> > [org.clojure/clojurescript "0.0-3255"]
> >
> >
> > A big thanks goes out to Jonathan Boston and Shaun Lebron for this
> > release. Thanks to their efforts ClojureScript now includes a full
> > port of clojure.pprint under the cljs.pprint namespace. This was the
> > last major namespace in need of porting to ClojureScript.
> >
> >
> > The release also bumps several dependencies: Clojure 1.7.0-beta2,
> > tools.reader 0.9.2, Closure Compiler v20150505, and Closure Library
> > 0.0-20150505-021ed5b3.
> >
> >
> > This release also fixes some regressions around async testing,
> > docstring REPL support, arglist meta, and more.
> >
> >
> > As always feedback welcome!
> >
> >
> > ## 0.0-3255
> >
> >
> > ### Changes
> > * Update Closure Library dependency
> > * CLJS-1252: Update Closure Compiler Dependency to v20150505
> > * .clj -> .cljc for important analysis / compilation bits
> > * add public cljs.compiler.api namespace
> > * CLJS-1224: cljs.repl: Memoize stack frame mapping
> > * depend on tools.reader 0.9.2
> >
> >
> > ### Enhancements
> > * add cljs.pprint/pp macro
> > * CLJS-710: port clojure.pprint
> > * CLJS-1178: Compiler does not know Math ns is not not-native
> > * add getBasis methods to deftype and defrecord ctors a la Clojure JVM
> > * support ^long and ^double type hints
> >
> >
> > ### Fixes
> > * fix cljs-1198 async testing regression
> > * CLJS-1254: Update REPL browser agent detection CLJS-1253: Create/Use
> >   new Closure Library Release
> > * CLJS-1225: Variadic function with same name as parent function gives
> >   runtime error in advanced compile mode.
> > * CLJS-1246: Add cljs.core/record? predicate.
> > * CLJS-1239: Make eduction variadic.
> > * CLJS-1244: tagged-literal precondition check missing wrapping vector
> > * CLJS-1243: Add TaggedLiteral type & related fns
> > * CLJS-1240: Add cljs.core/var?
> > * CLJS-1214: :arglists meta has needless quoting CLJS-1232: bad
> >   arglists for doc, regression
> > * CLJS-1212: Error in set ctor for > 8-entry map literal
> > * CLJS-1218: Syntax quoting an alias created with :require-macros
> >   throws ClassCastException
> > * CLJS-1213: cljs.analyzer incorrectly marks all defs as tests when
> >   eliding test metadata
> > * CLJS-742: Compilation with :output-file option set fails
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > --
> >
> > You received this message because you

Re: [ClojureScript] Re: ANN: ClojureScript 0.0-3255 - pretty printer & latest Closure Compiler / Library

2015-05-11 Thread Ruslan Prokopchuk
Thanks for the tip, `:libs ["lib"]` is more convenient and does not produce 
error.

понедельник, 11 мая 2015 г., 9:52:16 UTC+3 пользователь David Nolen написал:
> Enhancing :libs support was pretty finicky work so I'm not particularly 
> surprised by the regression. Looking into it. In the meantime you don't need 
> specify each library, `:libs ["lib"]` should suffice.
> 
> 
> David
> 
> 
> 
> On Mon, May 11, 2015 at 1:10 AM, Ruslan Prokopchuk  wrote:
> With 3269 I have the following error:
> 
> 
> 
> java.lang.IllegalArgumentException: 
> /home/ul/Projects/project1/lib/transformflatgeom.js is not a relative path
> 
>  at clojure.java.io$as_relative_path.invoke (io.clj:405)
> 
> 
> 
> config is:
> 
> 
> 
> :compiler     {
> 
> :output-to      "resources/public/js/dev.js"
> 
> :output-dir     "resources/public/js/dev"
> 
> :source-map     "resources/public/js/dev.js.map"
> 
> :libs           ["lib/simplegeometry.js" "lib/transformflatgeom.js"
> 
>                  "lib/scaleinteraction.js" "lib/translateinteraction.js"]
> 
> :cache-analysis true
> 
> :optimizations  :none
> 
> :pretty-print   true}
> 
> 
> 
> 
> 
> --
> 
> 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.

-- 
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.


Re: ANN: ClojureScript 0.0-3255 - pretty printer & latest Closure Compiler / Library

2015-05-11 Thread Max Gonzih
On Sunday, May 10, 2015 at 11:24:54 PM UTC+2, Dmitri Sotnikov wrote:
> Is there possibly anything else missing in the package, figwheel doesn't 
> appear to find the repl ns.
> 
> 
> 
> 
> 
> lein figwheel
> Retrieving org/clojure/clojurescript/0.0-3269/clojurescript-0.0-3269.pom from 
> central
> Retrieving org/clojure/clojurescript/0.0-3269/clojurescript-0.0-3269.jar from 
> central
> Exception in thread "main" java.io.FileNotFoundException: Could not locate 
> cljs/repl__init.class or cljs/repl.clj on classpath: , 
> compiling:(figwheel_sidecar/repl.clj:1:1)
> 
> 
> On Sunday, May 10, 2015 at 10:20:13 AM UTC-4, David Nolen wrote:
> Just cut 0.0-3269 which adds the missing analysis and source map bits back 
> into the artifacts. It also cleans up :libs support and fixes a related 
> regression with Closure compatible libraries that follow classpath 
> conventions (like transit-js). Both :libs Closure libraries and classpath 
> aware Closure compatible libraries now enjoy REPL support.
> 
> 
> David
> 
> 
> On Sun, May 10, 2015 at 9:41 AM, David Nolen  wrote:
> 
> It appears there are still some important bits missing from the artifacts. 
> Working through the issues and will cut a release soon.
> 
> 
> David
> 
> 
> 
> 
> On Sun, May 10, 2015 at 12:22 AM, Rangel Spasov  wrote:
> 
> Hey guys,
> 
> 
> 0.0-3264 fails for me with:
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> clojure.lang.ExceptionInfo: failed compiling 
> file:resources/public/js/compiled/out/cljs/core.cljs
> 
>  at clojure.core$ex_info.invoke (core.clj:4591)
> 
> Caused by: java.lang.IllegalArgumentException: No implementation of method: 
> :make-reader of protocol: #'clojure.java.io/IOFactory found for class: nil
> 
>  at clojure.core$_cache_protocol_fn.invoke (core_deftype.clj:554)
> 
> 0.0-3255 seems fine. 
> 
> 
> @raspasov
> On Saturday, May 9, 2015 at 12:33:52 PM UTC-7, David Nolen wrote:
> Just released 0.0-3264, it fixes a critical issue where .js files were 
> missing from the artifacts due to the changed build. Also included are a 
> several fixes around the :libs feature, REPLs, and stack trace mapping.
> 
> 
> David
> 
> 
> 
> 
> On Fri, May 8, 2015 at 3:23 PM, David Nolen  wrote:
> 
> 
> ClojureScript, the Clojure compiler that emits JavaScript source code.
> 
> 
> README and source code: https://github.com/clojure/clojurescript
> 
> 
> Leiningen dependency information:
> 
> 
>     [org.clojure/clojurescript "0.0-3255"]
> 
> 
> A big thanks goes out to Jonathan Boston and Shaun Lebron for this
> release. Thanks to their efforts ClojureScript now includes a full
> port of clojure.pprint under the cljs.pprint namespace. This was the
> last major namespace in need of porting to ClojureScript.
> 
> 
> The release also bumps several dependencies: Clojure 1.7.0-beta2,
> tools.reader 0.9.2, Closure Compiler v20150505, and Closure Library
> 0.0-20150505-021ed5b3.
> 
> 
> This release also fixes some regressions around async testing,
> docstring REPL support, arglist meta, and more.
> 
> 
> As always feedback welcome!
> 
> 
> ## 0.0-3255
> 
> 
> ### Changes
> * Update Closure Library dependency
> * CLJS-1252: Update Closure Compiler Dependency to v20150505
> * .clj -> .cljc for important analysis / compilation bits
> * add public cljs.compiler.api namespace
> * CLJS-1224: cljs.repl: Memoize stack frame mapping
> * depend on tools.reader 0.9.2
> 
> 
> ### Enhancements
> * add cljs.pprint/pp macro
> * CLJS-710: port clojure.pprint
> * CLJS-1178: Compiler does not know Math ns is not not-native
> * add getBasis methods to deftype and defrecord ctors a la Clojure JVM
> * support ^long and ^double type hints
> 
> 
> ### Fixes
> * fix cljs-1198 async testing regression
> * CLJS-1254: Update REPL browser agent detection CLJS-1253: Create/Use
>   new Closure Library Release
> * CLJS-1225: Variadic function with same name as parent function gives
>   runtime error in advanced compile mode.
> * CLJS-1246: Add cljs.core/record? predicate.
> * CLJS-1239: Make eduction variadic.
> * CLJS-1244: tagged-literal precondition check missing wrapping vector
> * CLJS-1243: Add TaggedLiteral type & related fns
> * CLJS-1240: Add cljs.core/var?
> * CLJS-1214: :arglists meta has needless quoting CLJS-1232: bad
>   arglists for doc, regression
> * CLJS-1212: Error in set ctor for > 8-entry map literal
> * CLJS-1218: Syntax quoting an alias created with :require-macros
>   throws ClassCastException
> * CLJS-1213: cljs.analyzer incorrectly marks all defs as tests when
>   eliding test metadata
> * CLJS-742: Compilation with :output-file option set fails
> 
> 
> 
> 
> 
> 
> 
> 
> 
> -- 
> 
> 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
>

Re: [ClojureScript] Re: ANN: ClojureScript 0.0-3255 - pretty printer & latest Closure Compiler / Library

2015-05-10 Thread David Nolen
Enhancing :libs support was pretty finicky work so I'm not particularly
surprised by the regression. Looking into it. In the meantime you don't
need specify each library, `:libs ["lib"]` should suffice.

David

On Mon, May 11, 2015 at 1:10 AM, Ruslan Prokopchuk 
wrote:

> With 3269 I have the following error:
>
> java.lang.IllegalArgumentException:
> /home/ul/Projects/project1/lib/transformflatgeom.js is not a relative path
>  at clojure.java.io$as_relative_path.invoke (io.clj:405)
>
> config is:
>
> :compiler {
> :output-to  "resources/public/js/dev.js"
> :output-dir "resources/public/js/dev"
> :source-map "resources/public/js/dev.js.map"
> :libs   ["lib/simplegeometry.js" "lib/transformflatgeom.js"
>  "lib/scaleinteraction.js" "lib/translateinteraction.js"]
> :cache-analysis true
> :optimizations  :none
> :pretty-print   true}
>
> --
> 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 clojurescript+unsubscr...@googlegroups.com.
> To post to this group, send email to clojurescr...@googlegroups.com.
> Visit this group at http://groups.google.com/group/clojurescript.
>

-- 
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.


Re: ANN: ClojureScript 0.0-3255 - pretty printer & latest Closure Compiler / Library

2015-05-10 Thread Ruslan Prokopchuk
With 3269 I have the following error:

java.lang.IllegalArgumentException: 
/home/ul/Projects/project1/lib/transformflatgeom.js is not a relative path
 at clojure.java.io$as_relative_path.invoke (io.clj:405)

config is:

:compiler {
:output-to  "resources/public/js/dev.js"
:output-dir "resources/public/js/dev"
:source-map "resources/public/js/dev.js.map"
:libs   ["lib/simplegeometry.js" "lib/transformflatgeom.js"
 "lib/scaleinteraction.js" "lib/translateinteraction.js"]
:cache-analysis true
:optimizations  :none
:pretty-print   true}

-- 
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.


Re: ANN: ClojureScript 0.0-3255 - pretty printer & latest Closure Compiler / Library

2015-05-10 Thread Rangel Spasov
0.0-3269 fixed it for me, thanks guys!

On Sunday, May 10, 2015 at 7:20:13 AM UTC-7, David Nolen wrote:
>
> Just cut 0.0-3269 which adds the missing analysis and source map bits back 
> into the artifacts. It also cleans up :libs support and fixes a related 
> regression with Closure compatible libraries that follow classpath 
> conventions (like transit-js). Both :libs Closure libraries and classpath 
> aware Closure compatible libraries now enjoy REPL support.
>
> David
>
> On Sun, May 10, 2015 at 9:41 AM, David Nolen  > wrote:
>
>> It appears there are still some important bits missing from the 
>> artifacts. Working through the issues and will cut a release soon.
>>
>> David
>>
>> On Sun, May 10, 2015 at 12:22 AM, Rangel Spasov > > wrote:
>>
>>> Hey guys,
>>>
>>> 0.0-3264 fails for me with:
>>>
>>> clojure.lang.ExceptionInfo: failed compiling 
>>> file:resources/public/js/compiled/out/cljs/core.cljs
>>>
>>>  at clojure.core$ex_info.invoke (core.clj:4591)
>>>
>>> Caused by: java.lang.IllegalArgumentException: No implementation of 
>>> method: :make-reader of protocol: #'clojure.java.io/IOFactory found for 
>>> class: nil
>>>
>>>  at clojure.core$_cache_protocol_fn.invoke (core_deftype.clj:554)
>>>
>>> 0.0-3255 seems fine. 
>>>
>>> @raspasov
>>>
>>> On Saturday, May 9, 2015 at 12:33:52 PM UTC-7, David Nolen wrote:

 Just released 0.0-3264, it fixes a critical issue where .js files were 
 missing from the artifacts due to the changed build. Also included are a 
 several fixes around the :libs feature, REPLs, and stack trace mapping.

 David

 On Fri, May 8, 2015 at 3:23 PM, David Nolen  
 wrote:

> ClojureScript, the Clojure compiler that emits JavaScript source code.
>
> README and source code: https://github.com/clojure/clojurescript
>
> Leiningen dependency information:
>
> [org.clojure/clojurescript "0.0-3255"]
>
> A big thanks goes out to Jonathan Boston and Shaun Lebron for this
> release. Thanks to their efforts ClojureScript now includes a full
> port of clojure.pprint under the cljs.pprint namespace. This was the
> last major namespace in need of porting to ClojureScript.
>
> The release also bumps several dependencies: Clojure 1.7.0-beta2,
> tools.reader 0.9.2, Closure Compiler v20150505, and Closure Library
> 0.0-20150505-021ed5b3.
>
> This release also fixes some regressions around async testing,
> docstring REPL support, arglist meta, and more.
>
> As always feedback welcome!
>
> ## 0.0-3255
>
> ### Changes
> * Update Closure Library dependency
> * CLJS-1252: Update Closure Compiler Dependency to v20150505
> * .clj -> .cljc for important analysis / compilation bits
> * add public cljs.compiler.api namespace
> * CLJS-1224: cljs.repl: Memoize stack frame mapping
> * depend on tools.reader 0.9.2
>
> ### Enhancements
> * add cljs.pprint/pp macro
> * CLJS-710: port clojure.pprint
> * CLJS-1178: Compiler does not know Math ns is not not-native
> * add getBasis methods to deftype and defrecord ctors a la Clojure JVM
> * support ^long and ^double type hints
>
> ### Fixes
> * fix cljs-1198 async testing regression
> * CLJS-1254: Update REPL browser agent detection CLJS-1253: Create/Use
>   new Closure Library Release
> * CLJS-1225: Variadic function with same name as parent function gives
>   runtime error in advanced compile mode.
> * CLJS-1246: Add cljs.core/record? predicate.
> * CLJS-1239: Make eduction variadic.
> * CLJS-1244: tagged-literal precondition check missing wrapping vector
> * CLJS-1243: Add TaggedLiteral type & related fns
> * CLJS-1240: Add cljs.core/var?
> * CLJS-1214: :arglists meta has needless quoting CLJS-1232: bad
>   arglists for doc, regression
> * CLJS-1212: Error in set ctor for > 8-entry map literal
> * CLJS-1218: Syntax quoting an alias created with :require-macros
>   throws ClassCastException
> * CLJS-1213: cljs.analyzer incorrectly marks all defs as tests when
>   eliding test metadata
> * CLJS-742: Compilation with :output-file option set fails
>
>
  -- 
>>> 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.
>>>

Re: ANN: ClojureScript 0.0-3255 - pretty printer & latest Closure Compiler / Library

2015-05-10 Thread David Nolen
ClojureScript now requires Clojure 1.7.0-beta2

On Sunday, May 10, 2015, Dmitri  wrote:

> Is there possibly anything else missing in the package, figwheel doesn't
> appear to find the repl ns.
>
> lein figwheel
> Retrieving org/clojure/clojurescript/0.0-3269/clojurescript-0.0-3269.pom
> from central
> Retrieving org/clojure/clojurescript/0.0-3269/clojurescript-0.0-3269.jar
> from central
> Exception in thread "main" java.io.FileNotFoundException: Could not locate
> cljs/repl__init.class or cljs/repl.clj on classpath: ,
> compiling:(figwheel_sidecar/repl.clj:1:1)
>
>
>
> On Sunday, May 10, 2015 at 10:20:13 AM UTC-4, David Nolen wrote:
>>
>> Just cut 0.0-3269 which adds the missing analysis and source map bits
>> back into the artifacts. It also cleans up :libs support and fixes a
>> related regression with Closure compatible libraries that follow classpath
>> conventions (like transit-js). Both :libs Closure libraries and classpath
>> aware Closure compatible libraries now enjoy REPL support.
>>
>> David
>>
>> On Sun, May 10, 2015 at 9:41 AM, David Nolen  wrote:
>>
>>> It appears there are still some important bits missing from the
>>> artifacts. Working through the issues and will cut a release soon.
>>>
>>> David
>>>
>>> On Sun, May 10, 2015 at 12:22 AM, Rangel Spasov 
>>> wrote:
>>>
 Hey guys,

 0.0-3264 fails for me with:

 clojure.lang.ExceptionInfo: failed compiling
 file:resources/public/js/compiled/out/cljs/core.cljs

  at clojure.core$ex_info.invoke (core.clj:4591)

 Caused by: java.lang.IllegalArgumentException: No implementation of
 method: :make-reader of protocol: #'clojure.java.io/IOFactory found
 for class: nil

  at clojure.core$_cache_protocol_fn.invoke (core_deftype.clj:554)

 0.0-3255 seems fine.

 @raspasov

 On Saturday, May 9, 2015 at 12:33:52 PM UTC-7, David Nolen wrote:
>
> Just released 0.0-3264, it fixes a critical issue where .js files were
> missing from the artifacts due to the changed build. Also included are a
> several fixes around the :libs feature, REPLs, and stack trace mapping.
>
> David
>
> On Fri, May 8, 2015 at 3:23 PM, David Nolen 
> wrote:
>
>> ClojureScript, the Clojure compiler that emits JavaScript source code.
>>
>> README and source code: https://github.com/clojure/clojurescript
>>
>> Leiningen dependency information:
>>
>> [org.clojure/clojurescript "0.0-3255"]
>>
>> A big thanks goes out to Jonathan Boston and Shaun Lebron for this
>> release. Thanks to their efforts ClojureScript now includes a full
>> port of clojure.pprint under the cljs.pprint namespace. This was the
>> last major namespace in need of porting to ClojureScript.
>>
>> The release also bumps several dependencies: Clojure 1.7.0-beta2,
>> tools.reader 0.9.2, Closure Compiler v20150505, and Closure Library
>> 0.0-20150505-021ed5b3.
>>
>> This release also fixes some regressions around async testing,
>> docstring REPL support, arglist meta, and more.
>>
>> As always feedback welcome!
>>
>> ## 0.0-3255
>>
>> ### Changes
>> * Update Closure Library dependency
>> * CLJS-1252: Update Closure Compiler Dependency to v20150505
>> * .clj -> .cljc for important analysis / compilation bits
>> * add public cljs.compiler.api namespace
>> * CLJS-1224: cljs.repl: Memoize stack frame mapping
>> * depend on tools.reader 0.9.2
>>
>> ### Enhancements
>> * add cljs.pprint/pp macro
>> * CLJS-710: port clojure.pprint
>> * CLJS-1178: Compiler does not know Math ns is not not-native
>> * add getBasis methods to deftype and defrecord ctors a la Clojure JVM
>> * support ^long and ^double type hints
>>
>> ### Fixes
>> * fix cljs-1198 async testing regression
>> * CLJS-1254: Update REPL browser agent detection CLJS-1253: Create/Use
>>   new Closure Library Release
>> * CLJS-1225: Variadic function with same name as parent function gives
>>   runtime error in advanced compile mode.
>> * CLJS-1246: Add cljs.core/record? predicate.
>> * CLJS-1239: Make eduction variadic.
>> * CLJS-1244: tagged-literal precondition check missing wrapping vector
>> * CLJS-1243: Add TaggedLiteral type & related fns
>> * CLJS-1240: Add cljs.core/var?
>> * CLJS-1214: :arglists meta has needless quoting CLJS-1232: bad
>>   arglists for doc, regression
>> * CLJS-1212: Error in set ctor for > 8-entry map literal
>> * CLJS-1218: Syntax quoting an alias created with :require-macros
>>   throws ClassCastException
>> * CLJS-1213: cljs.analyzer incorrectly marks all defs as tests when
>>   eliding test metadata
>> * CLJS-742: Compilation with :output-file option set fails
>>
>>
>  --
 You received this message because you are subscribed to the Google
 Groups "Clojure" group.
 To po

Re: ANN: ClojureScript 0.0-3255 - pretty printer & latest Closure Compiler / Library

2015-05-10 Thread Dmitri
Is there possibly anything else missing in the package, figwheel doesn't 
appear to find the repl ns.

lein figwheel
Retrieving org/clojure/clojurescript/0.0-3269/clojurescript-0.0-3269.pom 
from central
Retrieving org/clojure/clojurescript/0.0-3269/clojurescript-0.0-3269.jar 
from central
Exception in thread "main" java.io.FileNotFoundException: Could not locate 
cljs/repl__init.class or cljs/repl.clj on classpath: , 
compiling:(figwheel_sidecar/repl.clj:1:1)



On Sunday, May 10, 2015 at 10:20:13 AM UTC-4, David Nolen wrote:
>
> Just cut 0.0-3269 which adds the missing analysis and source map bits back 
> into the artifacts. It also cleans up :libs support and fixes a related 
> regression with Closure compatible libraries that follow classpath 
> conventions (like transit-js). Both :libs Closure libraries and classpath 
> aware Closure compatible libraries now enjoy REPL support.
>
> David
>
> On Sun, May 10, 2015 at 9:41 AM, David Nolen  > wrote:
>
>> It appears there are still some important bits missing from the 
>> artifacts. Working through the issues and will cut a release soon.
>>
>> David
>>
>> On Sun, May 10, 2015 at 12:22 AM, Rangel Spasov > > wrote:
>>
>>> Hey guys,
>>>
>>> 0.0-3264 fails for me with:
>>>
>>> clojure.lang.ExceptionInfo: failed compiling 
>>> file:resources/public/js/compiled/out/cljs/core.cljs
>>>
>>>  at clojure.core$ex_info.invoke (core.clj:4591)
>>>
>>> Caused by: java.lang.IllegalArgumentException: No implementation of 
>>> method: :make-reader of protocol: #'clojure.java.io/IOFactory found for 
>>> class: nil
>>>
>>>  at clojure.core$_cache_protocol_fn.invoke (core_deftype.clj:554)
>>>
>>> 0.0-3255 seems fine. 
>>>
>>> @raspasov
>>>
>>> On Saturday, May 9, 2015 at 12:33:52 PM UTC-7, David Nolen wrote:

 Just released 0.0-3264, it fixes a critical issue where .js files were 
 missing from the artifacts due to the changed build. Also included are a 
 several fixes around the :libs feature, REPLs, and stack trace mapping.

 David

 On Fri, May 8, 2015 at 3:23 PM, David Nolen  
 wrote:

> ClojureScript, the Clojure compiler that emits JavaScript source code.
>
> README and source code: https://github.com/clojure/clojurescript
>
> Leiningen dependency information:
>
> [org.clojure/clojurescript "0.0-3255"]
>
> A big thanks goes out to Jonathan Boston and Shaun Lebron for this
> release. Thanks to their efforts ClojureScript now includes a full
> port of clojure.pprint under the cljs.pprint namespace. This was the
> last major namespace in need of porting to ClojureScript.
>
> The release also bumps several dependencies: Clojure 1.7.0-beta2,
> tools.reader 0.9.2, Closure Compiler v20150505, and Closure Library
> 0.0-20150505-021ed5b3.
>
> This release also fixes some regressions around async testing,
> docstring REPL support, arglist meta, and more.
>
> As always feedback welcome!
>
> ## 0.0-3255
>
> ### Changes
> * Update Closure Library dependency
> * CLJS-1252: Update Closure Compiler Dependency to v20150505
> * .clj -> .cljc for important analysis / compilation bits
> * add public cljs.compiler.api namespace
> * CLJS-1224: cljs.repl: Memoize stack frame mapping
> * depend on tools.reader 0.9.2
>
> ### Enhancements
> * add cljs.pprint/pp macro
> * CLJS-710: port clojure.pprint
> * CLJS-1178: Compiler does not know Math ns is not not-native
> * add getBasis methods to deftype and defrecord ctors a la Clojure JVM
> * support ^long and ^double type hints
>
> ### Fixes
> * fix cljs-1198 async testing regression
> * CLJS-1254: Update REPL browser agent detection CLJS-1253: Create/Use
>   new Closure Library Release
> * CLJS-1225: Variadic function with same name as parent function gives
>   runtime error in advanced compile mode.
> * CLJS-1246: Add cljs.core/record? predicate.
> * CLJS-1239: Make eduction variadic.
> * CLJS-1244: tagged-literal precondition check missing wrapping vector
> * CLJS-1243: Add TaggedLiteral type & related fns
> * CLJS-1240: Add cljs.core/var?
> * CLJS-1214: :arglists meta has needless quoting CLJS-1232: bad
>   arglists for doc, regression
> * CLJS-1212: Error in set ctor for > 8-entry map literal
> * CLJS-1218: Syntax quoting an alias created with :require-macros
>   throws ClassCastException
> * CLJS-1213: cljs.analyzer incorrectly marks all defs as tests when
>   eliding test metadata
> * CLJS-742: Compilation with :output-file option set fails
>
>
  -- 
>>> 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 t

Re: ANN: ClojureScript 0.0-3255 - pretty printer & latest Closure Compiler / Library

2015-05-10 Thread David Nolen
Just cut 0.0-3269 which adds the missing analysis and source map bits back
into the artifacts. It also cleans up :libs support and fixes a related
regression with Closure compatible libraries that follow classpath
conventions (like transit-js). Both :libs Closure libraries and classpath
aware Closure compatible libraries now enjoy REPL support.

David

On Sun, May 10, 2015 at 9:41 AM, David Nolen  wrote:

> It appears there are still some important bits missing from the artifacts.
> Working through the issues and will cut a release soon.
>
> David
>
> On Sun, May 10, 2015 at 12:22 AM, Rangel Spasov 
> wrote:
>
>> Hey guys,
>>
>> 0.0-3264 fails for me with:
>>
>> clojure.lang.ExceptionInfo: failed compiling
>> file:resources/public/js/compiled/out/cljs/core.cljs
>>
>>  at clojure.core$ex_info.invoke (core.clj:4591)
>>
>> Caused by: java.lang.IllegalArgumentException: No implementation of
>> method: :make-reader of protocol: #'clojure.java.io/IOFactory found for
>> class: nil
>>
>>  at clojure.core$_cache_protocol_fn.invoke (core_deftype.clj:554)
>>
>> 0.0-3255 seems fine.
>>
>> @raspasov
>>
>> On Saturday, May 9, 2015 at 12:33:52 PM UTC-7, David Nolen wrote:
>>>
>>> Just released 0.0-3264, it fixes a critical issue where .js files were
>>> missing from the artifacts due to the changed build. Also included are a
>>> several fixes around the :libs feature, REPLs, and stack trace mapping.
>>>
>>> David
>>>
>>> On Fri, May 8, 2015 at 3:23 PM, David Nolen  wrote:
>>>
 ClojureScript, the Clojure compiler that emits JavaScript source code.

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

 Leiningen dependency information:

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

 A big thanks goes out to Jonathan Boston and Shaun Lebron for this
 release. Thanks to their efforts ClojureScript now includes a full
 port of clojure.pprint under the cljs.pprint namespace. This was the
 last major namespace in need of porting to ClojureScript.

 The release also bumps several dependencies: Clojure 1.7.0-beta2,
 tools.reader 0.9.2, Closure Compiler v20150505, and Closure Library
 0.0-20150505-021ed5b3.

 This release also fixes some regressions around async testing,
 docstring REPL support, arglist meta, and more.

 As always feedback welcome!

 ## 0.0-3255

 ### Changes
 * Update Closure Library dependency
 * CLJS-1252: Update Closure Compiler Dependency to v20150505
 * .clj -> .cljc for important analysis / compilation bits
 * add public cljs.compiler.api namespace
 * CLJS-1224: cljs.repl: Memoize stack frame mapping
 * depend on tools.reader 0.9.2

 ### Enhancements
 * add cljs.pprint/pp macro
 * CLJS-710: port clojure.pprint
 * CLJS-1178: Compiler does not know Math ns is not not-native
 * add getBasis methods to deftype and defrecord ctors a la Clojure JVM
 * support ^long and ^double type hints

 ### Fixes
 * fix cljs-1198 async testing regression
 * CLJS-1254: Update REPL browser agent detection CLJS-1253: Create/Use
   new Closure Library Release
 * CLJS-1225: Variadic function with same name as parent function gives
   runtime error in advanced compile mode.
 * CLJS-1246: Add cljs.core/record? predicate.
 * CLJS-1239: Make eduction variadic.
 * CLJS-1244: tagged-literal precondition check missing wrapping vector
 * CLJS-1243: Add TaggedLiteral type & related fns
 * CLJS-1240: Add cljs.core/var?
 * CLJS-1214: :arglists meta has needless quoting CLJS-1232: bad
   arglists for doc, regression
 * CLJS-1212: Error in set ctor for > 8-entry map literal
 * CLJS-1218: Syntax quoting an alias created with :require-macros
   throws ClassCastException
 * CLJS-1213: cljs.analyzer incorrectly marks all defs as tests when
   eliding test metadata
 * CLJS-742: Compilation with :output-file option set fails


>>>  --
>> 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.
>>
>
>

-- 
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

Re: ANN: ClojureScript 0.0-3255 - pretty printer & latest Closure Compiler / Library

2015-05-10 Thread David Nolen
It appears there are still some important bits missing from the artifacts.
Working through the issues and will cut a release soon.

David

On Sun, May 10, 2015 at 12:22 AM, Rangel Spasov  wrote:

> Hey guys,
>
> 0.0-3264 fails for me with:
>
> clojure.lang.ExceptionInfo: failed compiling
> file:resources/public/js/compiled/out/cljs/core.cljs
>
>  at clojure.core$ex_info.invoke (core.clj:4591)
>
> Caused by: java.lang.IllegalArgumentException: No implementation of
> method: :make-reader of protocol: #'clojure.java.io/IOFactory found for
> class: nil
>
>  at clojure.core$_cache_protocol_fn.invoke (core_deftype.clj:554)
>
> 0.0-3255 seems fine.
>
> @raspasov
>
> On Saturday, May 9, 2015 at 12:33:52 PM UTC-7, David Nolen wrote:
>>
>> Just released 0.0-3264, it fixes a critical issue where .js files were
>> missing from the artifacts due to the changed build. Also included are a
>> several fixes around the :libs feature, REPLs, and stack trace mapping.
>>
>> David
>>
>> On Fri, May 8, 2015 at 3:23 PM, David Nolen  wrote:
>>
>>> ClojureScript, the Clojure compiler that emits JavaScript source code.
>>>
>>> README and source code: https://github.com/clojure/clojurescript
>>>
>>> Leiningen dependency information:
>>>
>>> [org.clojure/clojurescript "0.0-3255"]
>>>
>>> A big thanks goes out to Jonathan Boston and Shaun Lebron for this
>>> release. Thanks to their efforts ClojureScript now includes a full
>>> port of clojure.pprint under the cljs.pprint namespace. This was the
>>> last major namespace in need of porting to ClojureScript.
>>>
>>> The release also bumps several dependencies: Clojure 1.7.0-beta2,
>>> tools.reader 0.9.2, Closure Compiler v20150505, and Closure Library
>>> 0.0-20150505-021ed5b3.
>>>
>>> This release also fixes some regressions around async testing,
>>> docstring REPL support, arglist meta, and more.
>>>
>>> As always feedback welcome!
>>>
>>> ## 0.0-3255
>>>
>>> ### Changes
>>> * Update Closure Library dependency
>>> * CLJS-1252: Update Closure Compiler Dependency to v20150505
>>> * .clj -> .cljc for important analysis / compilation bits
>>> * add public cljs.compiler.api namespace
>>> * CLJS-1224: cljs.repl: Memoize stack frame mapping
>>> * depend on tools.reader 0.9.2
>>>
>>> ### Enhancements
>>> * add cljs.pprint/pp macro
>>> * CLJS-710: port clojure.pprint
>>> * CLJS-1178: Compiler does not know Math ns is not not-native
>>> * add getBasis methods to deftype and defrecord ctors a la Clojure JVM
>>> * support ^long and ^double type hints
>>>
>>> ### Fixes
>>> * fix cljs-1198 async testing regression
>>> * CLJS-1254: Update REPL browser agent detection CLJS-1253: Create/Use
>>>   new Closure Library Release
>>> * CLJS-1225: Variadic function with same name as parent function gives
>>>   runtime error in advanced compile mode.
>>> * CLJS-1246: Add cljs.core/record? predicate.
>>> * CLJS-1239: Make eduction variadic.
>>> * CLJS-1244: tagged-literal precondition check missing wrapping vector
>>> * CLJS-1243: Add TaggedLiteral type & related fns
>>> * CLJS-1240: Add cljs.core/var?
>>> * CLJS-1214: :arglists meta has needless quoting CLJS-1232: bad
>>>   arglists for doc, regression
>>> * CLJS-1212: Error in set ctor for > 8-entry map literal
>>> * CLJS-1218: Syntax quoting an alias created with :require-macros
>>>   throws ClassCastException
>>> * CLJS-1213: cljs.analyzer incorrectly marks all defs as tests when
>>>   eliding test metadata
>>> * CLJS-742: Compilation with :output-file option set fails
>>>
>>>
>>  --
> 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.
>

-- 
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.


Re: ANN: ClojureScript 0.0-3255 - pretty printer & latest Closure Compiler / Library

2015-05-09 Thread Sean Corfield
Sounds like you need to a lein clean? That's normally the error you see if
you have old versions of compiled files laying around...

On Sat, May 9, 2015 at 9:22 PM, Rangel Spasov  wrote:

> Hey guys,
>
> 0.0-3264 fails for me with:
>
> clojure.lang.ExceptionInfo: failed compiling
> file:resources/public/js/compiled/out/cljs/core.cljs
>
>  at clojure.core$ex_info.invoke (core.clj:4591)
>
> Caused by: java.lang.IllegalArgumentException: No implementation of
> method: :make-reader of protocol: #'clojure.java.io/IOFactory found for
> class: nil
>
>  at clojure.core$_cache_protocol_fn.invoke (core_deftype.clj:554)
>
> 0.0-3255 seems fine.
>
> @raspasov
>
> On Saturday, May 9, 2015 at 12:33:52 PM UTC-7, David Nolen wrote:
>>
>> Just released 0.0-3264, it fixes a critical issue where .js files were
>> missing from the artifacts due to the changed build. Also included are a
>> several fixes around the :libs feature, REPLs, and stack trace mapping.
>>
>> David
>>
>> On Fri, May 8, 2015 at 3:23 PM, David Nolen  wrote:
>>
>>> ClojureScript, the Clojure compiler that emits JavaScript source code.
>>>
>>> README and source code: https://github.com/clojure/clojurescript
>>>
>>> Leiningen dependency information:
>>>
>>> [org.clojure/clojurescript "0.0-3255"]
>>>
>>> A big thanks goes out to Jonathan Boston and Shaun Lebron for this
>>> release. Thanks to their efforts ClojureScript now includes a full
>>> port of clojure.pprint under the cljs.pprint namespace. This was the
>>> last major namespace in need of porting to ClojureScript.
>>>
>>> The release also bumps several dependencies: Clojure 1.7.0-beta2,
>>> tools.reader 0.9.2, Closure Compiler v20150505, and Closure Library
>>> 0.0-20150505-021ed5b3.
>>>
>>> This release also fixes some regressions around async testing,
>>> docstring REPL support, arglist meta, and more.
>>>
>>> As always feedback welcome!
>>>
>>> ## 0.0-3255
>>>
>>> ### Changes
>>> * Update Closure Library dependency
>>> * CLJS-1252: Update Closure Compiler Dependency to v20150505
>>> * .clj -> .cljc for important analysis / compilation bits
>>> * add public cljs.compiler.api namespace
>>> * CLJS-1224: cljs.repl: Memoize stack frame mapping
>>> * depend on tools.reader 0.9.2
>>>
>>> ### Enhancements
>>> * add cljs.pprint/pp macro
>>> * CLJS-710: port clojure.pprint
>>> * CLJS-1178: Compiler does not know Math ns is not not-native
>>> * add getBasis methods to deftype and defrecord ctors a la Clojure JVM
>>> * support ^long and ^double type hints
>>>
>>> ### Fixes
>>> * fix cljs-1198 async testing regression
>>> * CLJS-1254: Update REPL browser agent detection CLJS-1253: Create/Use
>>>   new Closure Library Release
>>> * CLJS-1225: Variadic function with same name as parent function gives
>>>   runtime error in advanced compile mode.
>>> * CLJS-1246: Add cljs.core/record? predicate.
>>> * CLJS-1239: Make eduction variadic.
>>> * CLJS-1244: tagged-literal precondition check missing wrapping vector
>>> * CLJS-1243: Add TaggedLiteral type & related fns
>>> * CLJS-1240: Add cljs.core/var?
>>> * CLJS-1214: :arglists meta has needless quoting CLJS-1232: bad
>>>   arglists for doc, regression
>>> * CLJS-1212: Error in set ctor for > 8-entry map literal
>>> * CLJS-1218: Syntax quoting an alias created with :require-macros
>>>   throws ClassCastException
>>> * CLJS-1213: cljs.analyzer incorrectly marks all defs as tests when
>>>   eliding test metadata
>>> * CLJS-742: Compilation with :output-file option set fails
>>>
>>>
>>  --
> 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.
>



-- 
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
World Singles, LLC. -- http://worldsingles.com/

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

-- 
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

Re: ANN: ClojureScript 0.0-3255 - pretty printer & latest Closure Compiler / Library

2015-05-09 Thread Rangel Spasov
Hey guys,

0.0-3264 fails for me with:

clojure.lang.ExceptionInfo: failed compiling 
file:resources/public/js/compiled/out/cljs/core.cljs

 at clojure.core$ex_info.invoke (core.clj:4591)

Caused by: java.lang.IllegalArgumentException: No implementation of method: 
:make-reader of protocol: #'clojure.java.io/IOFactory found for class: nil

 at clojure.core$_cache_protocol_fn.invoke (core_deftype.clj:554)

0.0-3255 seems fine. 

@raspasov

On Saturday, May 9, 2015 at 12:33:52 PM UTC-7, David Nolen wrote:
>
> Just released 0.0-3264, it fixes a critical issue where .js files were 
> missing from the artifacts due to the changed build. Also included are a 
> several fixes around the :libs feature, REPLs, and stack trace mapping.
>
> David
>
> On Fri, May 8, 2015 at 3:23 PM, David Nolen  > wrote:
>
>> ClojureScript, the Clojure compiler that emits JavaScript source code.
>>
>> README and source code: https://github.com/clojure/clojurescript
>>
>> Leiningen dependency information:
>>
>> [org.clojure/clojurescript "0.0-3255"]
>>
>> A big thanks goes out to Jonathan Boston and Shaun Lebron for this
>> release. Thanks to their efforts ClojureScript now includes a full
>> port of clojure.pprint under the cljs.pprint namespace. This was the
>> last major namespace in need of porting to ClojureScript.
>>
>> The release also bumps several dependencies: Clojure 1.7.0-beta2,
>> tools.reader 0.9.2, Closure Compiler v20150505, and Closure Library
>> 0.0-20150505-021ed5b3.
>>
>> This release also fixes some regressions around async testing,
>> docstring REPL support, arglist meta, and more.
>>
>> As always feedback welcome!
>>
>> ## 0.0-3255
>>
>> ### Changes
>> * Update Closure Library dependency
>> * CLJS-1252: Update Closure Compiler Dependency to v20150505
>> * .clj -> .cljc for important analysis / compilation bits
>> * add public cljs.compiler.api namespace
>> * CLJS-1224: cljs.repl: Memoize stack frame mapping
>> * depend on tools.reader 0.9.2
>>
>> ### Enhancements
>> * add cljs.pprint/pp macro
>> * CLJS-710: port clojure.pprint
>> * CLJS-1178: Compiler does not know Math ns is not not-native
>> * add getBasis methods to deftype and defrecord ctors a la Clojure JVM
>> * support ^long and ^double type hints
>>
>> ### Fixes
>> * fix cljs-1198 async testing regression
>> * CLJS-1254: Update REPL browser agent detection CLJS-1253: Create/Use
>>   new Closure Library Release
>> * CLJS-1225: Variadic function with same name as parent function gives
>>   runtime error in advanced compile mode.
>> * CLJS-1246: Add cljs.core/record? predicate.
>> * CLJS-1239: Make eduction variadic.
>> * CLJS-1244: tagged-literal precondition check missing wrapping vector
>> * CLJS-1243: Add TaggedLiteral type & related fns
>> * CLJS-1240: Add cljs.core/var?
>> * CLJS-1214: :arglists meta has needless quoting CLJS-1232: bad
>>   arglists for doc, regression
>> * CLJS-1212: Error in set ctor for > 8-entry map literal
>> * CLJS-1218: Syntax quoting an alias created with :require-macros
>>   throws ClassCastException
>> * CLJS-1213: cljs.analyzer incorrectly marks all defs as tests when
>>   eliding test metadata
>> * CLJS-742: Compilation with :output-file option set fails
>>
>>
>

-- 
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.


Re: ANN: ClojureScript 0.0-3255 - pretty printer & latest Closure Compiler / Library

2015-05-09 Thread David Nolen
Just released 0.0-3264, it fixes a critical issue where .js files were
missing from the artifacts due to the changed build. Also included are a
several fixes around the :libs feature, REPLs, and stack trace mapping.

David

On Fri, May 8, 2015 at 3:23 PM, David Nolen  wrote:

> ClojureScript, the Clojure compiler that emits JavaScript source code.
>
> README and source code: https://github.com/clojure/clojurescript
>
> Leiningen dependency information:
>
> [org.clojure/clojurescript "0.0-3255"]
>
> A big thanks goes out to Jonathan Boston and Shaun Lebron for this
> release. Thanks to their efforts ClojureScript now includes a full
> port of clojure.pprint under the cljs.pprint namespace. This was the
> last major namespace in need of porting to ClojureScript.
>
> The release also bumps several dependencies: Clojure 1.7.0-beta2,
> tools.reader 0.9.2, Closure Compiler v20150505, and Closure Library
> 0.0-20150505-021ed5b3.
>
> This release also fixes some regressions around async testing,
> docstring REPL support, arglist meta, and more.
>
> As always feedback welcome!
>
> ## 0.0-3255
>
> ### Changes
> * Update Closure Library dependency
> * CLJS-1252: Update Closure Compiler Dependency to v20150505
> * .clj -> .cljc for important analysis / compilation bits
> * add public cljs.compiler.api namespace
> * CLJS-1224: cljs.repl: Memoize stack frame mapping
> * depend on tools.reader 0.9.2
>
> ### Enhancements
> * add cljs.pprint/pp macro
> * CLJS-710: port clojure.pprint
> * CLJS-1178: Compiler does not know Math ns is not not-native
> * add getBasis methods to deftype and defrecord ctors a la Clojure JVM
> * support ^long and ^double type hints
>
> ### Fixes
> * fix cljs-1198 async testing regression
> * CLJS-1254: Update REPL browser agent detection CLJS-1253: Create/Use
>   new Closure Library Release
> * CLJS-1225: Variadic function with same name as parent function gives
>   runtime error in advanced compile mode.
> * CLJS-1246: Add cljs.core/record? predicate.
> * CLJS-1239: Make eduction variadic.
> * CLJS-1244: tagged-literal precondition check missing wrapping vector
> * CLJS-1243: Add TaggedLiteral type & related fns
> * CLJS-1240: Add cljs.core/var?
> * CLJS-1214: :arglists meta has needless quoting CLJS-1232: bad
>   arglists for doc, regression
> * CLJS-1212: Error in set ctor for > 8-entry map literal
> * CLJS-1218: Syntax quoting an alias created with :require-macros
>   throws ClassCastException
> * CLJS-1213: cljs.analyzer incorrectly marks all defs as tests when
>   eliding test metadata
> * CLJS-742: Compilation with :output-file option set fails
>
>

-- 
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.


Re: ANN: ClojureScript 0.0-2496, cljs.test - a clojure.test port

2015-05-08 Thread Matthew Boston
Here's the commit I used when swapping cljs.test from clojurescript.test:

https://github.com/testdouble/clojurescript.csv/commit/ad68052e311df423e245ec4d2a7ee5572b2a3a35

Note the runner.js file line 26 is calling the exported function to run all 
the tests.

On Friday, May 8, 2015 at 12:49:07 AM UTC-6, puzzler wrote:
>
> I can't find any documentation or examples for using the new cljs.test 
> namespace.  Can someone point me in the right direction?  Thanks.
>

-- 
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.


Re: ANN: ClojureScript 0.0-3255 - pretty printer & latest Closure Compiler / Library

2015-05-08 Thread David Nolen
I forgot to add that with this release there are now AOTed artifacts for
ClojureScript and all of its Clojure dependencies.

[org.clojure/clojurescript "0.0-3255" :classifier "aot" :exclusions
[org.clojure/tools.reader org.clojure/data.json]]
[org.clojure/tools.reader "0.9.2" :classifier "aot"]
[org.clojure/data.json "0.2.6" :classifier "aot"]

Should do the trick and should significantly improve cold compile and REPL
start times. Feedback on the AOTed ClojureScript artifact is most welcome.

David

On Fri, May 8, 2015 at 3:23 PM, David Nolen  wrote:

> ClojureScript, the Clojure compiler that emits JavaScript source code.
>
> README and source code: https://github.com/clojure/clojurescript
>
> Leiningen dependency information:
>
> [org.clojure/clojurescript "0.0-3255"]
>
> A big thanks goes out to Jonathan Boston and Shaun Lebron for this
> release. Thanks to their efforts ClojureScript now includes a full
> port of clojure.pprint under the cljs.pprint namespace. This was the
> last major namespace in need of porting to ClojureScript.
>
> The release also bumps several dependencies: Clojure 1.7.0-beta2,
> tools.reader 0.9.2, Closure Compiler v20150505, and Closure Library
> 0.0-20150505-021ed5b3.
>
> This release also fixes some regressions around async testing,
> docstring REPL support, arglist meta, and more.
>
> As always feedback welcome!
>
> ## 0.0-3255
>
> ### Changes
> * Update Closure Library dependency
> * CLJS-1252: Update Closure Compiler Dependency to v20150505
> * .clj -> .cljc for important analysis / compilation bits
> * add public cljs.compiler.api namespace
> * CLJS-1224: cljs.repl: Memoize stack frame mapping
> * depend on tools.reader 0.9.2
>
> ### Enhancements
> * add cljs.pprint/pp macro
> * CLJS-710: port clojure.pprint
> * CLJS-1178: Compiler does not know Math ns is not not-native
> * add getBasis methods to deftype and defrecord ctors a la Clojure JVM
> * support ^long and ^double type hints
>
> ### Fixes
> * fix cljs-1198 async testing regression
> * CLJS-1254: Update REPL browser agent detection CLJS-1253: Create/Use
>   new Closure Library Release
> * CLJS-1225: Variadic function with same name as parent function gives
>   runtime error in advanced compile mode.
> * CLJS-1246: Add cljs.core/record? predicate.
> * CLJS-1239: Make eduction variadic.
> * CLJS-1244: tagged-literal precondition check missing wrapping vector
> * CLJS-1243: Add TaggedLiteral type & related fns
> * CLJS-1240: Add cljs.core/var?
> * CLJS-1214: :arglists meta has needless quoting CLJS-1232: bad
>   arglists for doc, regression
> * CLJS-1212: Error in set ctor for > 8-entry map literal
> * CLJS-1218: Syntax quoting an alias created with :require-macros
>   throws ClassCastException
> * CLJS-1213: cljs.analyzer incorrectly marks all defs as tests when
>   eliding test metadata
> * CLJS-742: Compilation with :output-file option set fails
>
>

-- 
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.


Re: ANN: ClojureScript 0.0-2496, cljs.test - a clojure.test port

2015-05-07 Thread puzzler
I can't find any documentation or examples for using the new cljs.test 
namespace.  Can someone point me in the right direction?  Thanks.

-- 
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.


Re: ANN: ClojureScript 0.0-3211

2015-04-26 Thread Jacob Goodson
Hey David, would you mind replying to this topic?  Thanks!

https://groups.google.com/forum/#!topic/clojure/7oROqb6dGSU

Dang typo!

On Saturday, April 25, 2015 at 7:12:31 PM UTC-4, David Nolen wrote:
>
> You need to make sure some other dependency isn't pulling in a different 
> version of tools.reader.
>
> David
>
> On Sat, Apr 25, 2015 at 11:11 PM, Allen Rohner  > wrote:
>
>>
>>
>> On Saturday, April 25, 2015 at 12:02:08 PM UTC-5, Mike Fikes wrote:
>>>
>>> Hey Tony, try updating the version of Clojure in your project.clj to 
>>> 1.7.0-beta1, which is used by 0.0-3211. 
>>>
>>> (In short, reader/read was given a second arity to allow options to be 
>>> passed, thus supporting #? conditional reading.)
>>
>>
>> I'm seeing the same behavior on 1.7.0-beta2. Yes, I've cleaned.  
>>
>> -- 
>> 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.
>>
>
>

-- 
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.


Re: ANN: ClojureScript 0.0-3211

2015-04-26 Thread Jacob Goodson
Hey Davis, would you mind replying to this topic?  Thanks!

https://groups.google.com/forum/#!topic/clojure/7oROqb6dGSU

On Saturday, April 25, 2015 at 7:12:31 PM UTC-4, David Nolen wrote:
>
> You need to make sure some other dependency isn't pulling in a different 
> version of tools.reader.
>
> David
>
> On Sat, Apr 25, 2015 at 11:11 PM, Allen Rohner  > wrote:
>
>>
>>
>> On Saturday, April 25, 2015 at 12:02:08 PM UTC-5, Mike Fikes wrote:
>>>
>>> Hey Tony, try updating the version of Clojure in your project.clj to 
>>> 1.7.0-beta1, which is used by 0.0-3211. 
>>>
>>> (In short, reader/read was given a second arity to allow options to be 
>>> passed, thus supporting #? conditional reading.)
>>
>>
>> I'm seeing the same behavior on 1.7.0-beta2. Yes, I've cleaned.  
>>
>> -- 
>> 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.
>>
>
>

-- 
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.


Re: ANN: ClojureScript 0.0-3211

2015-04-25 Thread David Nolen
You need to make sure some other dependency isn't pulling in a different
version of tools.reader.

David

On Sat, Apr 25, 2015 at 11:11 PM, Allen Rohner  wrote:

>
>
> On Saturday, April 25, 2015 at 12:02:08 PM UTC-5, Mike Fikes wrote:
>>
>> Hey Tony, try updating the version of Clojure in your project.clj to
>> 1.7.0-beta1, which is used by 0.0-3211.
>>
>> (In short, reader/read was given a second arity to allow options to be
>> passed, thus supporting #? conditional reading.)
>
>
> I'm seeing the same behavior on 1.7.0-beta2. Yes, I've cleaned.
>
> --
> 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.
>

-- 
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.


Re: ANN: ClojureScript 0.0-3211

2015-04-25 Thread Allen Rohner


On Saturday, April 25, 2015 at 4:11:40 PM UTC-5, Allen Rohner wrote:
>
>
>
> On Saturday, April 25, 2015 at 12:02:08 PM UTC-5, Mike Fikes wrote:
>>
>> Hey Tony, try updating the version of Clojure in your project.clj to 
>> 1.7.0-beta1, which is used by 0.0-3211. 
>>
>> (In short, reader/read was given a second arity to allow options to be 
>> passed, thus supporting #? conditional reading.)
>
>
> I'm seeing the same behavior on 1.7.0-beta2. Yes, I've cleaned.  
>

Upgrading tools.reader fixed the problem for me. My project doesn't specify 
tools.reader, but a dependency does, and that was presumably pulling in an 
older version that the cljs compiler wanted. 

-- 
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.


Re: ANN: ClojureScript 0.0-3211

2015-04-25 Thread Allen Rohner


On Saturday, April 25, 2015 at 12:02:08 PM UTC-5, Mike Fikes wrote:
>
> Hey Tony, try updating the version of Clojure in your project.clj to 
> 1.7.0-beta1, which is used by 0.0-3211. 
>
> (In short, reader/read was given a second arity to allow options to be 
> passed, thus supporting #? conditional reading.)


I'm seeing the same behavior on 1.7.0-beta2. Yes, I've cleaned.  

-- 
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.


Re: ANN: ClojureScript 0.0-3211

2015-04-25 Thread Mike Fikes
Hey Tony, try updating the version of Clojure in your project.clj to 
1.7.0-beta1, which is used by 0.0-3211.

(In short, reader/read was given a second arity to allow options to be passed, 
thus supporting #? conditional reading.)

-- 
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.


Re: ANN: ClojureScript 0.0-3211

2015-04-25 Thread Tony Tam
Hi,

I'm getting the following error when running cljsbuild with the latest 
clojurescript build (3211). Changing back to 3126 makes the build work.
Haven't been able to pinpoint the source.

clojure.lang.ArityException: Wrong number of args (2) passed to: reader/read
  at clojure.lang.AFn.throwArity(AFn.java:429)
  at clojure.lang.AFn.invoke(AFn.java:36)
  at 
cljs.analyzer$forms_seq_STAR_$forms_seq___1930$fn__1931$fn__1932.invoke(analyzer.clj:2001)
  at 
cljs.analyzer$forms_seq_STAR_$forms_seq___1930$fn__1931.invoke(analyzer.clj:1995)
  at clojure.lang.LazySeq.sval(LazySeq.java:40)
  at clojure.lang.LazySeq.seq(LazySeq.java:49)
  at clojure.lang.RT.seq(RT.java:484)
  at clojure.core$seq.invoke(core.clj:133)
  at cljs.analyzer$parse_ns$fn__1946.invoke(analyzer.clj:2072)
  at cljs.analyzer$parse_ns.invoke(analyzer.clj:2055)
  at cljs.analyzer$parse_ns.invoke(analyzer.clj:2046)
  at cljs.compiler$compile_root$fn__3062.invoke(compiler.clj:1170)
  at clojure.core$map$fn__4245.invoke(core.clj:2559)
  at clojure.lang.LazySeq.sval(LazySeq.java:40)
  at clojure.lang.LazySeq.seq(LazySeq.java:49)
  at clojure.lang.RT.seq(RT.java:484)
  at clojure.core$seq.invoke(core.clj:133)
  at clojure.core$map$fn__4245.invoke(core.clj:2551)
  at clojure.lang.LazySeq.sval(LazySeq.java:40)
  at clojure.lang.LazySeq.seq(LazySeq.java:49)
  at clojure.lang.RT.seq(RT.java:484)
  at clojure.core$seq.invoke(core.clj:133)
  at clojure.core.protocols$seq_reduce.invoke(protocols.clj:30)
  at clojure.core.protocols$fn__6078.invoke(protocols.clj:54)
  at clojure.core.protocols$fn__6031$G__6026__6044.invoke(protocols.clj:13)
  at clojure.core$reduce.invoke(core.clj:6289)
  at cljs.js_deps$build_index.invoke(js_deps.clj:126)
  at cljs.js_deps$dependency_order.invoke(js_deps.clj:166)
  at cljs.compiler$compile_root.invoke(compiler.clj:1171)
  at cljs.closure$compile_dir.invoke(closure.clj:378)
  at cljs.closure$eval3418$fn__3419.invoke(closure.clj:418)
  at cljs.closure$eval3354$fn__3355$G__3345__3362.invoke(closure.clj:325)
  at cljs.closure$eval3405$fn__3406.invoke(closure.clj:432)
  at cljs.closure$eval3354$fn__3355$G__3345__3362.invoke(closure.clj:325)
  at cljsbuild.compiler.SourcePaths$fn__3798.invoke(compiler.clj:67)
  at clojure.core$map$fn__4245.invoke(core.clj:2557)
  at clojure.lang.LazySeq.sval(LazySeq.java:40)
  at clojure.lang.LazySeq.seq(LazySeq.java:49)
  at clojure.lang.RT.seq(RT.java:484)
  at clojure.core$seq.invoke(core.clj:133)
  at clojure.core$apply.invoke(core.clj:624)
  at clojure.core$mapcat.doInvoke(core.clj:2586)
  at clojure.lang.RestFn.invoke(RestFn.java:423)
  at cljsbuild.compiler.SourcePaths._compile(compiler.clj:67)
  at cljs.closure$build.invoke(closure.clj:1446)
  at cljs.closure$build.invoke(closure.clj:1404)
  at cljsbuild.compiler$compile_cljs$fn__3809.invoke(compiler.clj:81)
  at cljsbuild.compiler$compile_cljs.invoke(compiler.clj:80)
  at cljsbuild.compiler$run_compiler.invoke(compiler.clj:179)
  at 
user$eval3941$iter__3959__3963$fn__3964$fn__3976.invoke(form-init4257815834781263139.clj:1)
  at 
user$eval3941$iter__3959__3963$fn__3964.invoke(form-init4257815834781263139.clj:1)
  at clojure.lang.LazySeq.sval(LazySeq.java:40)
  at clojure.lang.LazySeq.seq(LazySeq.java:49)
  at clojure.lang.RT.seq(RT.java:484)
  at clojure.core$seq.invoke(core.clj:133)
  at clojure.core$dorun.invoke(core.clj:2855)
  at clojure.core$doall.invoke(core.clj:2871)
  at user$eval3941.invoke(form-init4257815834781263139.clj:1)
  at clojure.lang.Compiler.eval(Compiler.java:6703)
  at clojure.lang.Compiler.eval(Compiler.java:6693)
  at clojure.lang.Compiler.load(Compiler.java:7130)
  at clojure.lang.Compiler.loadFile(Compiler.java:7086)
  at clojure.main$load_script.invoke(main.clj:274)
  at clojure.main$init_opt.invoke(main.clj:279)
  at clojure.main$initialize.invoke(main.clj:307)
  at clojure.main$null_opt.invoke(main.clj:342)
  at clojure.main$main.doInvoke(main.clj:420)
  at clojure.lang.RestFn.invoke(RestFn.java:421)
  at clojure.lang.Var.invoke(Var.java:383)
  at clojure.lang.AFn.applyToHelper(AFn.java:156)
  at clojure.lang.Var.applyTo(Var.java:700)
  at clojure.main.main(main.java:37)
Subprocess failed

-- 
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.


Re: [ClojureScript] Re: ANN: ClojureScript 0.0-3196, Conditional Reading, REPLs, and Code Motion

2015-04-13 Thread Leon Grapenthin
Is there any working ClojureScript NREPL with this latest setup of CLJ 
1.7-beta-1, CLJS3169 and cider-0.9-SNAPSHOT available?

Using weasel-0.6.0-SNAPSHOT with piggieback 0.2.0 gives me a functioning 
REPL but code completion and source jump don't work anymore.

Best regards,
 Leon.

On Sunday, April 12, 2015 at 11:34:53 AM UTC+2, Georgi Danov wrote:
>
> thanks! 
>
> On Saturday, April 11, 2015 at 5:15:06 PM UTC+2, David Nolen wrote: 
> > Yep, the clojure.main option is the one you want. 
> > 
> > 
> > David 
> > 
> > 
> > On Sat, Apr 11, 2015 at 10:45 AM, Georgi Danov  
> wrote: 
> > I did read it very carefully several times, but kept trying to use it 
> via remote connection (headbang). 
> > 
> > 
> > 
> > I got it running using the config "use clojure.main in normal JVM 
> process", is this how it's supposed to be? 
> > 
> > 
> > 
> > 
> > 
> > On Saturday, April 11, 2015 at 4:06:47 PM UTC+2, David Nolen wrote: 
> > 
> > > I was able to connect IntelliJ to a REPL because Cursive can now 
> connect to a ClojureScript REPL started in the usual way. There is no 
> special setup, make sure you've taken the time to read the new 
> ClojureScript Quick Start. 
> > 
> > > 
> > 
> > > 
> > 
> > > HTH, 
> > 
> > > David 
> > 
> > > 
> > 
> > > 
> > 
> > > On Sat, Apr 11, 2015 at 5:06 AM, Georgi Danov  
> wrote: 
> > 
> > > 
> > 
> > > Hi, 
> > 
> > >  I keep having troubles running repl with piggieback and once again I 
> see in the changelog this was improved. I also saw the screenshot in your 
> last tweet which clearly shows intellij can connect. 
> > 
> > > 
> > 
> > >  Can you please share your project set-up? Some sort of sample project 
> that has that up & running would be of great value. 
> > 
> > > 
> > 
> > >  Even when I follow the tutorials I end up in weird exceptions, last 
> one being 
> > 
> > > 
> > 
> > > No implementation of method: :-evaluate of protocol: 
> #'cljs.repl/IJavaScriptEnv found for class: clojure.lang.PersistentArrayMap 
> > 
> > > at 
> clojure.core$_cache_protocol_fn.invoke(core_deftype.clj:554) 
> > 
> > > 
> > 
> > > 
> > 
> > > 
> > 
> > > 
> > 
> > > 
> > 
> > > 
> > 
> > > 
> > 
> > > 
> > 
> > > -- 
> > 
> > > 
> > 
> > > 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. 
> > 
> > 
> > 
> > -- 
> > 
> > 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. 
>
>

-- 
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.


Re: [ClojureScript] Re: ANN: ClojureScript 0.0-3196, Conditional Reading, REPLs, and Code Motion

2015-04-12 Thread Georgi Danov
thanks!

On Saturday, April 11, 2015 at 5:15:06 PM UTC+2, David Nolen wrote:
> Yep, the clojure.main option is the one you want.
> 
> 
> David
> 
> 
> On Sat, Apr 11, 2015 at 10:45 AM, Georgi Danov  wrote:
> I did read it very carefully several times, but kept trying to use it via 
> remote connection (headbang).
> 
> 
> 
> I got it running using the config "use clojure.main in normal JVM process", 
> is this how it's supposed to be?
> 
> 
> 
> 
> 
> On Saturday, April 11, 2015 at 4:06:47 PM UTC+2, David Nolen wrote:
> 
> > I was able to connect IntelliJ to a REPL because Cursive can now connect to 
> > a ClojureScript REPL started in the usual way. There is no special setup, 
> > make sure you've taken the time to read the new ClojureScript Quick Start.
> 
> >
> 
> >
> 
> > HTH,
> 
> > David
> 
> >
> 
> >
> 
> > On Sat, Apr 11, 2015 at 5:06 AM, Georgi Danov  wrote:
> 
> >
> 
> > Hi,
> 
> >  I keep having troubles running repl with piggieback and once again I see 
> > in the changelog this was improved. I also saw the screenshot in your last 
> > tweet which clearly shows intellij can connect.
> 
> >
> 
> >  Can you please share your project set-up? Some sort of sample project that 
> > has that up & running would be of great value.
> 
> >
> 
> >  Even when I follow the tutorials I end up in weird exceptions, last one 
> > being
> 
> >
> 
> > No implementation of method: :-evaluate of protocol: 
> > #'cljs.repl/IJavaScriptEnv found for class: clojure.lang.PersistentArrayMap
> 
> >     at clojure.core$_cache_protocol_fn.invoke(core_deftype.clj:554)
> 
> >
> 
> >
> 
> >
> 
> >
> 
> >
> 
> >
> 
> >
> 
> >
> 
> > --
> 
> >
> 
> > 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.
> 
> 
> 
> --
> 
> 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.

-- 
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.


Re: [ClojureScript] Re: ANN: ClojureScript 0.0-3196, Conditional Reading, REPLs, and Code Motion

2015-04-11 Thread Bozhidar Batsov
Btw, CIDER 0.9-snapshot was just updated and now works with the latest
ClojureScript release.

On 11 April 2015 at 18:15, David Nolen  wrote:

> Yep, the clojure.main option is the one you want.
>
> David
>
> On Sat, Apr 11, 2015 at 10:45 AM, Georgi Danov 
> wrote:
>
>> I did read it very carefully several times, but kept trying to use it via
>> remote connection (headbang).
>>
>> I got it running using the config "use clojure.main in normal JVM
>> process", is this how it's supposed to be?
>>
>>
>> On Saturday, April 11, 2015 at 4:06:47 PM UTC+2, David Nolen wrote:
>> > I was able to connect IntelliJ to a REPL because Cursive can now
>> connect to a ClojureScript REPL started in the usual way. There is no
>> special setup, make sure you've taken the time to read the new
>> ClojureScript Quick Start.
>> >
>> >
>> > HTH,
>> > David
>> >
>> >
>> > On Sat, Apr 11, 2015 at 5:06 AM, Georgi Danov 
>> wrote:
>> >
>> > Hi,
>> >  I keep having troubles running repl with piggieback and once again I
>> see in the changelog this was improved. I also saw the screenshot in your
>> last tweet which clearly shows intellij can connect.
>> >
>> >  Can you please share your project set-up? Some sort of sample project
>> that has that up & running would be of great value.
>> >
>> >  Even when I follow the tutorials I end up in weird exceptions, last
>> one being
>> >
>> > No implementation of method: :-evaluate of protocol:
>> #'cljs.repl/IJavaScriptEnv found for class: clojure.lang.PersistentArrayMap
>> > at clojure.core$_cache_protocol_fn.invoke(core_deftype.clj:554)
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> > --
>> >
>> > 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.
>>
>> --
>> 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 clojurescript+unsubscr...@googlegroups.com.
>> To post to this group, send email to clojurescr...@googlegroups.com.
>> Visit this group at http://groups.google.com/group/clojurescript.
>>
>
>  --
> 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.
>

-- 
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.


Re: [ClojureScript] Re: ANN: ClojureScript 0.0-3196, Conditional Reading, REPLs, and Code Motion

2015-04-11 Thread David Nolen
Yep, the clojure.main option is the one you want.

David

On Sat, Apr 11, 2015 at 10:45 AM, Georgi Danov 
wrote:

> I did read it very carefully several times, but kept trying to use it via
> remote connection (headbang).
>
> I got it running using the config "use clojure.main in normal JVM
> process", is this how it's supposed to be?
>
>
> On Saturday, April 11, 2015 at 4:06:47 PM UTC+2, David Nolen wrote:
> > I was able to connect IntelliJ to a REPL because Cursive can now connect
> to a ClojureScript REPL started in the usual way. There is no special
> setup, make sure you've taken the time to read the new ClojureScript Quick
> Start.
> >
> >
> > HTH,
> > David
> >
> >
> > On Sat, Apr 11, 2015 at 5:06 AM, Georgi Danov 
> wrote:
> >
> > Hi,
> >  I keep having troubles running repl with piggieback and once again I
> see in the changelog this was improved. I also saw the screenshot in your
> last tweet which clearly shows intellij can connect.
> >
> >  Can you please share your project set-up? Some sort of sample project
> that has that up & running would be of great value.
> >
> >  Even when I follow the tutorials I end up in weird exceptions, last one
> being
> >
> > No implementation of method: :-evaluate of protocol:
> #'cljs.repl/IJavaScriptEnv found for class: clojure.lang.PersistentArrayMap
> > at clojure.core$_cache_protocol_fn.invoke(core_deftype.clj:554)
> >
> >
> >
> >
> >
> >
> >
> >
> > --
> >
> > 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.
>
> --
> 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 clojurescript+unsubscr...@googlegroups.com.
> To post to this group, send email to clojurescr...@googlegroups.com.
> Visit this group at http://groups.google.com/group/clojurescript.
>

-- 
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.


Re: [ClojureScript] Re: ANN: ClojureScript 0.0-3196, Conditional Reading, REPLs, and Code Motion

2015-04-11 Thread Georgi Danov
I did read it very carefully several times, but kept trying to use it via 
remote connection (headbang). 

I got it running using the config "use clojure.main in normal JVM process", is 
this how it's supposed to be?


On Saturday, April 11, 2015 at 4:06:47 PM UTC+2, David Nolen wrote:
> I was able to connect IntelliJ to a REPL because Cursive can now connect to a 
> ClojureScript REPL started in the usual way. There is no special setup, make 
> sure you've taken the time to read the new ClojureScript Quick Start.
> 
> 
> HTH,
> David
> 
> 
> On Sat, Apr 11, 2015 at 5:06 AM, Georgi Danov  wrote:
> 
> Hi,
>  I keep having troubles running repl with piggieback and once again I see in 
> the changelog this was improved. I also saw the screenshot in your last tweet 
> which clearly shows intellij can connect.
> 
>  Can you please share your project set-up? Some sort of sample project that 
> has that up & running would be of great value.
> 
>  Even when I follow the tutorials I end up in weird exceptions, last one 
> being 
> 
> No implementation of method: :-evaluate of protocol: 
> #'cljs.repl/IJavaScriptEnv found for class: clojure.lang.PersistentArrayMap
>     at clojure.core$_cache_protocol_fn.invoke(core_deftype.clj:554)
> 
> 
> 
> 
> 
> 
> 
> 
> -- 
> 
> 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.

-- 
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.


Re: [ClojureScript] Re: ANN: ClojureScript 0.0-3196, Conditional Reading, REPLs, and Code Motion

2015-04-11 Thread David Nolen
I was able to connect IntelliJ to a REPL because Cursive can now connect to
a ClojureScript REPL started in the usual way. There is no special setup,
make sure you've taken the time to read the new ClojureScript Quick Start.

HTH,
David

On Sat, Apr 11, 2015 at 5:06 AM, Georgi Danov 
wrote:

> Hi,
>  I keep having troubles running repl with piggieback and once again I see
> in the changelog this was improved. I also saw the screenshot in your last
> tweet which clearly shows intellij can connect.
>
>  Can you please share your project set-up? Some sort of sample project
> that has that up & running would be of great value.
>
>  Even when I follow the tutorials I end up in weird exceptions, last one
> being
>
> No implementation of method: :-evaluate of protocol:
> #'cljs.repl/IJavaScriptEnv found for class: clojure.lang.PersistentArrayMap
> at clojure.core$_cache_protocol_fn.invoke(core_deftype.clj:554)
>
>  --
> 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 clojurescript+unsubscr...@googlegroups.com.
> To post to this group, send email to clojurescr...@googlegroups.com.
> Visit this group at http://groups.google.com/group/clojurescript.
>

-- 
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.


Re: ANN: ClojureScript 0.0-3196, Conditional Reading, REPLs, and Code Motion

2015-04-11 Thread Georgi Danov
Hi,
 I keep having troubles running repl with piggieback and once again I see 
in the changelog this was improved. I also saw the screenshot in your last 
tweet which clearly shows intellij can connect.

 Can you please share your project set-up? Some sort of sample project that 
has that up & running would be of great value.

 Even when I follow the tutorials I end up in weird exceptions, last one 
being 

No implementation of method: :-evaluate of protocol: 
#'cljs.repl/IJavaScriptEnv found for class: clojure.lang.PersistentArrayMap
at clojure.core$_cache_protocol_fn.invoke(core_deftype.clj:554)

-- 
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.


Re: [ClojureScript] Re: ANN: ClojureScript 0.0-3115

2015-03-17 Thread Leon Grapenthin
Thanks :)

On Tuesday, March 17, 2015 at 12:41:56 PM UTC+1, David Nolen wrote:
>
> Yes I said earlier that you'll want SNAPSHOT releases of both weasel and 
> piggieback. The current release of piggieback doesn't include this commit 
> https://github.com/cemerick/piggieback/commit/966c811ab817df0e818404943c473081337b286e
>
> In the case of weasel you might want to try a local install of my patched 
> fork https://github.com/swannodette/weasel
>
> David
>
> On Tue, Mar 17, 2015 at 5:29 AM, Leon Grapenthin  > wrote:
>
>> And stacktrace - looks like a piggieback issue:
>>   core.clj: 4577  clojure.core/ex-info
>>   analyzer.clj:  379  cljs.analyzer/error
>>   analyzer.clj:  376  cljs.analyzer/error
>>   analyzer.clj: 1249  cljs.analyzer/analyze-deps
>>   analyzer.clj: 1494  cljs.analyzer/eval18559/fn
>>   MultiFn.java:  251  clojure.lang.MultiFn/invoke
>>   analyzer.clj: 1833  cljs.analyzer/analyze-seq
>>   analyzer.clj: 1925  cljs.analyzer/analyze/fn
>>   analyzer.clj: 1918  cljs.analyzer/analyze
>>   analyzer.clj: 2133  cljs.analyzer/analyze-file/fn
>>   analyzer.clj: 2129  cljs.analyzer/analyze-file
>>   analyzer.clj: 1246  cljs.analyzer/analyze-deps
>>   analyzer.clj: 1494  cljs.analyzer/eval18559/fn
>>   MultiFn.java:  251  clojure.lang.MultiFn/invoke
>>   analyzer.clj: 1833  cljs.analyzer/analyze-seq
>>   analyzer.clj: 1925  cljs.analyzer/analyze/fn
>>   analyzer.clj: 1918  cljs.analyzer/analyze
>>   analyzer.clj: 2133  cljs.analyzer/analyze-file/fn
>>   analyzer.clj: 2129  cljs.analyzer/analyze-file
>>   analyzer.clj: 1246  cljs.analyzer/analyze-deps
>>   analyzer.clj: 1494  cljs.analyzer/eval18559/fn
>>   MultiFn.java:  251  clojure.lang.MultiFn/invoke
>>   analyzer.clj: 1833  cljs.analyzer/analyze-seq
>>   analyzer.clj: 1925  cljs.analyzer/analyze/fn
>>   analyzer.clj: 1918  cljs.analyzer/analyze
>>   repl.clj:  389  cljs.repl/evaluate-form
>>   repl.clj:  386  cljs.repl/evaluate-form
>> piggieback.clj:  116  cemerick.piggieback/cljs-eval/fn
>>   AFn.java:  152  clojure.lang.AFn/applyToHelper
>>   AFn.java:  144  clojure.lang.AFn/applyTo
>>   core.clj:  626  clojure.core/apply
>>   core.clj: 1864  clojure.core/with-bindings*
>>RestFn.java:  425  clojure.lang.RestFn/invoke
>> piggieback.clj:   97  cemerick.piggieback/cljs-eval
>>   AFn.java:  165  clojure.lang.AFn/applyToHelper
>>   AFn.java:  144  clojure.lang.AFn/applyTo
>>   core.clj:  628  clojure.core/apply
>> piggieback.clj:  180  cemerick.piggieback/cljs-repl/fn
>>RestFn.java:  436  clojure.lang.RestFn/invoke
>>   Var.java:  388  clojure.lang.Var/invoke
>>   REPL:1  
>> colligent.components.staff.vouchers/eval30315
>>  Compiler.java: 6767  clojure.lang.Compiler/eval
>>  Compiler.java: 6730  clojure.lang.Compiler/eval
>>   core.clj: 3076  clojure.core/eval
>>   main.clj:  239  clojure.main/repl/read-eval-print/fn
>>   main.clj:  239  clojure.main/repl/read-eval-print
>>   main.clj:  257  clojure.main/repl/fn
>>   main.clj:  257  clojure.main/repl
>>RestFn.java: 1523  clojure.lang.RestFn/invoke
>> interruptible_eval.clj:   67  
>> clojure.tools.nrepl.middleware.interruptible-eval/evaluate/fn
>>   AFn.java:  152  clojure.lang.AFn/applyToHelper
>>   AFn.java:  144  clojure.lang.AFn/applyTo
>>   core.clj:  626  clojure.core/apply
>>   core.clj: 1864  clojure.core/with-bindings*
>>RestFn.java:  425  clojure.lang.RestFn/invoke
>> interruptible_eval.clj:   51  
>> clojure.tools.nrepl.middleware.interruptible-eval/evaluate
>> interruptible_eval.clj:  183  
>> clojure.tools.nrepl.middleware.interruptible-eval/interruptible-eval/fn/fn
>> interruptible_eval.clj:  152  
>> clojure.tools.nrepl.middleware.interruptible-eval/run-next/fn
>>   AFn.java:   22  clojure.lang.AFn/run
>>ThreadPoolExecutor.java: 1145  
>> java.util.concurrent.ThreadPoolExecutor/runWorker
>>ThreadPoolExecutor.java:  615  
>> java.util.concurrent.ThreadPoolExecutor$Worker/run
>>Thread.java:  745  java.lang.Thread/run
>>
>> --
>> Note that posts fr

Re: [ClojureScript] Re: ANN: ClojureScript 0.0-3115

2015-03-17 Thread David Nolen
We bumped the Closure Compiler dependency which now spews a few innocuous
warnings. Feel free to report this one to the Google Closure mailing list.
I've already reported the Object type one we get now when using browser
REPL.

David

On Tue, Mar 17, 2015 at 5:46 AM, Max Gonzih  wrote:

> After update compilation with advanced optimizations displays following
> warning:
>
> WARNING:
> file:/home/gnzh/.m2/repository/org/clojure/google-closure-library/0.0-20140718-946a7d39/google-closure-library-0.0-20140718-946a7d39.jar!/goog/net/jsonp.js:269:
> WARNING - Misplaced f
> unction annotation.
>   return function(var_args) {
>   ^
>
> Mar 17, 2015 10:44:04 AM com.google.javascript.jscomp.LoggerErrorManager
> printSummary
> WARNING: 0 error(s), 1 warning(s)
>
>
> Just curios what is it related to?
>
>
> On Monday, March 16, 2015 at 12:12:08 PM UTC+1, David Nolen wrote:
>>
>> ClojureScript, the Clojure compiler that emits JavaScript source code.
>>
>> README and source code: https://github.com/clojure/clojurescript
>>
>> New release version: 0.0-3115
>>
>> Leiningen dependency information:
>>
>> [org.clojure/clojurescript "0.0-3115"]
>>
>> This release is a bugfix release addressing several long outstanding
>> issues as well as a number of problems that cropped up around improved
>> REPLs and compile times.
>>
>> As usual feedback welcome!
>>
>> ## 0.0-3115
>>
>> ### Enhancements
>> * CLJS-806: support ^:const
>> * CLJS-1115: Reusable repl-bootstrap! fn
>>
>> ### Changes
>> * CLJS-667: validate extend-type and extend-protocol shape
>> * CLJS-1112: :repl-requires option for REPL evaluation environment
>> * CLJS-: browser REPL should have no side effects until -setup
>>
>> ### Fixes
>> * CLJS-1085: Allow to pass test environment to cljs.test/run-all-tests
>> * CLJS-867: extend-type with Object methods requires multi-arity style
>> definition
>> * CLJS-1118: cljs.repl/doc support for protocols
>> * CLJS-889: re-pattern works on strings containing \u2028 or \u2029
>> * CLJS-109: Compiler errors/warnings should be displayed when cljs
>> namespace 'package' names start with an unacceptable javascript symbol
>> * CLJS-891: Defs in "parent" namespaces clash with "child" namespaces
>> with the same name?
>> * CLJS-813: Warn about reserved JS keyword usage in namespace names
>> * CLJS-876: merged sourcemap doesn't account for output-wrapper
>> * CLJS-1062: Incorrect deftype/defrecord definition leads to complex
>> error messages
>> * CLJS-1120: analyze-deps does not appear to work when analyzing analysis
>> caches
>> * CLJS-1119: constant table emission logic is incorrect
>> * CLJS-977: implement IKVReduce in Subvec
>> * CLJS-1117: Dependencies in JARs don't use cached analysis
>> * CLJS-689: js/-Infinity munges to _Infinity
>> * CLJS-1114: browser REPL script loading race condition
>> * CLJS-1110: cljs.closure/watch needs to print errors to *err*
>> * CLJS-1101 cljs.test might throw when trying to detect file-and-line
>> * CLJS-1090: macros imported from clojure.core missing docs
>> * CLJS-1108: :modules :output-to needs to create directories
>> * CLJS-1095: UUID to implement IComparable
>> * CLJS-1096: Update js/Date -equiv and -compare semantics based on
>> Date.valueOf() value
>> * CLJS-1102 clojure.test should print column number of exception when
>> available
>>
>>  --
> 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 clojurescript+unsubscr...@googlegroups.com.
> To post to this group, send email to clojurescr...@googlegroups.com.
> Visit this group at http://groups.google.com/group/clojurescript.
>

-- 
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.


  1   2   3   4   >