Re: what is the language for vim development

2007-04-12 Thread A.J.Mechelynck

flyfish wrote:

Hi,

i would like to do some contribution in vim development, i have used vim
more than one year in programming and text edit, but when i want to start to
code for vim, i even do not know what language is used for vim development,
could you give me some information and steps how to do?


It all depends what you want to develop: if you want to add syntax 
highlighting for a new filetype, for instance, just add a few scripts in 
vim-script language. It's only when Vim needs to be recompiled that other 
languages must be used:


* Without recompilation:
  - the global plugins, filetype plugins, indent plugins, syntax scripts, 
colorschemes, etc. are in vimscript
  - keymaps can be regarded as vimscript too, but the bulk of a keymap is 
inline data for one :loadkeymap statement

  - the message translations (*.po) are in yet another format
  - the documentation uses a special text format, with, among others, 
hyperlinks from |this| to *this*


* With recompilation:
  - most of the Vim code is in C
  - On Windows, the OLE and Global IME modules are in C++
  - the Perl module (if_perl.xs) is in some language that uses Perl to 
produce an intermediary C module


* Tools for Vim compilation:
  - one makefile per compiler/platform/source directory
  - on Unix platforms, input files for configure


Best regards,
Tony.
--
He was so narrow minded he could see through a keyhole with both
eyes ...


Re: what is the language for vim development

2007-04-12 Thread flyfish

Hi,

Thank you very much for such useful information, i started to read the
usr_42.txt help file and it starts with a menu.vim file to explain how to
add new menu, i do not want to add module now, but i only want to know what
is the vim script language it is? and where to start to learn such language
and if it is necessary to learn or just study to use it from some existing
script code?

Thank you very much.


Reid Thompson wrote:
 
 flyfish wrote:
 Hi,
 
 i would like to do some contribution in vim development, i have used vim
 more than one year in programming and text edit, but when i want to start
 to
 code for vim, i even do not know what language is used for vim
 development,
 could you give me some information and steps how to do?
 
 http://www.vim.org/download.php
 
 
 http://svn.sourceforge.net/viewvc/vim/vim7/
 
 the language is C.
 
 

-- 
View this message in context: 
http://www.nabble.com/what-is-the-language-for-vim-development-tf3562125.html#a9968533
Sent from the Vim - General mailing list archive at Nabble.com.



what is the language for vim development

2007-04-11 Thread flyfish

Hi,

i would like to do some contribution in vim development, i have used vim
more than one year in programming and text edit, but when i want to start to
code for vim, i even do not know what language is used for vim development,
could you give me some information and steps how to do?
-- 
View this message in context: 
http://www.nabble.com/what-is-the-language-for-vim-development-tf3562125.html#a994
Sent from the Vim - General mailing list archive at Nabble.com.



Re: what is the language for vim development

2007-04-11 Thread Tim Chase

i would like to do some contribution in vim development, i
have used vim more than one year in programming and text edit,
but when i want to start to code for vim, i even do not know
what language is used for vim development, could you give me
some information and steps how to do?


Vim is written in C and can be obtained at

http://www.vim.org/sources.php

Alternatively, you can write code in vimscript (the ex-like 
language used internal to Vim) which you can get familiar with by 
surfing on over to


http://www.vim.org/scripts/index.php

and there's plenty to read in Vim's internal documentation:

:help usr_41.txt

As it's open source, you're welcome to hack on any of it you 
like.  However, if you want to offer something back, do take the 
time to search the scripts/plugins section of vim.org for an 
existing script/plugin that may already do what you want.  If 
you're looking to attack some of the requested features, there's 
a running list of them at


http://www.vim.org/sponsor/vote_results.php

where I'm sure folks would be glad to have.

Enjoy,

-tim




Re: what is the language for vim development

2007-04-11 Thread Reid Thompson
flyfish wrote:
 Hi,
 
 i would like to do some contribution in vim development, i have used vim
 more than one year in programming and text edit, but when i want to start to
 code for vim, i even do not know what language is used for vim development,
 could you give me some information and steps how to do?

http://www.vim.org/download.php


http://svn.sourceforge.net/viewvc/vim/vim7/

the language is C.