> Lua is really a embedded language with a good efficiency, and
> the lua running environment is small enough to be embedded
> in vim executive file.So i am a litter curious about that the lua
>  interface will embed the whole lua "virtual machine"
>  ( i am not very if i can call it with this words )
> into the vim executive file? Or just like python which need a
> python dll/so to run this interface?

It depends on how you compile Vim; it is easy enough to provide a static Lua
lib instead of a dynamic one.
 
> I mean if i compile the vim with +lua, whether can I use lua interface
>  directly in a non-lua-installed environment?
> # for python, i can just use the :py with a python installed environment.

If you have statically linked Lua to Vim you can simply carry the executable
with you. However it's simpler (and sometimes more efficient depending on the
platform) to just use a dynamic link; the "environment" is just a dynamic
library.

Cheers,
Luis

-- 
Computers are useless. They can only give you answers.
                -- Pablo Picasso

-- 
Luis Carvalho (Kozure)
lua -e 'print((("lexcarva...@no.gmail.spam.com"):gsub("(%u+%.)","")))'

-- 
You received this message from the "vim_dev" 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

Raspunde prin e-mail lui