blob: b3ea0aa8a82f560d728233dfc6ec6fb0d909bfe4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
---
title: Parse
slug: Glossary/Parse
translation_of: Glossary/Parse
---
<p>Parsing means analyzing and converting a program into an internal format that a runtime environment can actually run, for example the {{glossary("JavaScript")}} engine inside browsers.</p>
<p>Parsing 就是将程序解析以及转换成能够在运行环境中运行的计算机内部格式,浏览器中的{{glossary("JavaScript")}} 驱动就是一个很好的解析例子。</p>
<p>In JavaScript, this is done during {{glossary("compile time")}} or whenever the {{glossary("parser")}} is invoked, such as during a call to a method.</p>
<p>JavaScript 中的解析过程一般在{{glossary("compile time")}}中完成,或者是在任意{{glossary("parser")}} 参与的时候完成。比如说在调用一个JS方法的过程中完成parsing。</p>
<h2 id="Learn_more">Learn more</h2>
<h3 id="General_knowledge">General knowledge</h3>
<ul>
<li><a href="https://en.wikipedia.org/wiki/Parsing">Parse</a> on Wikipedia</li>
</ul>
|