Re: vimscript compiled

2008-05-29 Fir de Conversatie Charles E Campbell Jr

Milan Vancura wrote:
 #include stdio.h
 #include stdlib.h
 int main()
 {
 system(gvim -c script.vim);
 return 0;
 }
 

 :- Thank you for lenghtening my life with 10 minutes of laugh!

 It remindes me my favorite IRC citation:

 A: Hi all, I'm playing with datetime functions. Can someone help me, please? 
 I
need a function which converts Mar to 3.
 B: try strlen()

   
Sounds like a good solution to me! :)

Chip


--~--~-~--~~~---~--~~
You received this message from the vim_dev maillist.
For more information, visit http://www.vim.org/maillist.php
-~--~~~~--~~--~--~---



Re: vimscript compiled

2008-05-23 Fir de Conversatie epanda

Ok thanks Charles, my goal was to have a self binary which execute the
reformat file function that I have scripted not depending to gvim
installed.





On 22 mai, 22:09, Charles E Campbell Jr [EMAIL PROTECTED]
wrote:
 epanda wrote:
  I have done a script but I don't want it to be interpreted.

  Is it possible to convert   [gvim -c script.vim] into
  [oneExeCompiled.exe]

 Following provided somewhat facetiously:

 #include stdio.h
 #include stdlib.h
 int main()
 {
 system(gvim -c script.vim);
 return 0;

 }

 If you're asking for a vim script compiler, as opposed to vim's internal
 interpreter, there isn't one.  Such a beastie would have to include all
 of vim plus the ability to compile vimscript.  I haven't looked enough
 to figure out if vim's interpreter is even a byte-code interpreter
 (which is sort of in-between a compiler and a plain interpreter).

 Regards,
 Chip Campbell
--~--~-~--~~~---~--~~
You received this message from the vim_dev maillist.
For more information, visit http://www.vim.org/maillist.php
-~--~~~~--~~--~--~---



Re: vimscript compiled

2008-05-23 Fir de Conversatie Milan Vancura

 #include stdio.h
 #include stdlib.h
 int main()
 {
 system(gvim -c script.vim);
 return 0;
 }

:- Thank you for lenghtening my life with 10 minutes of laugh!

It remindes me my favorite IRC citation:

A: Hi all, I'm playing with datetime functions. Can someone help me, please? I
   need a function which converts Mar to 3.
B: try strlen()


Milan
--
Milan Vancura, Prague, Czech Republic, Europe

--~--~-~--~~~---~--~~
You received this message from the vim_dev maillist.
For more information, visit http://www.vim.org/maillist.php
-~--~~~~--~~--~--~---



Re: vimscript compiled

2008-05-23 Fir de Conversatie Ben Schmidt

Milan Vancura wrote:
 #include stdio.h
 #include stdlib.h
 int main()
 {
 system(gvim -c script.vim);
 return 0;
 }
 
 :- Thank you for lenghtening my life with 10 minutes of laugh!

I loved the way it included stdio.h for added compilation time.

 It remindes me my favorite IRC citation:
 
 A: Hi all, I'm playing with datetime functions. Can someone help me, please? 
 I
need a function which converts Mar to 3.
 B: try strlen()

I like it.

Ben.





--~--~-~--~~~---~--~~
You received this message from the vim_dev maillist.
For more information, visit http://www.vim.org/maillist.php
-~--~~~~--~~--~--~---



Re: vimscript compiled

2008-05-22 Fir de Conversatie Charles E Campbell Jr

epanda wrote:
 I have done a script but I don't want it to be interpreted.

 Is it possible to convert   [gvim -c script.vim] into
 [oneExeCompiled.exe]

   
Following provided somewhat facetiously:

#include stdio.h
#include stdlib.h
int main()
{
system(gvim -c script.vim);
return 0;
}


If you're asking for a vim script compiler, as opposed to vim's internal 
interpreter, there isn't one.  Such a beastie would have to include all 
of vim plus the ability to compile vimscript.  I haven't looked enough 
to figure out if vim's interpreter is even a byte-code interpreter 
(which is sort of in-between a compiler and a plain interpreter).

Regards,
Chip Campbell


--~--~-~--~~~---~--~~
You received this message from the vim_dev maillist.
For more information, visit http://www.vim.org/maillist.php
-~--~~~~--~~--~--~---