Tyru wrote: > I am now working on porting Vim behavior to VSCodeVim, which is Vim keymap > emulation extension of VSCode (I'm not an author nor maintainer). > https://github.com/VSCodeVim/Vim > > And I'm making moving with w,e,b,ge motion multibyte-sensitive. > It means, w moves to the next character *class*, not next word of separated > by whitespaces. > And I ported the original Vim functions in search.c, mbyte.c, and so on. > This is simple library to determine a class of given character. > https://github.com/tyru/node-vim-char-class > > And question is, is it safe to port Vim source code to another language? > Of cource, I want to respect original Vim source code, but VSCodeVim is MIT > license. > I want to avoid injecting a source code which violates license when making > a pull request to VSCodeVim.
Generally, if you copy code, the copyright remains. Thus the Vim license applies to that code. If you rewrite the code in another language, thus it's newly written and not copied, you can use whatever license you like. It doesn't matter that it is doing the same thing, functionality is not copyrighted. If the changes are mechanical, you could run a tool to do the translation, then the copyright remains. I cannot make exceptions, since code has been donated to Vim by many authors, I might not have written the code you are copying. -- Q: How many hardware engineers does it take to change a lightbulb? A: None. We'll fix it in software. /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
