forked from docschina/ecma262-old
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
issues docschina#4, docschina#5, docschina#6, docschina#7, docschina#8
- Loading branch information
1 parent
c7066c5
commit 66e8189
Showing
5 changed files
with
268 additions
and
268 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
<emu-clause id="sec-overview"> | ||
<h1>Overview</h1> | ||
<p>This section contains a non-normative overview of the ECMAScript language.</p> | ||
<p>ECMAScript is an object-oriented programming language for performing computations and manipulating computational objects within a host environment. ECMAScript as defined here is not intended to be computationally self-sufficient; indeed, there are no provisions in this specification for input of external data or output of computed results. Instead, it is expected that the computational environment of an ECMAScript program will provide not only the objects and other facilities described in this specification but also certain environment-specific objects, whose description and behaviour are beyond the scope of this specification except to indicate that they may provide certain properties that can be accessed and certain functions that can be called from an ECMAScript program.</p> | ||
<p>ECMAScript was originally designed to be used as a scripting language, but has become widely used as a general-purpose programming language. A <em>scripting language</em> is a programming language that is used to manipulate, customize, and automate the facilities of an existing system. In such systems, useful functionality is already available through a user interface, and the scripting language is a mechanism for exposing that functionality to program control. In this way, the existing system is said to provide a host environment of objects and facilities, which completes the capabilities of the scripting language. A scripting language is intended for use by both professional and non-professional programmers.</p> | ||
<p>ECMAScript was originally designed to be a <em>Web scripting language</em>, providing a mechanism to enliven Web pages in browsers and to perform server computation as part of a Web-based client-server architecture. ECMAScript is now used to provide core scripting capabilities for a variety of host environments. Therefore the core language is specified in this document apart from any particular host environment.</p> | ||
<p>ECMAScript usage has moved beyond simple scripting and it is now used for the full spectrum of programming tasks in many different environments and scales. As the usage of ECMAScript has expanded, so has the features and facilities it provides. ECMAScript is now a fully featured general-purpose programming language.</p> | ||
<p>Some of the facilities of ECMAScript are similar to those used in other programming languages; in particular C, Java™, Self, and Scheme as described in:</p> | ||
<h1>概述</h1> | ||
<p>本节包含对 ECMAScript 语言非规范性的概述。</p> | ||
<p>ECMAScript是一门在宿主环境执行计算以及操作可计算对象的面向对象编程语言。这里定义的ECMAScript并不打算有自给自足的计算;事实上,该规范并没有规定外部数据的输入或者计算结果的输出。相反,我们期望ECMAScript程序的计算环境不仅提供本规范中描述的对象和能力,还能特定环境对象,本规范除了说明这些对象应该提供可被ECMAScript程序访问的某些属性,调用的某些方法外,关于它的其他描述和行为不在本规范涉及的范围。</p> | ||
<p>ECMAScript最初被设计为一门脚本语言,但是现在已经作为一门通用的编程语言被广泛应用。脚本语言是指一种用于操作,定制,自动化现有系统能力的编程语言。在这样的系统中,通过用户接口使的有用的功能变得可用,而脚本语言就是暴露这些功能给程序控制的机制。以这样的方式,来完成脚本语言能力的系统被称作提供对象和功能的宿主环境。脚本语言的目的是专业和非专业的程序员都可以使用。</p> | ||
<p>ECMAScript最初被设计为<em> Web 脚本语言</em>,提供了一种让网页更加富有生机的机制,并能够进行部分基于Web B/S架构的服务器端计算。ECMAScript现在用于多种宿主中提供核心脚本能力。因此该文档描述的是除特定宿主环境外的语言核心。</p> | ||
<p>ECMAScript用法已经远超出了简单脚本,现在被用于很多不同的环境和规模的全方位编程任务。随着ECMAScript不断扩大使用范围,其功能和设施也得到了扩展。ECMAScript现在成为了一个功能齐全的通用编程语言。</p> | ||
<p>ECMAScript的一些能力类似于其他编程语言中,特别是C, Java™, Self, 以及Scheme,如下所述:</p> | ||
<p>ISO/IEC 9899:1996, <i>Programming Languages – C</i>.</p> | ||
<p>Gosling, James, Bill Joy and Guy Steele. <i>The Java<sup>™</sup> Language Specification</i>. Addison Wesley Publishing Co., 1996.</p> | ||
<p>Ungar, David, and Smith, Randall B. Self: The Power of Simplicity. <i>OOPSLA '87 Conference Proceedings</i>, pp. 227-241, Orlando, FL, October 1987.</p> | ||
<p>Gosling, James, Bill Joy and Guy Steele. <i>The Java<sup>™</sup> Language Specification</i>. Addison Wesley PublishingCo., 1996.</p> | ||
<p>Ungar, David, and Smith, Randall B. Self: The Power of Simplicity. <i>OOPSLA '87 Conference Proceedings</i>, pp. 227-241,Orlando, FL, October 1987.</p> | ||
<p><i>IEEE Standard for the Scheme Programming Language</i>. IEEE Std 1178-1990.</p> |
Oops, something went wrong.