Re: [ClojureScript] INTERNAL COMPILER ERROR starting with Cljs >= 1.8.51

2016-10-19 Thread Peter B. West
And the signature of ES6ModuleLoader changed from
 public ES6ModuleLoader(List moduleRoots, Iterable 
inputs)
in v20160315
to
 public ES6ModuleLoader(AbstractCompiler compiler,
  List moduleRoots, Iterable inputs)
in v20160517

P
> On 19 Oct 2016, at 7:20 pm, Peter B. West <peter.b.w...@gmail.com> wrote:
> 
> Provided that the compiler version is later than July 23.
> 
>> On 19 Oct 2016, at 7:15 pm, Peter B. West <peter.b.w...@gmail.com> wrote:
>> 
>> ES6ModuleLoader disappeared a while ago.
>> 
>> https://github.com/google/closure-compiler/commit/77805574dbdf21a5526b10a4c1fd866c0144dbba
>> 
>> That would explain the
>> No matching ctor found for class com.google.javascript.jscomp.ES6ModuleLoader
>> error.
>> 
>> —
>> Peter West
>> p...@pbw.id.au
>> “Every one to whom much is given, of him will much be required…”
>> 
>>> On 19 Oct 2016, at 6:43 pm, Peter Taoussanis <ptaoussa...@gmail.com> wrote:
>>> 
>>> Thanks for the input Thomas, Daniel!
>>> 
>>> Have ruled out dep conflicts, and only have a single extern that I've had 
>>> around for forever (jquery).
>>> 
>>> Next step might be a bisect, but honestly not urgent enough to go to the 
>>> effort - especially if (as it looks) I might be the only one experiencing a 
>>> problem atm.
>>> 
>>> Will see if something changes over the next few Cljs or Closure releases.
>>> 
>>> For example, notice that this seems to have just been committed? - 
>>> https://github.com/clojure/clojurescript/commit/732034bc8cb7e356b211c5d2b88a7af94ba184e5
>>> 
>>> Will ping here if I have any updates to report.
>>> 
>>> Cheers :-)
>>> 
>>> -- 
>>> 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 clojurescript@googlegroups.com.
>>> Visit this group at https://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 clojurescript@googlegroups.com.
Visit this group at https://groups.google.com/group/clojurescript.


Re: [ClojureScript] INTERNAL COMPILER ERROR starting with Cljs >= 1.8.51

2016-10-19 Thread Peter B. West
Provided that the compiler version is later than July 23.

> On 19 Oct 2016, at 7:15 pm, Peter B. West <peter.b.w...@gmail.com> wrote:
> 
> ES6ModuleLoader disappeared a while ago.
> 
> https://github.com/google/closure-compiler/commit/77805574dbdf21a5526b10a4c1fd866c0144dbba
> 
> That would explain the
> No matching ctor found for class com.google.javascript.jscomp.ES6ModuleLoader
> error.
> 
> —
> Peter West
> p...@pbw.id.au
> “Every one to whom much is given, of him will much be required…”
> 
>> On 19 Oct 2016, at 6:43 pm, Peter Taoussanis <ptaoussa...@gmail.com> wrote:
>> 
>> Thanks for the input Thomas, Daniel!
>> 
>> Have ruled out dep conflicts, and only have a single extern that I've had 
>> around for forever (jquery).
>> 
>> Next step might be a bisect, but honestly not urgent enough to go to the 
>> effort - especially if (as it looks) I might be the only one experiencing a 
>> problem atm.
>> 
>> Will see if something changes over the next few Cljs or Closure releases.
>> 
>> For example, notice that this seems to have just been committed? - 
>> https://github.com/clojure/clojurescript/commit/732034bc8cb7e356b211c5d2b88a7af94ba184e5
>> 
>> Will ping here if I have any updates to report.
>> 
>> Cheers :-)
>> 
>> -- 
>> 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 clojurescript@googlegroups.com.
>> Visit this group at https://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 clojurescript@googlegroups.com.
Visit this group at https://groups.google.com/group/clojurescript.


Re: [ClojureScript] INTERNAL COMPILER ERROR starting with Cljs >= 1.8.51

2016-10-19 Thread Peter B. West
ES6ModuleLoader disappeared a while ago.

https://github.com/google/closure-compiler/commit/77805574dbdf21a5526b10a4c1fd866c0144dbba

That would explain the
No matching ctor found for class com.google.javascript.jscomp.ES6ModuleLoader
error.

—
Peter West
p...@pbw.id.au
“Every one to whom much is given, of him will much be required…”

> On 19 Oct 2016, at 6:43 pm, Peter Taoussanis  wrote:
> 
> Thanks for the input Thomas, Daniel!
> 
> Have ruled out dep conflicts, and only have a single extern that I've had 
> around for forever (jquery).
> 
> Next step might be a bisect, but honestly not urgent enough to go to the 
> effort - especially if (as it looks) I might be the only one experiencing a 
> problem atm.
> 
> Will see if something changes over the next few Cljs or Closure releases.
> 
> For example, notice that this seems to have just been committed? - 
> https://github.com/clojure/clojurescript/commit/732034bc8cb7e356b211c5d2b88a7af94ba184e5
> 
> Will ping here if I have any updates to report.
> 
> Cheers :-)
> 
> -- 
> 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 clojurescript@googlegroups.com.
> Visit this group at https://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 clojurescript@googlegroups.com.
Visit this group at https://groups.google.com/group/clojurescript.


Re: [ClojureScript] AMD support

2016-08-19 Thread Peter B. West
Thanks David.

Is this (what works and what doesn’t) spelled out anywhere, or is it all 
implicit knowledge.

Peter

> On 20 Aug 2016, at 9:53 am, David Nolen <dnolen.li...@gmail.com> wrote:
> 
> Various bits work (and it appears quite well) but it needs more attending to 
> than anybody currently actively involved in ClojureScript compiler work has 
> time for at the moment.
> 
> Definitely a great area for impactful contribution.
> 
> David
> 
> On Fri, Aug 19, 2016 at 7:47 PM, Peter B. West <peter.b.w...@gmail.com> wrote:
> Last year Maria was working on support for AMD, Common JS and ES6 modules for 
> ClojureScript.  I notice that the closure-compiler wiki has a page about 
> modules (https://github.com/google/closure-compiler/wiki/JS-Modules) that 
> mentions ES6, Common JS and goog.module.  That page says that 20160517 or 
> newer is required for full module interop.
> 
> What’s the status of module support in ClojureScript?
> 
> —
> Peter West
> p...@pbw.id.au
> “‘Am I not allowed to do what I choose with what belongs to me?’”
> 
> --
> 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 clojurescript@googlegroups.com.
> Visit this group at https://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 clojurescript@googlegroups.com.
> Visit this group at https://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 clojurescript@googlegroups.com.
Visit this group at https://groups.google.com/group/clojurescript.


[ClojureScript] AMD support

2016-08-19 Thread Peter B. West
Last year Maria was working on support for AMD, Common JS and ES6 modules for 
ClojureScript.  I notice that the closure-compiler wiki has a page about 
modules (https://github.com/google/closure-compiler/wiki/JS-Modules) that 
mentions ES6, Common JS and goog.module.  That page says that 20160517 or newer 
is required for full module interop.

What’s the status of module support in ClojureScript?

—
Peter West
p...@pbw.id.au
“‘Am I not allowed to do what I choose with what belongs to me?’”

-- 
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 clojurescript@googlegroups.com.
Visit this group at https://groups.google.com/group/clojurescript.


Re: [ClojureScript] ANN: ClojureScript 1.8.51

2016-05-31 Thread Peter B. West
After a reboot, neither can I.

Incidentally, a) Safari Technology Preview is ridiculously slow, and b) the 
README.md in the jar file still has the release at 1.8.40.

(Just opened Chrome to check speed and realised what I had done wrong.  Low 
level user error.)

Thanks

> On 31 May 2016, at 12:15 PM, David Nolen  wrote:
> 
> I cannot replicate this problem when following the Quick Start instructions 
> using the latest released uber JAR linked to in the Quick Start.
> 
> David
> 
> On Mon, May 30, 2016 at 7:34 PM, Peter West  wrote:
> 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
> 
> 
> -- 
> 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 clojurescript@googlegroups.com.
> Visit this group at https://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 clojurescript@googlegroups.com.
> Visit this group at https://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 clojurescript@googlegroups.com.
Visit this group at https://groups.google.com/group/clojurescript.


Re: [ClojureScript] Exploring the ClojureScript REPL

2015-04-05 Thread Peter B. West

 On 6 Apr 2015, at 9:38 am, Alex Eberts alex.ebe...@gmail.com wrote:
 
 Hi Mike,
 
 Thanks for the feedback! Good suggestion re: @. I'm inclined to add a small 
 section rather than simplifying the whole thing as I think there are some 
 useful mistakes to learn from in the longer explanation. 
 
 I realize the post is probably way too long already - I was only intending it 
 to be a couple of paragraphs but there are lots of pitfalls to get into as a 
 newbie! Egads.
 
 Alex

Hi Alex,

Yes, there are plenty of pitfalls, and your document is aimed at newcomers, so 
the more explanation the better.  Old hands forget how difficult it can be to 
get you head around this stuff, so please err on the side of redundancy.

Peter West
...the other disciple, who reached the tomb first, also went in, and he saw and 
believed...

 On Sunday, April 5, 2015 at 7:23:25 PM UTC-4, Mike Fikes wrote:
 Hi Alex,
 
 I like it!
 
 One thing worth considering is `deref`ing the `app-state` atom in lieu of 
 letting the #Atom ... representation print. Maybe just slap an `@` on 
 front without explaining atoms in depth?
 
 - Mike
 
 
 
 On Apr 5, 2015, at 7:00 PM, Alex Eberts wrote:
 
 Hi All,
 
 I just wrote a blog post for beginner CLJS developers (like me) which 
 illustrates a typical REPL session complete with many of the initial 
 mistakes that I made in the hopes that anyone new to ClojureScript REPL 
 development may avoid the same pitfalls.
 
 http://www.alexeberts.com/exploring-the-clojurescript-repl/
 
 It picks up where the Quick Start guide left off and covers:
 
 * Navigating ClojureScript namespaces from the REPL.
 * The connection between ClojureScript vars and JavaScript objects.
 * Using Chrome DevTools to explore a ClojureScript app running in the 
 browser.
 * Interactive REPL development using :reload.
 
 Comments, corrections and improvements most welcome!
 best wishes,
 Alex
 
 -- 
 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 clojurescript@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 clojurescript@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 clojurescript@googlegroups.com.
Visit this group at http://groups.google.com/group/clojurescript.