Oh, I forgot to add vim_dev to CC... ---------- Forwarded message --------- From: tyru <[email protected]> Date: 2018年5月7日(月) 2:43 Subject: Re: Vim license compatibility when porting to another language To: Bram Moolenaar <[email protected]>
Thanks for response! 2018-05-07 2:29 GMT+09:00 Bram Moolenaar <[email protected]>: > > 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. Grad to hear that :) > 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 /// -- Takuya Fujiwara -- -- 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.
