[x3d-public] ECMAScript (JavaScript) language support for X3D

Don Brutzman brutzman at nps.edu
Wed Jun 3 06:14:24 PDT 2020


As we start exploring potential upgrade to X3D Scene Access Interface (SAI) for ECMAScript (JavaScript), it is good to establish expectations for support.

Summary recommendation: we should use latest version for best compatibility and future stability.

This will be an agenda item Friday for X3D Working Group, let's discuss to ensure complete clarity, then enter a Mantis issue for planned X3D specification updates.

References of interest follow, all freely available:

[0] X3D Graphics Standards Relationships
     https://www.web3d.org/specifications/X3dSpecificationRelationships.png
     https://www.web3d.org/specifications/X3dSpecificationRelationships.pdf

[1] X3D Architecture, 29.4.1 Script
     https://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/components/scripting.html#Script

"Browsers are not required to support any specific language. Detailed information on scripting languages is described in 29.2 Concepts. Browsers supporting a scripting language for which a language binding is specified shall adhere to that language binding (see _ISO/IEC 19777_)."

[2] X3D Architecture, 29.2.1 Overview
     https://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/components/scripting.html#ScriptingOverview

"This clause describes the general mechanisms and semantics of all scripting access. _2.[I19775-2]_ defines a set of abstract scripting services and specific languages bound to those services."

TODO editorial erratum: inconsistent referencing style

[3] X3D Abstract : Scene Access Interface (SAI), ISO/IEC 19775-2:2015
     Clause 7 Conformance and minimum support requirements
     https://www.web3d.org/documents/specifications/19775-2/V3.3/Part02/conformance.html

[4] X3D Language Bindings : ECMAScript (JavaScript)
     ISO/IEC CD 19777-1:201x, Edition 2, v3.3
     https://www.web3d.org/documents/specifications/19777-1/V3.3/index.html

[5] X3D Language Bindings : ECMAScript (JavaScript), 2 Normative references
     I16262 - ISO/IEC 16262:2011 Information technology — ECMAScript language specification
     https://www.web3d.org/documents/specifications/19777-1/V3.3/Part1/references.html

[6] ISO/IEC 16262:2011
     Information technology — Programming languages, their environments and system software interfaces — ECMAScript language specification

"This standard has been revised by ISO/IEC 22275:2018"

[7] ISO/IEC 22275:2018
     Information technology — Programming languages, their environments, and system software interfaces — ECMAScript® Specification Suite
     https://www.iso.org/standard/73002.html

     The electronic version of this International Standard can be downloaded from the ISO/IEC Information Technology Task Force (ITTF) web site.
     http://isotc.iso.org/livelink/livelink/fetch/2000/2489/Ittf_Home/PubliclyAvailableStandards.htm
     https://standards.iso.org/ittf/PubliclyAvailableStandards/c073002_ISO_IEC_22275_2018.zip
     (10 pages long)

"The following Standards constitute the current ECMAScript Specification Suite (see Figure 1)"

* ECMA-262, ECMAScript® Language Specification
* ECMA-402, ECMAScript® Internationalization API Specification
* ISO/IEC 21778, Information technology — The JSON data interchange syntax [Adoption of ECMA-404]

Attached: Figure 1 — Components of the ECMAScript Specification Suite Standard

[8] Standard ECMA-262 - Ecma International
     https://www.ecma-international.org/publications/standards/Ecma-262.htm
     10th edition (June 2019)

"Standard ECMA-262. This Standard defines the ECMAScript 2019 general-purpose programming language. Kindly note that the normative copy is the HTML version; the PDF version has been produced to generate a printable document. This 10th edition has been prepared under the Ecma RF patent policy."

Gosh, that was easy wasn't it...

As ever, all comments welcome.  Have fun with X3D and JavaScript!   8)

all the best, Don
-- 
Don Brutzman  Naval Postgraduate School, Code USW/Br       brutzman at nps.edu
Watkins 270,  MOVES Institute, Monterey CA 93943-5000 USA   +1.831.656.2149
X3D graphics, virtual worlds, navy robotics http://faculty.nps.edu/brutzman
-------------- next part --------------
A non-text attachment was scrubbed...
Name: IsoStandardComponentsECMAScriptSuiteImplementationFigure1.png
Type: image/png
Size: 180962 bytes
Desc: not available
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20200603/dfb7f9b9/attachment-0001.png>


More information about the x3d-public mailing list