• <tfoot id='0EyvO'></tfoot>

      <i id='0EyvO'><tr id='0EyvO'><dt id='0EyvO'><q id='0EyvO'><span id='0EyvO'><b id='0EyvO'><form id='0EyvO'><ins id='0EyvO'></ins><ul id='0EyvO'></ul><sub id='0EyvO'></sub></form><legend id='0EyvO'></legend><bdo id='0EyvO'><pre id='0EyvO'><center id='0EyvO'></center></pre></bdo></b><th id='0EyvO'></th></span></q></dt></tr></i><div id='0EyvO'><tfoot id='0EyvO'></tfoot><dl id='0EyvO'><fieldset id='0EyvO'></fieldset></dl></div>
      • <bdo id='0EyvO'></bdo><ul id='0EyvO'></ul>

      <small id='0EyvO'></small><noframes id='0EyvO'>

      1. <legend id='0EyvO'><style id='0EyvO'><dir id='0EyvO'><q id='0EyvO'></q></dir></style></legend>
      2. ECMAScript:Harmony/ES6 到 JavaScript 编译器

        时间:2023-10-12
      3. <legend id='TkTpe'><style id='TkTpe'><dir id='TkTpe'><q id='TkTpe'></q></dir></style></legend>
        <i id='TkTpe'><tr id='TkTpe'><dt id='TkTpe'><q id='TkTpe'><span id='TkTpe'><b id='TkTpe'><form id='TkTpe'><ins id='TkTpe'></ins><ul id='TkTpe'></ul><sub id='TkTpe'></sub></form><legend id='TkTpe'></legend><bdo id='TkTpe'><pre id='TkTpe'><center id='TkTpe'></center></pre></bdo></b><th id='TkTpe'></th></span></q></dt></tr></i><div id='TkTpe'><tfoot id='TkTpe'></tfoot><dl id='TkTpe'><fieldset id='TkTpe'></fieldset></dl></div>

      4. <tfoot id='TkTpe'></tfoot>

        <small id='TkTpe'></small><noframes id='TkTpe'>

            <bdo id='TkTpe'></bdo><ul id='TkTpe'></ul>

                  <tbody id='TkTpe'></tbody>

                  本文介绍了ECMAScript:Harmony/ES6 到 JavaScript 编译器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                  问题描述

                  阅读 Peter 关于 JavaScript 的文章后我注意到了

                  Brendan Eich 表示,Harmony 的目标之一是成为 JavaScript 编译器的更好目标.

                  Brendan Eich stated that one the goals for Harmony is to be a better target for to-JavaScript compilers.

                  目前有两个流行的编译器具有一些模糊的ES:Harmony 合规性:

                  There are currently two popular compilers with some vague ES:Harmony compliance:

                  • Traceur
                  • CoffeeScript

                  尽管 CoffeeScript 有一些合规性,但它并不是为 ES:Harmony 编译器而设计的,因此它对此没有用处.

                  Although CoffeeScript has some compliance it's not designed to be an ES:Harmony compiler so it's not useful to this end.

                  Tracuer 似乎更严格地遵守 ES:Harmony 规范,但我不知道它是否打算成为一个完整的 ES:Harmony 编译器.

                  Tracuer seems to be sticking more rigorously to the ES:Harmony specification but I don't know whether it intends to become a full ES:Harmony compiler.

                  由于目标是将 ES6 编译为 ES3,因此还需要支持 ES5 功能(并且可能需要切换是将 ES5 编译为 ES3 还是将 ES6 编译为 ES3).

                  Since the aim is to to compile ES6 down to ES3 it would also need to support ES5 features (and probably a switch whether to compile ES5 to ES3 or ES6 to ES3).

                  1. 目前是否还有其他项目旨在创建完整的 ES:Harmony to ES3 编译器?
                  2. 在知道标准是年轻/不稳定/不断变化的情况下开始编写这样的编译器是否明智.
                  3. 目前是否有任何 ES5 -> ES3 编译器?

                  我在 Traceur 邮件列表上留下了一个问题.

                  I've left a question on the Traceur mailing list.

                  这种编译器的目标是向后兼容 ES3.没有在 ES3 中完全模拟 ES5 和 ES6.

                  The aim of such a compiler would be backwards compatibility with ES3. Not full emulation of ES5 and ES6 in ES3.

                  推荐答案

                  Continuum 已经实现了大部分相关功能,应该在 es3 浏览器(如旧版 IE)中运行.

                  Continuum has implemented most of the relevant features and should run in es3 browsers (like older IEs).

                  这篇关于ECMAScript:Harmony/ES6 到 JavaScript 编译器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                  上一篇:是否有高级 CSS 缩小器/编译器可以执行诸如去除 下一篇:将javascript代码转换为c代码

                  相关文章

                  最新文章

                1. <legend id='cAks2'><style id='cAks2'><dir id='cAks2'><q id='cAks2'></q></dir></style></legend>

                  <i id='cAks2'><tr id='cAks2'><dt id='cAks2'><q id='cAks2'><span id='cAks2'><b id='cAks2'><form id='cAks2'><ins id='cAks2'></ins><ul id='cAks2'></ul><sub id='cAks2'></sub></form><legend id='cAks2'></legend><bdo id='cAks2'><pre id='cAks2'><center id='cAks2'></center></pre></bdo></b><th id='cAks2'></th></span></q></dt></tr></i><div id='cAks2'><tfoot id='cAks2'></tfoot><dl id='cAks2'><fieldset id='cAks2'></fieldset></dl></div>

                        <bdo id='cAks2'></bdo><ul id='cAks2'></ul>

                      <tfoot id='cAks2'></tfoot>
                    1. <small id='cAks2'></small><noframes id='cAks2'>