Re: Greedy triple-quoted string literals

2008-02-20 Thread Garrett Smith
On Feb 19, 2008 10:21 AM, liorean [EMAIL PROTECTED] wrote: On Feb 18, 2008 1:17 PM, liorean [EMAIL PROTECTED] wrote: On 19/02/2008, Garrett Smith [EMAIL PROTECTED] wrote (o.f)(); // =o This should be window. No it shouldn't. The grouping syntax specifically doesn't call GetValue

Re: Greedy triple-quoted string literals

2008-02-20 Thread liorean
On Feb 18, 2008 1:17 PM, liorean [EMAIL PROTECTED] wrote: Basically the idea was along the lines of investigating the effects of removing GetValue usage from those productions whose semantics just pass values through (such as all the shortcut evaluation operators, parenthesised

Re: Greedy triple-quoted string literals

2008-02-19 Thread liorean
On Feb 18, 2008 1:17 PM, liorean [EMAIL PROTECTED] wrote: Basically the idea was along the lines of investigating the effects of removing GetValue usage from those productions whose semantics just pass values through (such as all the shortcut evaluation operators, parenthesised

Re: Greedy triple-quoted string literals

2008-02-18 Thread Lars T Hansen
The correct interpretation is that a triple quoted string starts with three quotes of the same kind and ends when the same three quotes are seen in sequence provided that the character following the three is not that same quote character. (Whether you want to call that greedy or not depends on

Greedy triple-quoted string literals

2008-02-18 Thread Dominic Cooney
There's a note on the triple-quoted string literals proposal*: we decided that triple-quoted strings would be greedy when looking for the closing triple-quotes. Wouldn't this mean, in practice, that it is only possible to have two triple-quoted string literals per source file (one with and

RE: Greedy triple-quoted string literals

2008-02-18 Thread Lars Hansen
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of liorean Sent: 18. februar 2008 11:53 To: es4-discuss@mozilla.org Subject: Re: Greedy triple-quoted string literals On 18/02/2008, Lars T Hansen [EMAIL PROTECTED] wrote: The correct interpretation

Re: Greedy triple-quoted string literals

2008-02-18 Thread liorean
On 18/02/2008, Lars T Hansen [EMAIL PROTECTED] wrote: It's been pretty quiet around here since we debated tail calls... I never finished my part of that discussion... I have a long message half-written on it since how long? Three months ago? I never quite finished my line of thought though.