Re: creating eclipse plugin for vim

2007-03-18 Thread Asiri Rathnayake
On Sun, 2007-03-18 at 08:28 +0100, Asim Imdad wrote: Hi, I was think of rewriting code base of vim in java. What kind of problems do you people think I can face? Already there is another project known as jvi. How much faithful it is to true vim design? AI I have seen gedit integrated to

Improving regexp performance

2007-03-18 Thread Asiri Rathnayake
Bram, I read several articles on possible NFA implementations ( took some time to understand ). But I think implementing an NFA based approach is quite possible ( Russ Cox has provided a sample implementation in his article ). But I'm having a hard time understanding the existing approach taken

Re: creating eclipse plugin for vim

2007-03-18 Thread Nicolas Weber
Hi, I was think of rewriting code base of vim in java. The whole code base? What kind of problems do you people think I can face? As sloccount vim7-svn/src shows, there are about 281000 thousand lines of vim code. The average programmer writes 10 lines of functional, tested code.

Re: Improving regexp performance

2007-03-18 Thread Nikolai Weibull
On 3/18/07, Asiri Rathnayake [EMAIL PROTECTED] wrote: I read several articles on possible NFA implementations ( took some time to understand ). But I think implementing an NFA based approach is quite possible ( Russ Cox has provided a sample implementation in his article ). But I'm having a

Re: Improving regexp performance

2007-03-18 Thread Bram Moolenaar
Asiri Rathanayake wrote: I read several articles on possible NFA implementations ( took some time to understand ). But I think implementing an NFA based approach is quite possible ( Russ Cox has provided a sample implementation in his article ). But I'm having a hard time understanding the

Re: creating eclipse plugin for vim

2007-03-18 Thread Doug Kearns
On Sun, Mar 18, 2007 at 08:28:19AM +0100, Asim Imdad wrote: Hi, I was think of rewriting code base of vim in java. What kind of problems do you people think I can face? Already there is another project known as jvi. How much faithful it is to true vim design? There's also a 'vim' plugin for

Re: Improving regexp performance

2007-03-18 Thread Asiri Rathnayake
On Sun, 2007-03-18 at 14:07 +0100, Nikolai Weibull wrote: On 3/18/07, Asiri Rathnayake [EMAIL PROTECTED] wrote: I read several articles on possible NFA implementations ( took some time to understand ). But I think implementing an NFA based approach is quite possible ( Russ Cox has

Re: Improving regexp performance

2007-03-18 Thread Asiri Rathnayake
On Sun, 2007-03-18 at 15:07 +0100, Bram Moolenaar wrote: Asiri Rathanayake wrote: I read several articles on possible NFA implementations ( took some time to understand ). But I think implementing an NFA based approach is quite possible ( Russ Cox has provided a sample implementation in

vim via console in eclipse

2007-03-18 Thread Asim Imdad
Hi, There is one idea to use eclipse console class and extend to incorporate vim into it. It is defined in org.eclipse.ui.console. I am currently looking into details related to this. There will be no rewriting of code for eclipse and original can be used. Asim Imdad

Re: creating eclipse plugin for vim

2007-03-18 Thread Asim Imdad
yup, I was talking about the same thing and sure we can combine effort to do this. It will be my pleasure. On 3/18/07, Manu Anand [EMAIL PROTECTED] wrote: On 3/18/07, Asim Imdad [EMAIL PROTECTED] wrote: Yes but it emulates vim but it is not the VIM. I think lot of features might be missing

Re: Improving regexp performance

2007-03-18 Thread Nikolai Weibull
On 3/18/07, Asiri Rathnayake [EMAIL PROTECTED] wrote: On Sun, 2007-03-18 at 14:07 +0100, Nikolai Weibull wrote: Then there's the parallel one that keeps track of all the states that we're currently in that accepts as soon as an accepting/final state is reached. I think by parallel you

Re: Improving regexp performance

2007-03-18 Thread Asiri Rathnayake
On Sun, 2007-03-18 at 17:32 +0100, Nikolai Weibull wrote: On 3/18/07, Asiri Rathnayake [EMAIL PROTECTED] wrote: On Sun, 2007-03-18 at 14:07 +0100, Nikolai Weibull wrote: Then there's the parallel one that keeps track of all the states that we're currently in that accepts as soon as an

improving encryption in vim

2007-03-18 Thread Josh
Another idea that I saw on the list was improving the encryption in vim and encrypting the swap file. The ideas that I have for this range from replacing the encryption function in vim with one that is more secure to adding support for an external library library to adding functions to modify the

Re: improving encryption in vim

2007-03-18 Thread Bram Moolenaar
Josh wrote: Another idea that I saw on the list was improving the encryption in vim and encrypting the swap file. The ideas that I have for this range from replacing the encryption function in vim with one that is more secure to adding support for an external library library to adding