Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / HTML, CSS, Scripts / JavaScript / October 2008



Tip: Looking for answers? Try searching our database.

FAQ Topic - What is ECMAScript? (2008-10-19)

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
FAQ server - 19 Oct 2008 00:00 GMT
-----------------------------------------------------------------------
FAQ Topic - What is ECMAScript?
-----------------------------------------------------------------------

ECMAScript is the international standard for JavaScript. JScript
3.0 and JavaScript 1.5 are
more or less ECMAScript compliant. In addition ECMA 327 defines
the Compact Profile of ECMAScript by describing the features from
ECMA 262 that may be omitted in some resource-constrained
environments. Note that ECMAScript did not attempt to standardize
the document object model.

http://www.ecma-international.org/publications/standards/Ecma-262.htm

The current edition is ECMA-262, 3rd Edition. There is some
support for this edition in JScript 5.0 and JavaScript 1.3.
JScript 5.5 and JavaScript 1.5, in Netscape 6.1 and later, are
compliant (JavaScript 1.5 in Netscape 6 missed some methods).

Signature

Postings such as this are automatically sent once a day.  Their
goal is to answer repeated questions, and to offer the content to
the community for continuous evaluation/improvement.  The complete
comp.lang.javascript FAQ is at http://jibbering.com/faq/index.html.
The FAQ workers are a group of volunteers.  The sendings of these
daily posts are proficiently hosted by http://www.pair.com.

Dr J R Stockton - 19 Oct 2008 12:35 GMT
> ------------------------------------------------------------------
> FAQ Topic - What is ECMAScript?
[quoted text clipped - 6 lines]
> ECMA 262 that may be omitted in some resource-constrained
> environments.
// I would put that 327 sentence last, as a paragraph.
// Is there an ISO version?
>               Note that ECMAScript did not attempt to standardize
> the document object model.
// AFAIR, it does not deal with it.
+ ECMAScript does not cover the document object model.

> http://www.ecma-international.org/publications/standards/Ecma-262.htm
// ISO/IEC 16262 is
// issued by *the* international standards organisation, has fewer
// errors, and might be considered to use a nicer font.
// It is also free as PDF.

> The current edition is ECMA-262, 3rd Edition. There is some
//                   ^ of what?
> support for this edition in JScript 5.0 and JavaScript 1.3.
> JScript 5.5 and JavaScript 1.5, in Netscape 6.1 and later, are
> compliant (JavaScript 1.5 in Netscape 6 missed some methods).

// There, "some support" is not appropriate.  It may be that 5.0 &
// 1.3 did not implement everything that 3rd introduced; but surely
// they contain most of what 3rd calls for?  In any case, few are
// now interested in those versions?

// DRAFT:

ECMAScript is the international standard for javascript. It does not
cover the Document Object Model. The current published editions are
ECMA-262 3rd Edition (2000) and ISO/IEC 16262 2nd Edition (2002). A
new version is (2008) in development.

http://www.ecma-international.org/publications/standards/Ecma-262.htm
<ISO link also here>

// I don't think that the support details are necessary; if they are
// wanted, they need to be rewritten with new facts for 2008.

In addition, ECMA-327 defines the Compact Profile of ECMAScript by
describing the features from ECMA-262 that may be omitted in some
resource-constrained environments.
// ISO version of 327?
// If no download link for 327 can be given, and I think anyway,
// links to the ECMA and ISO home, or home-of-ordering, pages might
// be appropriate.

// There is already "What is JScript?"; that could be changed
// into "What are JavaScript and JScript?; that would be a better
// place for the aforementioned support details, if wanted.

--
 (c) John Stockton, near London, UK.  Posting with Google.
Mail: J.R.""""""""@physics.org or (better) via Home Page at
Web:  <URL:http://www.merlyn.demon.co.uk/>
FAQish topics, acronyms, links, etc.; Date, Delphi, JavaScript, ....|
dhtml - 19 Oct 2008 21:11 GMT
>> ------------------------------------------------------------------
>> FAQ Topic - What is ECMAScript?
>> ------------------------------------------------------------------

[...]

>> support for this edition in JScript 5.0 and JavaScript 1.3.
>> JScript 5.5 and JavaScript 1.5, in Netscape 6.1 and later, are
[quoted text clipped - 4 lines]
> // they contain most of what 3rd calls for?  In any case, few are
> // now interested in those versions?

It opens a can of worms. I think linking to Pratap's "JScript
Deviations" pdf in resources is the right thing.

> // DRAFT:
>
> ECMAScript is the international standard for javascript. It does not
> cover the Document Object Model. The current published editions are
> ECMA-262 3rd Edition (2000) and ISO/IEC 16262 2nd Edition (2002). A
> new version is (2008) in development.

We have a question:
"What does the future hold for ECMAScript?"

As far as listing 16262, that is in 'Resources'

> http://www.ecma-international.org/publications/standards/Ecma-262.htm
> <ISO link also here>
>
> // I don't think that the support details are necessary; if they are
> // wanted, they need to be rewritten with new facts for 2008.

It is not practical to provide a list of implementation bugs here.

I should add a link to Pratap's "JScript Deviations" in 'Resources' section.

> In addition, ECMA-327 defines the Compact Profile of ECMAScript by
> describing the features from ECMA-262 that may be omitted in some
> resource-constrained environments.
> // ISO version of 327?

I don't know

> // If no download link for 327 can be given, and I think anyway,
> // links to the ECMA and ISO home, or home-of-ordering, pages might
> // be appropriate.

Why?

> // There is already "What is JScript?"; that could be changed
> // into "What are JavaScript and JScript?; that would be a better
> // place for the aforementioned support details, if wanted.

Yes that's redundant.

 ECMAScript is the international standard for JavaScript&amp;trade;.
 JScript and JavaScript&amp;trade; are implementations of ECMAScript.

<URL>http://www.ecma-international.org/publications/standards/Ecma-262.htm</URL>

 ECMAScript does not define the DOM |document|, the browser |window|
 object, or |ActiveXObject|. These are all Host objects.

 The current edition is ECMA-262, 3rd Edition.

 ECMA-327 "Compact Profile" is a subset of ECMAScript that defines
 features that may be omitted in resource-constrained environments.
 These features include |with|, |eval|, |Function|, and allowing
 modification of built-in objects (String, Date, et c).

<URL>http://www.ecma-international.org/publications/standards/Ecma-327.htm</URL>

 ECMA-357 "E4X" defines a set of programming language extensions
 adding native XML support to ECMAScript. E4X is implemented in
 JavaScript&amp;trade; 1.6, ActionScript 3, and Adobe Acrobat.
<URL>http://www.ecma-international.org/publications/standards/Ecma-357.htm</URL>

Garrett

Signature

comp.lang.javascript FAQ <URL: http://jibbering.com/faq/ >

Dr J R Stockton - 19 Oct 2008 22:20 GMT
> >> ------------------------------------------------------------------
> >> FAQ Topic - What is ECMAScript?
> >> ------------------------------------------------------------------

> It opens a can of worms. I think linking to Pratap's "JScript
> Deviations" pdf in resources is the right thing.

To possibly get an opinion on that PDF, give the URL of the current
version.

> > // DRAFT:
>
[quoted text clipped - 5 lines]
> We have a question:
> "What does the future hold for ECMAScript?"

Merge it in this.  That can save space.

> As far as listing 16262, that is in 'Resources'

Agreed; but it should be in this section.

> > In addition, ECMA-327 defines the Compact Profile of ECMAScript by
> > describing the features from ECMA-262 that may be omitted in some
> > resource-constrained environments.
> > // ISO version of 327?
> I don't know
None found

> > // If no download link for 327 can be given, and I think anyway,
> > // links to the ECMA and ISO home, or home-of-ordering, pages might
> > // be appropriate.
>
> Why?

(a) Authorities should be easy to locate.
(b) So that those who want to buy it can know where to look.  But
<http://www.ecma-international.org/publications/standards/
Ecma-327.htm> offers a free PDF.  H'mm : I see that my site cites
that.

>   ECMA-327 "Compact Profile" is a subset of ECMAScript that defines
>   features that may be omitted in resource-constrained environments.
>   These features include |with|, |eval|, |Function|, and allowing
>   modification of built-in objects (String, Date, et c).

AFAIR, 327 has never been mentioned in CLJ except in reference to the
FAQ.  A search reveals just a few cases.  I doubt whether those two
lines of detail are worth having there.

Wikipedia "ECMAScript" has various links : link to that Wiki page?

--
 (c) John Stockton, near London, UK.  Posting with Google.
Mail: J.R.""""""""@physics.org or (better) via Home Page at
Web:  <URL:http://www.merlyn.demon.co.uk/>
FAQish topics, acronyms, links, etc.; Date, Delphi, JavaScript, ....|
Thomas 'PointedEars' Lahn - 20 Oct 2008 00:52 GMT
> -----------------------------------------------------------------------
> FAQ Topic - What is ECMAScript?
> -----------------------------------------------------------------------
>
> ECMAScript is the international standard for JavaScript.
> [...]

The appropriate wording is:

ECMAScript is the international standard that current language
implementations (JavaScript, JScript etc.) are based on.

PointedEars
Signature

   realism:    HTML 4.01 Strict
   evangelism: XHTML 1.0 Strict
   madness:    XHTML 1.1 as application/xhtml+xml
                                                   -- Bjoern Hoehrmann

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.