lua available in win32 7.3 beta?

4 views
Skip to first unread message

Garner Halloran

unread,
Aug 2, 2010, 1:54:56 PM8/2/10
to vim...@vim.org
It appears that lua is not compiled in for the 7.3 beta (at least for win32).  Was this intentional?  I'd love to test this out before release.

Bram Moolenaar

unread,
Aug 2, 2010, 5:12:43 PM8/2/10
to Garner Halloran, vim...@vim.org

Garner Halloran wrote:

> It appears that lua is not compiled in for the 7.3 beta (at least for
> win32). Was this intentional? I'd love to test this out before release.

I do not plan to distribute a Win32 binary with Lua support. You can
build it yourself, or perhaps someone will provide it.

--
Every engineer dreams about saving the universe and having sex with aliens.
This is much more glamorous than the real life of an engineer, which consists
of hiding from the universe and having sex without the participation of other
life forms. (Scott Adams - The Dilbert principle)

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ download, build and distribute -- http://www.A-A-P.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///

Tux

unread,
Aug 2, 2010, 5:20:11 PM8/2/10
to vim...@googlegroups.com
Garner Halloran schrob am 02.08.2010 19:54:

> It appears that lua is not compiled in for the 7.3 beta (at least for
> win32). Was this intentional? I'd love to test this out before release.
>

My builds are compiled (but untested) with LUA, compiled every few days:
http://tuxproject.de/projects/vim

Garner Halloran

unread,
Aug 2, 2010, 5:36:07 PM8/2/10
to vim...@googlegroups.com

--
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

Much appreciated.  I think I will work on compiling my own version in the future as well since I'd prefer a different version of Python. 

Tux

unread,
Aug 2, 2010, 7:55:42 PM8/2/10
to vim...@googlegroups.com
Garner Halloran schrob am 02.08.2010 23:36:

> Much appreciated. I think I will work on compiling my own version in the
> future as well since I'd prefer a different version of Python.
>

Which and why? Maybe I could switch, too. ;-)

Garner Halloran

unread,
Aug 2, 2010, 8:47:22 PM8/2/10
to vim...@googlegroups.com

--
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

I'm using 2.7 at work and would prefer to stay in the Python 2 realm for now.  I've been meaning to learn how to compile Vim for awhile so now I have a good excuse! 

Tux

unread,
Aug 2, 2010, 9:02:31 PM8/2/10
to vim...@googlegroups.com
Garner Halloran schrob am 03.08.2010 02:47:

> I'm using 2.7 at work and would prefer to stay in the Python 2 realm for
> now.

My builds use both Python 2 and 3.

For compiling trunk builds I use the attached batch file, Visual Studio
2010 (you might have to change some paths accordingly). Loosely
commented, working fine with Windows 7 (German, so "C:\Programme" is a
hard link to "C:\Program Files", but I wanted to avoid paths with spaces).


compile.7z

Luis Carvalho

unread,
Aug 2, 2010, 10:15:44 PM8/2/10
to vim...@googlegroups.com
> For compiling trunk builds I use the attached batch file, Visual Studio
> 2010 (you might have to change some paths accordingly). Loosely
> commented, working fine with Windows 7 (German, so "C:\Programme" is a
> hard link to "C:\Program Files", but I wanted to avoid paths with spaces).

It's straightforward to include Lua (not LUA) in Vim 7.3:

1. Install Lua: the usual Lua installation in Windows is luaforwindows,
http://code.google.com/p/luaforwindows . You'll need "Lua Module Development
files (libs and headers)". (Around 8Mb after installed.)

2. Compile: after installing Lua, just compile Vim with, say,

nmake -f Make_mvc.mak GUI=yes OLE=yes LUA=C:\Progra~1\Lua\5.1 DYNAMIC_LUA=yes

if using Visual Studio, or

mingw32-make -f Make_ming.mak GUI=yes OLE=yes LUA=C:\Progra~1\Lua\5.1

if using MinGW (DYNAMIC_LUA=yes by default). Of course, you can add your other
options for more features.

I think it'd be nice to have all language interfaces (/dyn) in the Windows
version of Vim, that is, to have Lua and MzScheme included. But I don't know
how hard it is to include MzScheme. Lua is easy; don't you agree, Bram? :)

Cheers,
Luis


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

--
Luis Carvalho (Kozure)
lua -e 'print((("lexca...@NO.gmail.SPAM.com"):gsub("(%u+%.)","")))'

Tux

unread,
Aug 2, 2010, 10:24:00 PM8/2/10
to vim...@googlegroups.com
Luis Carvalho schrob am 03.08.2010 04:15:

>
> 2. Compile: after installing Lua, just compile Vim with, say,
>
> nmake -f Make_mvc.mak GUI=yes OLE=yes LUA=C:\Progra~1\Lua\5.1 DYNAMIC_LUA=yes

That's (almost) how I do it.

Hmm, MzScheme; I would have included it in my builds if I had found a
native Win32 version. But I haven't, so i haven't. Any hints?

James Vega

unread,
Aug 2, 2010, 10:54:35 PM8/2/10
to vim...@googlegroups.com

Racket (formerly called PLT Scheme) is available at
<http://www.racket-lang.org/>.

--
James
GPG Key: 1024D/61326D40 2003-09-02 James Vega <jame...@jamessan.com>

signature.asc

Tux

unread,
Aug 2, 2010, 11:13:07 PM8/2/10
to vim...@googlegroups.com
James Vega schrob am 03.08.2010 04:54:

> Racket (formerly called PLT Scheme) is available at
> <http://www.racket-lang.org/>.
>

Racket is not compatible with the Vim makefiles which require mzScheme
libs explicitly.

Reply all
Reply to author
Forward
0 new messages