On Friday 02 December 2005 06:59 pm, Andrew Lentvorski wrote:
> boblq wrote:
> > But wait. vim already has a scripting language. It is
> > called VimScript. You don't have to learn C or study
> > the admittedly gory C code. See
> > http://vimdoc.sourceforge.net/htmldoc/usr_41.html
>
> So, instead, I get the joy of inloading a scripting language into my
> brain that has *zero* use outside of vim.
>
> No.
>
> Use Perl, Lisp, Python, Ruby, Java, Scheme, whatever. But it should be
> a real language that has use outside of the specific program.
>
> At this point, any program which creates its own "extension language"
> instead of using one of the many already available just gets tossed.
>
> -a
I think, though do not know, that vimscript was created
pertty early in the process. It is essentially a trivial language
consisting of
1) vi commands
2) if else elseif endif
3) while endwhile
4) continue break
5) functions.
The big deal is 1) of course. See
http://vimdoc.sourceforge.net/htmldoc/eval.html#functions
I would fire any programmer who was working for me
if they could not learn this language in an afternoon.
YMMV.
Meanwhile I looked and found
http://vimdoc.sourceforge.net/htmldoc/ref_toc.html
lists Interfaces for Perl, Ruby, Python, and Tcl.
A little more digging reveals that one can invoke Ruby from Vim
http://www.rubygarden.org/ruby?VimRubyInterface
and vice versa
This allows you to easily define and call vim functions from ruby.
http://www.vim.org/scripts/script.php?script_id=248
Here is how you can use Perl with VIM
http://vimdoc.sourceforge.net/htmldoc/if_perl.html
And here is an interesting vim IDE for perl.
http://lug.fh-swf.de/vim/vim-perl/screenshots-en.html
But this still begs the important question: What functionality
does the IDE provide (or package in a useful way) that I need?
I honestly cannot think of any so I would like feedback from
those of you who use an IDE. What is is good for?
BobLQ
--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list