On Jan 12, 8:17 pm, Marc Weber <[email protected]> wrote:
> I don't want to offend anybody. Just trying to understand whether
> having JS support would change anything. So please consider this thread
> as being a test whether such a change would pay off in the long run for
> the community.
>
> Unless there is more positive feedback - we can stick to VimL. I learned
> to cope with it.

After years (decades) of programming in different languages I have to
say it really doesn't matter much what language you use. More
important is what libraries/facilities the environment provides for
the task that needs to be done. That is why I had to use Python in
some of my Vim projects.

I think VimL is best suited for Vim, eve though I hated it at first.
Adding new languages to Vim doesn't work that well because in the end
you still have to use VimL to interact with Vim. Making another
language the Vim default would require a complete rewrite of most of
Vim. There were a few attempts to do it, but all projects eventually
died, because the required effort is huge.

I think that an effort better spent would be to extend the built-in
functionality of Vim. The cleanest way to do it would be to write more
functionality in C, but a lot of work from other projects would be
duplicated this way. Another way would be to add better support for
dynamic libraries and write some glue code in C.

Yet another approach is to use the libraries of one of the supported
installable languages, and to write some wrappers in VimL and/or C.
For me the perfect candidate for the last option would be Lua because
it is simple and lightweight so it could be added to Vim by default.
And it has quite a few extensions on LuaForge.

Marko

-- 
You received this message from the "vim_use" 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

Reply via email to