Friday, January 6, 2017

Re: perl vs python bindings for vim and tab page object access

On 01/06/2017 01:41 AM, Nikolay Aleksandrovich Pavlov wrote:
> 2017-01-06 5:56 GMT+03:00 Arif Khokar <arif.i.khokar@gmail.com>:
>> [I sent this to the vim_dev list earlier, but didn't get a response]
>>
>> After looking through the documentation for if_perl and if_pyth, I noticed
>> that the python bindings had the ability to query and manipulate tab page
>> objects, while the perl bindings did not.
>>
>> Is there a technical reason for the difference (i.e., a limitation for the
>> perl C bindings?), or is it something that was never implemented?
>
> Perl is not so popular nowadays, so there are less authors willing to
> contribute to if_perl.xs. I do not think there are any technical
> reasons (I do not know XS, but I am the person who initially wrote
> Python tab page objects and can say that there should not be any
> problems on the Vim side and given that there are objects like $curbuf
> I do not see why there could not be something like $tabpages).

Interestingly enough, it appears that none of the other language
bindings, aside from python, allow for direct tab page access. The ones
I looked through were lua, mzscheme, tcl, and ruby. I guess that means
that python is the most popular binding :)

--
--
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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment