Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #26799

Re: Definition of a script in JavaScript

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!weretis.net!feeder1.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From Thomas 'PointedEars' Lahn <PointedEars@web.de>
Newsgroups comp.lang.javascript
Subject Re: Definition of a script in JavaScript
Date Wed, 04 Feb 2015 21:48:20 +0100
Organization PointedEars Software (PES)
Lines 25
Message-ID <3174128.WZNqqLKTKN@PointedEars.de> (permalink)
References <JavaScript-20150204202621@ram.dialup.fu-berlin.de> <matstc$fsj$1@news.albasani.net>
Reply-To Thomas 'PointedEars' Lahn <cljs@PointedEars.de>
Mime-Version 1.0
Content-Type text/plain; charset="UTF-8"
Content-Transfer-Encoding 8Bit
X-Trace solani.org 1423082944 15379 eJwFwYkBADAEA8CVUAnG6cP+I/QOi8obTtAxGIG0MeegQ95uKwHM7UyMlgtecIdywUqZ+QELFw/r (4 Feb 2015 20:49:04 GMT)
X-Complaints-To abuse@news.solani.org
NNTP-Posting-Date Wed, 4 Feb 2015 20:49:04 +0000 (UTC)
User-Agent KNode/4.14.2
X-User-ID eJwVycERwDAIA7CVQsHGjNPQsP8IueorOI2dQTAwmK442FUkpWkjvOb8lYtZLtmoVWHtKyawoNzP+6mSDlwsyBP4
Cancel-Lock sha1:KnuYUlrUTEKbN0TuziPMPIII3rc=
X-NNTP-Posting-Host eJwNyUEBwDAIA0BLQEno9KTgX8L43uHQqUqCicFodFNG3a71vS+k6acTvs7KDm/ATPVMPyyREVw=
Xref csiph.com comp.lang.javascript:26799

Show key headers only | View raw


Andreas Bergmaier wrote:

> Stefan Ram schrieb:
>>    I am trying to find this grammar rule.
> 
> I think the closest you will get is from
> https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements,
> first sentence:
> 
> | JavaScript applications consist of statements […].
> 
> If you want to look further, you're encouraged to look at the ECMAScript
> definition of "program code".

There is no such definition, however the ECMAScript Language Specification, 
5.1 Edition, section 5.1.4, “The Syntactic Grammar”, is a good starting 
point:

<http://people.mozilla.org/~jorendorff/es5.1-final.html#sec-5.1.4>

-- 
PointedEars
FAQ: <http://PointedEars.de/faq> | SVN: <http://PointedEars.de/wsvn/>
Twitter: @PointedEars2 | ES Matrix: <http://PointedEars.de/es-matrix>
Please do not cc me. / Bitte keine Kopien per E-Mail.

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Re: Definition of a script in JavaScript Andreas Bergmaier <andber93@web.de> - 2015-02-04 20:45 +0100
  Re: Definition of a script in JavaScript Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-02-04 21:48 +0100
    Re: Definition of a script in JavaScript Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-02-04 22:14 +0100

csiph-web