Parsing means analyzing and converting a program into an internal format that a runtime environment can actually run, for example the JavaScript engine inside browsers.

Parsing 就是将程序解析以及转换成能够在运行环境中运行的计算机内部格式,浏览器中的JavaScript 驱动就是一个很好的解析例子。

In JavaScript, this is done during compile time or whenever the parser is invoked, such as during a call to a method.

JavaScript 中的解析过程一般在compile time中完成,或者是在任意parser 参与的时候完成。比如说在调用一个 JS 方法的过程中完成 parsing。

Learn more

General knowledge