Subj : Re: Adding operator to javascript To : netscape.public.mozilla.jseng From : Mark Turansky Date : Thu Sep 01 2005 04:52 pm Instead of adding this specific new keyword and syntax, would it instead be possible to create a standard extension mechanism for programmers to create syntax for whatever they need? This follows the theory of 2 being an impossible number (http://c2.com/cgi/wiki?TwoIsAnImpossibleNumber). There is either 0 cases for this, so it is not done. There is only 1 case for this and it is well known (such as adding the new 'transaction' construct) or there are infinitely many possibilities (the ability to add whatever new statement constructs someone would need). "Brendan Eich" wrote in message news:4315FCEC.6000909@meer.net... > Brendan Eich wrote: > > > This is not an operator, in any event. It's new syntax for new > > semantics. > > New statement syntax, I meant (as opposed to a new operator fitting into > the expression sub-grammar). Sorry to pick nits, just want to get this > more into the form of a specification -- which requires being picky. > > > The first thing you could do to help is specify the > > semantics as completely as you can. > > BTW, I'm interested in this proposed statement as an extension, if we > can specify it in a clean and universal way. Let's start with how it > would work for your environment. > > /be .