Re: ES4 draft: Line terminator normalization
Looks good. Waldemar ___ Es4-discuss mailing list Es4-discuss@mozilla.org https://mail.mozilla.org/listinfo/es4-discuss
Re: ES4 draft: Line terminator normalization
On 06/03/2008, Lars Hansen <[EMAIL PROTECTED]> wrote: > The draft has been updated based on ticket resolutions: > http://wiki.ecmascript.org/doku.php?id=spec:line_terminator_normalizatio The URL has missed the final "n", the right one is: http://wiki.ecmascript.org/doku.php?id=spec:line_terminator_normalization Regards, Igor ___ Es4-discuss mailing list Es4-discuss@mozilla.org https://mail.mozilla.org/listinfo/es4-discuss
RE: ES4 draft: Line terminator normalization
The draft has been updated based on ticket resolutions: http://wiki.ecmascript.org/doku.php?id=spec:line_terminator_normalizatio n --lars > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Lars Hansen > Sent: 26. februar 2008 01:37 > To: es4-discuss Discuss > Subject: ES4 draft: Line terminator normalization > > Please comment. --lars > > ___ Es4-discuss mailing list Es4-discuss@mozilla.org https://mail.mozilla.org/listinfo/es4-discuss
RE: ES4 draft: Line terminator normalization
Following discussion at yesterday's phone conference, a detailed design point of this proposal is being debated in a Trac ticket: http://bugs.ecmascript.org/ticket/362. --lars > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Lars Hansen > Sent: 26. februar 2008 01:37 > To: es4-discuss Discuss > Subject: ES4 draft: Line terminator normalization > > Please comment. --lars > > ___ Es4-discuss mailing list Es4-discuss@mozilla.org https://mail.mozilla.org/listinfo/es4-discuss
Re: ES4 draft: Line terminator normalization
On Feb 26, 2008, at 6:12 PM, Brendan Eich wrote: > On Feb 26, 2008, at 3:46 PM, Maciej Stachowiak wrote: > >> On Feb 26, 2008, at 1:36 AM, Lars Hansen wrote: >> >>> Please comment. --lars >>> >>> >> normalization.txt>___ >>> Es4-discuss mailing list >>> Es4-discuss@mozilla.org >>> https://mail.mozilla.org/listinfo/es4-discuss >> >> Has the web compatibility impact of this proposal been evaluated? > > SpiderMonkey has converted \r and \r\n into \n since 1996 -- my > memory is dim, but IIRC I did that in the original Netscape 2 > "Mocha" runtime, because anything else hurt interop (back then > people routinely authored HTML docs with inline scripts on Mac using > \r for line termination, never mind Windows using \r\n ;-)). Does > JavaScriptCore not canonicalize to \n? That sounds like sufficient evaluation of the impact to me. I thought it might be possible that scripts would expect \r\n to appear as two characters but what you describe makes that seem pretty unlikely. - Maciej ___ Es4-discuss mailing list Es4-discuss@mozilla.org https://mail.mozilla.org/listinfo/es4-discuss
Re: ES4 draft: Line terminator normalization
On Feb 26, 2008, at 3:46 PM, Maciej Stachowiak wrote: > On Feb 26, 2008, at 1:36 AM, Lars Hansen wrote: > >> Please comment. --lars >> >> > normalization.txt>___ >> Es4-discuss mailing list >> Es4-discuss@mozilla.org >> https://mail.mozilla.org/listinfo/es4-discuss > > Has the web compatibility impact of this proposal been evaluated? SpiderMonkey has converted \r and \r\n into \n since 1996 -- my memory is dim, but IIRC I did that in the original Netscape 2 "Mocha" runtime, because anything else hurt interop (back then people routinely authored HTML docs with inline scripts on Mac using \r for line termination, never mind Windows using \r\n ;-)). Does JavaScriptCore not canonicalize to \n? /be ___ Es4-discuss mailing list Es4-discuss@mozilla.org https://mail.mozilla.org/listinfo/es4-discuss
Re: ES4 draft: Line terminator normalization
On Feb 26, 2008, at 1:36 AM, Lars Hansen wrote: > Please comment. --lars > > normalization.txt>___ > Es4-discuss mailing list > Es4-discuss@mozilla.org > https://mail.mozilla.org/listinfo/es4-discuss Has the web compatibility impact of this proposal been evaluated? Regards, Maciej ___ Es4-discuss mailing list Es4-discuss@mozilla.org https://mail.mozilla.org/listinfo/es4-discuss
Re: ES4 draft: Line terminator normalization
Looks good to me. Geoff On Feb 26, 2008, at 1:36 AM, Lars Hansen wrote: > Please comment. --lars > > normalization.txt>___ > Es4-discuss mailing list > Es4-discuss@mozilla.org > https://mail.mozilla.org/listinfo/es4-discuss ___ Es4-discuss mailing list Es4-discuss@mozilla.org https://mail.mozilla.org/listinfo/es4-discuss
ES4 draft: Line terminator normalization
Please comment. --lars NAME:"Line terminator normalization" CATEGORY:Lexical conventions (E262-3 ch 7) SOURCES: Reference [1] SPEC AUTHOR: Lars STATUS: COMPLETE REVIEWS: (none) IMPLEMENTED: RI; Tamarin+ESC DESCRIPTION The character sequences CR and CRLF are all converted to a single LF character, in all source contexts, before tokenization takes place. NOTES The line terminators LS and PS are treated as in ES262-3: they are not converted in any way or merged with adjoining characters. DEFINITIONS LF=U+000A CR=U+000D LS=U+2028 PS=U+2029 REFERENCES [1] http://wiki.ecmascript.org/doku.php?id=proposals:line_terminator_normalization ___ Es4-discuss mailing list Es4-discuss@mozilla.org https://mail.mozilla.org/listinfo/es4-discuss