Hello, I hope you do not feel unconfortable with my intensive activity here on the mailing list. I was thinking how would it be possible to "prototype" new features smoothly and came to the conclusion that a plugin mechanism would do that. For instance the smartsearch I was talking in my previus email could be defined as a new command, let's say "//", the implementation would not interfer with the existing code at the begginning, but would, be implemented into a copy of those files that implement the original "/" built into a pluggin. There would be issues with existing symbols, but one could rename those symbols in the pluggin with sthg. like origFunction_smartsearch() etc. When the feature would be enough mature, or at major release the changes in the pluggin version + additional files from the plugging could flow into the main executables base.
The pluggins would be loaded dynamiccaly, would have an init function, and would attach information to the global command map. The pluggins could use the exported functions from the exe to do their job. Even more existing features like python, perl etc interfaces could be optionally defined as pluggins and loaded if necessary. In embedded devices python might be used on demand for example. Such pluggin mechanism would allow to build connectors to other IDE's, something I see it is requested on the "wishlist" on vim.org -- rgrds, mobi phil being mobile, but including technology http://mobiphil.com --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_dev" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
