ES3.1 Proposal Working Draft - decimal support

Brendan Eich brendan at mozilla.org
Thu Feb 21 01:54:47 PST 2008


On Feb 21, 2008, at 1:25 AM, Mike Cowlishaw wrote:

> Separately from the decimal discussion, I am a bit confused at how  
> ES3.x
> or ES4 is migrated to from ES3.  If the syntax cannot change then that
> implies that the semantics change without any indication in the  
> syntax.

ES4 has new syntax; the syntax-cannot-change has been an on-then-off- 
then-on-again principal for ES3.1. In particular ES4 has the m suffix  
for decimal literals, and it has had some kind of 'use decimal' pragma.

> That would mean that existing scripts would work differently than  
> before.
> Surely that pretty much requires some meta-notation (such as opt-in
> versioning)?

Indeed.

/be




More information about the Es4-discuss mailing list