Re: [ClojureScript] Re: ANN: ClojureScript 0.0-2014 - source maps, incremental compilation, and internal changes

2013-11-08 Thread Geraldo Lopes de Souza
Thank you David!

On Friday, November 8, 2013 2:46:03 PM UTC-2, David Nolen wrote:
> Thanks for the report, fixed in 0.0-2024.
> 
> 
> 
> On Thu, Nov 7, 2013 at 5:14 PM, Geraldo Lopes de Souza  
> wrote:
> 
> David,
> 
> 
> 
> Using relative source maps is not updating .cljs equivalents when the 
> original source is updated. If you delete it'll be created. If you update the 
> .cljs it remains stalled.
> 
> 
> 
> Using lein-cljsbuild "1.0.0-alpha2".
> 
> 
> 
> Regards,
> 
> 
> 
> Geraldo
> 
> 
> 
> 
> 
> On Wednesday, November 6, 2013 6:09:09 PM UTC-2, 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-2014
> 
> >
> 
> >
> 
> > Leiningen dependency information:
> 
> >
> 
> >
> 
> >     [org.clojure/clojurescript "0.0-2014"]
> 
> >
> 
> >
> 
> > There are a number of significant enhancements in this
> 
> >
> 
> > release. We finally have relative source maps! This should be big
> 
> > for people integrating ClojureScript with existing web
> 
> > based workflows.
> 
> >
> 
> >
> 
> > Under the hood Chas Emerick has improved how the analyzer works making
> 
> >
> 
> > it thread safe. This make the compiler considerably more robust and
> 
> > eliminates some race conditions in the browser REPL support.
> 
> >
> 
> >
> 
> > Incremental compilation is enhanced both with and without source
> 
> >
> 
> > maps. In particular we now tag ClojureScript compiled JavaScript files
> 
> > with the version of the compiler used - this should make transitioning
> 
> > to a new version of the compiler considerably less frustrating - stale
> 
> >
> 
> > files will get compiled.
> 
> >
> 
> >
> 
> > For those people using the compiler internals directly you will likely
> 
> > encounter breakage. If anyone feels inclined to outline a more stable
> 
> > interface to internals please get involved in leading an incremental
> 
> >
> 
> > process towards a stable and flexible API for tool builders.
> 
> >
> 
> >
> 
> > Enhancements:
> 
> > * relative source map paths, all original sources will be copied to
> 
> >   :ouput-dir this should make integrating with web workflow much simpler.
> 
> >
> 
> > * runtime obtainable compiler version number, *clojurescript-version* now
> 
> >   available at runtime as a string
> 
> >
> 
> >
> 
> > Bug fixes:
> 
> > * CLJS-643: make the ClojureScript compiler (more) idempotent
> 
> >
> 
> > * CLJS-662: CLJS files compiled from JARs get lost from source map
> 
> > * CLJS-661: (try ... (catch :default e ...) ...)
> 
> > * CLJS-627: Add warnings on function arity problems
> 
> > * CLJS-654: Quit repljs on ^D, don't loop on nil
> 
> >
> 
> > * CLJS-659: tag compiled files with compiler version
> 
> > * CLJS-642: deftype/record should not emit goog.provide
> 
> > * CLJS-648: persistent assoc/conj on a transient-created collision node
> 
> > * CLJS-631: Use ana/namespaces for shadowing vars
> 
> >
> 
> > * CLJS-641: js* overflow for large inputs
> 
> > * CLJS-645: parse-ns needs to include 'constants-table as a dep
> 
> > * CLJS-646: single segment namespaces and reify don't work
> 
> > * CLJS-521: pass along entire repl environment when loading dependencies
> 
> 
> 
> 
> 
> --
> 
> 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/groups/opt_out.


Re: [ClojureScript] Re: ANN: ClojureScript 0.0-2014 - source maps, incremental compilation, and internal changes

2013-11-08 Thread David Nolen
Thanks for the report, fixed in 0.0-2024.


On Thu, Nov 7, 2013 at 5:14 PM, Geraldo Lopes de Souza  wrote:

> David,
>
> Using relative source maps is not updating .cljs equivalents when the
> original source is updated. If you delete it'll be created. If you update
> the .cljs it remains stalled.
>
> Using lein-cljsbuild "1.0.0-alpha2".
>
> Regards,
>
> Geraldo
>
> On Wednesday, November 6, 2013 6:09:09 PM UTC-2, 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-2014
> >
> >
> > Leiningen dependency information:
> >
> >
> > [org.clojure/clojurescript "0.0-2014"]
> >
> >
> > There are a number of significant enhancements in this
> >
> > release. We finally have relative source maps! This should be big
> > for people integrating ClojureScript with existing web
> > based workflows.
> >
> >
> > Under the hood Chas Emerick has improved how the analyzer works making
> >
> > it thread safe. This make the compiler considerably more robust and
> > eliminates some race conditions in the browser REPL support.
> >
> >
> > Incremental compilation is enhanced both with and without source
> >
> > maps. In particular we now tag ClojureScript compiled JavaScript files
> > with the version of the compiler used - this should make transitioning
> > to a new version of the compiler considerably less frustrating - stale
> >
> > files will get compiled.
> >
> >
> > For those people using the compiler internals directly you will likely
> > encounter breakage. If anyone feels inclined to outline a more stable
> > interface to internals please get involved in leading an incremental
> >
> > process towards a stable and flexible API for tool builders.
> >
> >
> > Enhancements:
> > * relative source map paths, all original sources will be copied to
> >   :ouput-dir this should make integrating with web workflow much simpler.
> >
> > * runtime obtainable compiler version number, *clojurescript-version* now
> >   available at runtime as a string
> >
> >
> > Bug fixes:
> > * CLJS-643: make the ClojureScript compiler (more) idempotent
> >
> > * CLJS-662: CLJS files compiled from JARs get lost from source map
> > * CLJS-661: (try ... (catch :default e ...) ...)
> > * CLJS-627: Add warnings on function arity problems
> > * CLJS-654: Quit repljs on ^D, don't loop on nil
> >
> > * CLJS-659: tag compiled files with compiler version
> > * CLJS-642: deftype/record should not emit goog.provide
> > * CLJS-648: persistent assoc/conj on a transient-created collision node
> > * CLJS-631: Use ana/namespaces for shadowing vars
> >
> > * CLJS-641: js* overflow for large inputs
> > * CLJS-645: parse-ns needs to include 'constants-table as a dep
> > * CLJS-646: single segment namespaces and reify don't work
> > * CLJS-521: pass along entire repl environment when loading dependencies
>
> --
> 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/groups/opt_out.


Re: ANN: ClojureScript 0.0-2014 - source maps, incremental compilation, and internal changes

2013-11-07 Thread Geraldo Lopes de Souza
David,

Using relative source maps is not updating .cljs equivalents when the original 
source is updated. If you delete it'll be created. If you update the .cljs it 
remains stalled.

Using lein-cljsbuild "1.0.0-alpha2".

Regards,

Geraldo

On Wednesday, November 6, 2013 6:09:09 PM UTC-2, 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-2014
> 
> 
> Leiningen dependency information:
> 
> 
>     [org.clojure/clojurescript "0.0-2014"]
> 
> 
> There are a number of significant enhancements in this
> 
> release. We finally have relative source maps! This should be big
> for people integrating ClojureScript with existing web
> based workflows.
> 
> 
> Under the hood Chas Emerick has improved how the analyzer works making
> 
> it thread safe. This make the compiler considerably more robust and
> eliminates some race conditions in the browser REPL support.
> 
> 
> Incremental compilation is enhanced both with and without source
> 
> maps. In particular we now tag ClojureScript compiled JavaScript files
> with the version of the compiler used - this should make transitioning
> to a new version of the compiler considerably less frustrating - stale
> 
> files will get compiled.
> 
> 
> For those people using the compiler internals directly you will likely
> encounter breakage. If anyone feels inclined to outline a more stable
> interface to internals please get involved in leading an incremental
> 
> process towards a stable and flexible API for tool builders.
> 
> 
> Enhancements:
> * relative source map paths, all original sources will be copied to
>   :ouput-dir this should make integrating with web workflow much simpler.
> 
> * runtime obtainable compiler version number, *clojurescript-version* now
>   available at runtime as a string
> 
> 
> Bug fixes:
> * CLJS-643: make the ClojureScript compiler (more) idempotent
> 
> * CLJS-662: CLJS files compiled from JARs get lost from source map
> * CLJS-661: (try ... (catch :default e ...) ...)
> * CLJS-627: Add warnings on function arity problems
> * CLJS-654: Quit repljs on ^D, don't loop on nil
> 
> * CLJS-659: tag compiled files with compiler version
> * CLJS-642: deftype/record should not emit goog.provide
> * CLJS-648: persistent assoc/conj on a transient-created collision node
> * CLJS-631: Use ana/namespaces for shadowing vars
> 
> * CLJS-641: js* overflow for large inputs
> * CLJS-645: parse-ns needs to include 'constants-table as a dep
> * CLJS-646: single segment namespaces and reify don't work
> * CLJS-521: pass along entire repl environment when loading dependencies

-- 
-- 
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/groups/opt_out.


Re: ANN: ClojureScript 0.0-2014 - source maps, incremental compilation, and internal changes

2013-11-07 Thread Alan Moore
Just in case it hasn't been mentioned lately... you guys rock!

Thank you *so* much for your hard work on these tools... let me know how I can 
help.

Alan

On Wednesday, November 6, 2013 12:24:08 PM UTC-8, David Nolen wrote:
> Oh, the speed of incremental compilation is now dependent on tools preserving 
> the complier environment information - Chas Emerick should be cutting a 
> release of lein-cljsbuild that does this when ClojureScript 0.0-2014 hits 
> Maven Central.
> 
> 
> 
> 
> On Wed, Nov 6, 2013 at 3:09 PM, 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-2014
> 
> 
> Leiningen dependency information:
> 
> 
>     [org.clojure/clojurescript "0.0-2014"]
> 
> 
> There are a number of significant enhancements in this
> 
> 
> release. We finally have relative source maps! This should be big
> for people integrating ClojureScript with existing web
> based workflows.
> 
> 
> Under the hood Chas Emerick has improved how the analyzer works making
> 
> 
> it thread safe. This make the compiler considerably more robust and
> eliminates some race conditions in the browser REPL support.
> 
> 
> Incremental compilation is enhanced both with and without source
> 
> 
> maps. In particular we now tag ClojureScript compiled JavaScript files
> with the version of the compiler used - this should make transitioning
> to a new version of the compiler considerably less frustrating - stale
> 
> 
> files will get compiled.
> 
> 
> For those people using the compiler internals directly you will likely
> encounter breakage. If anyone feels inclined to outline a more stable
> interface to internals please get involved in leading an incremental
> 
> 
> process towards a stable and flexible API for tool builders.
> 
> 
> Enhancements:
> * relative source map paths, all original sources will be copied to
>   :ouput-dir this should make integrating with web workflow much simpler.
> 
> 
> * runtime obtainable compiler version number, *clojurescript-version* now
>   available at runtime as a string
> 
> 
> Bug fixes:
> * CLJS-643: make the ClojureScript compiler (more) idempotent
> 
> 
> * CLJS-662: CLJS files compiled from JARs get lost from source map
> * CLJS-661: (try ... (catch :default e ...) ...)
> * CLJS-627: Add warnings on function arity problems
> * CLJS-654: Quit repljs on ^D, don't loop on nil
> 
> 
> * CLJS-659: tag compiled files with compiler version
> * CLJS-642: deftype/record should not emit goog.provide
> * CLJS-648: persistent assoc/conj on a transient-created collision node
> * CLJS-631: Use ana/namespaces for shadowing vars
> 
> 
> * CLJS-641: js* overflow for large inputs
> * CLJS-645: parse-ns needs to include 'constants-table as a dep
> * CLJS-646: single segment namespaces and reify don't work
> * CLJS-521: pass along entire repl environment when loading dependencies

-- 
-- 
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/groups/opt_out.


Re: ANN: ClojureScript 0.0-2014 - source maps, incremental compilation, and internal changes

2013-11-06 Thread David Nolen
Oh, the speed of incremental compilation is now dependent on tools
preserving the complier environment information - Chas Emerick should be
cutting a release of lein-cljsbuild that does this when ClojureScript
0.0-2014 hits Maven Central.


On Wed, Nov 6, 2013 at 3:09 PM, 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-2014
>
> Leiningen dependency information:
>
> [org.clojure/clojurescript "0.0-2014"]
>
> There are a number of significant enhancements in this
> release. We finally have relative source maps! This should be big
> for people integrating ClojureScript with existing web
> based workflows.
>
> Under the hood Chas Emerick has improved how the analyzer works making
> it thread safe. This make the compiler considerably more robust and
> eliminates some race conditions in the browser REPL support.
>
> Incremental compilation is enhanced both with and without source
> maps. In particular we now tag ClojureScript compiled JavaScript files
> with the version of the compiler used - this should make transitioning
> to a new version of the compiler considerably less frustrating - stale
> files will get compiled.
>
> For those people using the compiler internals directly you will likely
> encounter breakage. If anyone feels inclined to outline a more stable
> interface to internals please get involved in leading an incremental
> process towards a stable and flexible API for tool builders.
>
> Enhancements:
> * relative source map paths, all original sources will be copied to
>   :ouput-dir this should make integrating with web workflow much simpler.
> * runtime obtainable compiler version number, *clojurescript-version* now
>   available at runtime as a string
>
> Bug fixes:
> * CLJS-643: make the ClojureScript compiler (more) idempotent
> * CLJS-662: CLJS files compiled from JARs get lost from source map
> * CLJS-661: (try ... (catch :default e ...) ...)
> * CLJS-627: Add warnings on function arity problems
> * CLJS-654: Quit repljs on ^D, don't loop on nil
> * CLJS-659: tag compiled files with compiler version
> * CLJS-642: deftype/record should not emit goog.provide
> * CLJS-648: persistent assoc/conj on a transient-created collision node
> * CLJS-631: Use ana/namespaces for shadowing vars
> * CLJS-641: js* overflow for large inputs
> * CLJS-645: parse-ns needs to include 'constants-table as a dep
> * CLJS-646: single segment namespaces and reify don't work
> * CLJS-521: pass along entire repl environment when loading dependencies
>
>

-- 
-- 
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/groups/opt_out.


ANN: ClojureScript 0.0-2014 - source maps, incremental compilation, and internal changes

2013-11-06 Thread David Nolen
ClojureScript, the Clojure compiler that emits JavaScript source code.

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

New release version: 0.0-2014

Leiningen dependency information:

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

There are a number of significant enhancements in this
release. We finally have relative source maps! This should be big
for people integrating ClojureScript with existing web
based workflows.

Under the hood Chas Emerick has improved how the analyzer works making
it thread safe. This make the compiler considerably more robust and
eliminates some race conditions in the browser REPL support.

Incremental compilation is enhanced both with and without source
maps. In particular we now tag ClojureScript compiled JavaScript files
with the version of the compiler used - this should make transitioning
to a new version of the compiler considerably less frustrating - stale
files will get compiled.

For those people using the compiler internals directly you will likely
encounter breakage. If anyone feels inclined to outline a more stable
interface to internals please get involved in leading an incremental
process towards a stable and flexible API for tool builders.

Enhancements:
* relative source map paths, all original sources will be copied to
  :ouput-dir this should make integrating with web workflow much simpler.
* runtime obtainable compiler version number, *clojurescript-version* now
  available at runtime as a string

Bug fixes:
* CLJS-643: make the ClojureScript compiler (more) idempotent
* CLJS-662: CLJS files compiled from JARs get lost from source map
* CLJS-661: (try ... (catch :default e ...) ...)
* CLJS-627: Add warnings on function arity problems
* CLJS-654: Quit repljs on ^D, don't loop on nil
* CLJS-659: tag compiled files with compiler version
* CLJS-642: deftype/record should not emit goog.provide
* CLJS-648: persistent assoc/conj on a transient-created collision node
* CLJS-631: Use ana/namespaces for shadowing vars
* CLJS-641: js* overflow for large inputs
* CLJS-645: parse-ns needs to include 'constants-table as a dep
* CLJS-646: single segment namespaces and reify don't work
* CLJS-521: pass along entire repl environment when loading dependencies

-- 
-- 
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/groups/opt_out.