Ecmascript Articles about
Ecmascript
 

Information About

Ecmascript




Please see the JavaScript article for an overview of the language.


HISTORY

In December 1995 . In March 1996 Netscape Communications Corporation released Netscape Navigator 2.0, which featured support for JavaScript. Due to the de facto success of JavaScript as a client-side scripting language for web pages, Microsoft developed a "roughly" compatible language known as JScript, which was included in Internet Explorer 3.0, released in August 1996.

Netscape submitted the JavaScript specification to Ecma International for standardization; the work on the specification, ECMA-262, began in November 1996. The first edition of ECMA-262 was adopted by the ECMA General Assembly of June 1997.

ECMAScript is the name of the scripting language standardized in ECMA-262. Both JavaScript and JScript technologies aim to be compatible with ECMAScript, while providing additional features not described in the ECMA specification.


VERSIONS

There are three editions of ECMA-262 published, and the work on the fourth edition is in progress.

In June 2004 Ecma International published ECMA-357 standard, defining an extension to ECMAScript, known as E4X (ECMAScript for XML).


DIALECTS

ECMAScript is supported in many applications, especially Web Browser s. The binding with DOM is added for manipulating the document.

The latest versions of Mozilla (1.8 Betas) and Firefox 1.5 have
partial support of E4X and a few other features, see [http://developer.mozilla.org/en/docs/New_in_JavaScript_1.6 New in JavaScript 1.6 .

Microsoft claims that JScript 8.0 supports "almost all of the features of the ECMAScript Edition 3 Language Specification" but does not list the unsupported features.

In addition to supporting ECMA-262 revision 3, ActionScript 2 also included support of properties, methods, and mechanisms that were ''proposed'' in early draft specifications of as yet unseen versions of ECMAScript. It remains to be seen if ActionScript will stay ''in sync'' with future changes to the ECMAScript specifications.

As stated by OpenLaszlo, it partially implements revision 3 of ECMA-262 {Link without Title}

The Mozilla implementations, ( SpiderMonkey in the C Programming Language and Rhino in the Java Programming Language ), are used in several Third-party programs, including Konfabulator and the Macintosh system-level scripting language JavaScript OSA .

Apple 's Safari uses JavaScriptCore which is based on the KDE KJS library.


VERSION CORRESPONDENCE BETWEEN ECMASCRIPT, JAVASCRIPT, JSCRIPT

The following table is based on and [http://msdn.microsoft.com/library/default.asp?url=/library/en-us/script56/html/js56jsoriversioninformation.asp ; items on the same line are approximately the same language.


FOURTH EDITION


The current work on the fourth edition of ECMAScript has recieved some criticism, as there is thought to be a concerted effort by the organization to change the language from a Prototype-based Programming language into a more traditional Class-based Programming one, in essence, changing the very nature of how JavaScript treats relationships between objects. JavaScript is often ''championed'' by prototype-based language advocates, as it is the best know language with this object-oriented feature. ActionScript version 2.0 is an example of a ECMAScript implementation which is already more class-based than prototype-based.


EXTERNAL LINKS

;ECMAScript Language Specification

;ECMAScript Implementation