Questions tagged «google-closure»

5
Google Closure是真正的编译器吗?
这个问题的灵感来自对此Stack Overflow问题的评论中的辩论。在谷歌关闭编译文档指出以下(强调): Closure Compiler是使JavaScript下载和运行速度更快的工具。这是一个真正的JavaScript编译器。它不是从源语言编译为机器代码,而是从JavaScript编译为更好的JavaScript。 但是,维基百科给出了“编译器”的以下定义: 编译器是一种计算机程序(或一组程序),可以将以编程语言(源语言)编写的源代码转换为另一种计算机语言。语言。 基于此,我想说Google Closure不是编译器。但是Google明确声明它实际上是一个“真正的编译器”,这一事实使我想知道是否还有更多功能。Google Closure真的是JavaScript编译器吗?
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.