Re: Namespace issues
- Posted by Lewis Townsend <keroltarr at HOTMAIL.COM> Jun 28, 2001
- 412 views
Hello Chris, >I have a crazy idea, but it just might work. Why not have the >interpreter automatically rename the conflicts. It would go through >all the include files and rename the conflicts for you. Could this >work? It's a nice original idea but it would still need to be used in conjunction with a prefix mechanism or something. It would work as long as you didn't try to reference the a symbol that got renamed! How do you know it's going to get renamed? And how do you know what it will be renamed to? Imagine this: FileA.ew global atom x FileB.ew global atom x FileC.exw include FileA.ew include FileB.ew x = 1 If FileB's "x" got renamed, how would you know how to reference it. Or how would Euphoria know to change FileC's "x" reference as well or to leave it alone? later, Lewis Townsend