On Tue, Feb 3, 2009 at 7:16 PM, Eduardo Cavazos <[email protected]> wrote: > The Factor project has a history of moving "deprecated" features into > extra for folks who haven't switched yet. It's the reverse process of > new features; i.e. new things begin life in extra. Anyways, I hope that > when multi-methods come along, we don't have the old dispatch mechanism > and syntax in extra for long, if at all.
The old dispatch mechanism certainly won't exist, since it will be redundant. As for the old syntax, I'll probably keep it around for a while. I think we settled on something like this for the new syntax, right? M: generic-word ( class1 class2 ... -- ) Well, the parser can unambiguously support this as well as the current M: class-word generic-word By checking if the second token after M: is (. So having both syntaxes around won't be an issue. However there is also a mechanical translation from the old syntax to the new one so unlike old accessors and delegation, I don't anticipate a long porting phase for existing code. Slava ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Factor-talk mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/factor-talk
