ClojureScript r1.9.293 发布

jopen 7年前
   <p style="text-align: center;"><strong><img alt="" src="https://simg.open-open.com/show/3ef76897f9e8b7f3311b08d4fb930240.png" /></strong></p>    <p> </p>    <p>ClojureScript 是一个用来将 Clojure 语言转成 JavaScript 脚本的工具。主要有以下优点:</p>    <ul>     <li>简洁性: 从语法角度来说,ClojureScript 是一种基于 Lisp 的语言,这使得它的语法十分简洁。除此之外,ClojureScript 还提供了帮助我们更方便的异步编程的工具。</li>     <li>安全性: 这意味着更少的漏洞!ClojureScript 和其他的函数编程语言都有很多的特性来帮助我们减少和减轻一些常见的漏洞。</li>     <li>高性能: ClojureScript 使用了Google的Closure编译器,这使得ClojureScript能支持无用代码清除以及其他的一些特点。</li>     <li>实时编程: ClojureScript 生态圈提供了很多的工具来“实时编程”。这意味着当代码一改变,在你的项目上就会马上反应出来。</li>     <li>代码复用性: ClojureScript 能在全局中运行,很多人称之“同态”。这代表你能在服务器端和客户端运行相同的代码,这在 Node.js 的生态系统中已经是个流行的模式了。除此之外,ClojureScript 还能使用 Node.js 和 Java 生态圈当中的库。</li>    </ul>    <p style="text-align: center;"><img src="file:///C:/Users/wzw/AppData/Local/Temp/enhtmlclip/Image(4).jpg" /><a href="https://simg.open-open.com/show/afd822efd2a0124ba4745ab19bf439f1.jpg"><img alt="" src="https://simg.open-open.com/show/afd822efd2a0124ba4745ab19bf439f1.jpg" /></a></p>    <p> </p>    <h2>更新日志</h2>    <h3>Enhancements</h3>    <ul>     <li>CLJS-1346: Support require outside of ns</li>    </ul>    <h3>Changes</h3>    <ul>     <li>CLJS-1762: Bump Closure Compiler, refactor module support</li>     <li>CLJS-1658: testing for protocol membership may return false positives</li>     <li>CLJS-1536: REPL def symbol init collision</li>     <li>CLJS-1805: Source map should take false</li>     <li>CLJS-1804: Self-host: process namespace side-effects for new require without NS</li>     <li>CLJS-1803: Use new require capability in REPLs</li>     <li>CLJS-1796: Measure Google Closure specific optimization time</li>     <li>CLJS-1782: Self-host: allow namespaces to require their own macros</li>     <li>CLJS-1563: :source-map option to cljs.build.api/build should take nil</li>     <li>CLJS-1785: Warn on reference to js/foo shadowed by local binding</li>    </ul>    <h3>Fixes</h3>    <ul>     <li>make String an implicit ns like Math. revert char? and clarify docstring. add unit tests for char?</li>     <li>fix cljs.spec.test/check docstring</li>     <li>CLJS-1826: Self-host: load-deps doesn't honor <code>:reload</code> and <code>reload-all</code></li>     <li>CLJS-1825: :source-map error when passing <code>false</code> under simple optimizations</li>     <li>CLJS-1821: <code>add-preloads</code> should only touch sources if <code>:preloads</code> option specified</li>     <li>CLJS-1814: Move docstrings for require, etc. from <code>cljs.repl</code> to their new definitions in <code>cljs.core</code></li>     <li>CLJS-1809: Add 0/1 arity to <code>into</code></li>     <li>CLJS-1824: transit cache feature leaks files</li>     <li>CLJS-1294: Let macroexpand(-1) accept any quoted argument.</li>     <li>CLJS-1818: (hash false) returns different value from Clojure</li>     <li>CLJS-1817: Strange result when assoc'ing 0 to persistent hash map</li>     <li>CLJS-1815: Fix failing analyzer tests</li>     <li>follow-up on CLJS-460 defmulti ignores optional :hierarchy argument</li>     <li>CLJS-1807: Better error messages for <code>ns*</code> calls</li>     <li>CLJS-1802: Generated namespaces should be of the form <code>cljs.user.fileXXXX</code></li>     <li>CLJ-1935: Use multimethod dispatch value method lookup to take hierarchies into account in multi-spec</li>     <li>CLJS-1682 :foreign-libs with module conversion does not works properly if it is used form deps.cljs</li>     <li>CLJS-1710: spec/double-in not implemented</li>     <li>CLJS-1787: Make cljs.spec explain pluggable</li>     <li>CLJS-1781: Add cljs.hash-map-test to self-parity tests</li>     <li>CLJS-1788: Port CLJ-2004: include retag in multi-spec form</li>     <li>CLJS-1765: Empty iterator for hash maps with nil key</li>     <li>CLJS-1784: nth doesn't throw on strings or arrays</li>     <li>CLJS-1773: Self-host: Don't resolve unqualified symbols / keywords with $macros</li>     <li>CLJS-1770: goog-defines broken for integers</li>     <li>CLJS-1600: Destructuring defprotocol fn args causes defrecord impls to silently fail</li>     <li>CLJS-1335: resolve-macro-var: information missing for macros</li>     <li>CLJS-1633: Improve error associated with invalid foreign-libs :file path</li>     <li>CLJS-1775: <code>get</code> with <code>nil</code> returns as if <code>get</code> with <code></code></li>     <li>CLJS-1780: Records without extmaps fail to iterate</li>     <li>CLJS-1774: Self-host: Report filenames in warns in test-self-parity</li>     <li>CLJS-1779: keyword 2-arity constructor accepts anything for both parameters which leads to different hashing</li>    </ul>    <p> </p>    <h2>下载</h2>    <ul>     <li><a href="/misc/goto?guid=4958994521960145939" rel="nofollow"><strong>cljs.jar</strong></a></li>     <li><a href="/misc/goto?guid=4958994522069444039" rel="nofollow"><strong>Source code</strong> (zip)</a></li>     <li><a href="/misc/goto?guid=4958994522173723746" rel="nofollow"><strong>Source code</strong> (tar.gz)</a></li>    </ul>    <p> </p>    <p>本站原创,转载时保留以下信息:<br /> 本文转自:深度开源(open-open.com)<br /> 原文地址:<a href="http://www.open-open.com/news/view/1ae68f4f">http://www.open-open.com/news/view/1ae68f4f</a></p>