Monday, December 2, 2013

Re: improving Vim - Kickstarter - brainstorming - goals - who wants to join?

Excerpts from Nikolay Pavlov's message of Mon Dec 02 18:12:00 +0100 2013:
> Wondering whether gobject may make python-vim API look like rather regular
> python module and not like something ctypes-based with many implementation
> details leaking.
Writing a small python layer on top should be easy.

> I do not remember clearly, but was not it suggested to take PCRE syntax? I
> do not remember any discussions suggesting taking PCRE and replacing parser
> code, but I may have missed something.
I don't remember wether it was public. Facts: PCRE is fast, it already
implements what Bram had in mind, it even has JIT support.
But yes, it would be PCRE syntax, too. (Is this good or bad?).

> All unicode properties.
Add references to documentation what you have in mind (wiki).

> It is not this. Problems solved include:
> - Possible deletion of function that is referenced somewhere.
What for? Don't understand what you mean.

> - Weird anonymous function names.
Talking about dictionaries? :function{23} will provide more information

> - Restriction for deleting functions being profiled.
> - Using python callables as vim functions.
You can do this all - kind of.:

You can define helper function

fun! CallPyAndReturn(py-expr)
py a = a:py-expr
py return a
endf

Then

let my_funcref = funcref#Function('return CallPyAndReturn('python-thing', ARGS[0], ARGS[1])', [2])
# my_funcref contains first arg. Second arg still has to be passed:
let x= funcref#Call(my_funcref, [arg_2])

> This list does *not* include partial application, not without lambda
> subbranch.
Please document your work on the wiki. We need to have a primary place
to share ideas/ work/ ..

Marc Weber

--
--
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/groups/opt_out.

No comments: