[slim-vim] Vim70+ECL for Win32 Native

Brad Beveridge brad.beveridge at gmail.com
Thu Jul 20 00:48:26 CDT 2006


On 19/07/06, Larry Clapp <larry at theclapp.org> wrote:
> On Tue, Jul 18, 2006 at 11:11:10PM -0400, Larry Clapp wrote:
> > No binaries yet, but progress.  I've managed to compile a native
> > Win32 Vim7 (w/out ECL support, but it's a start).  I'm compiling a
> > native ECL 0.9i now.  More updates tomorrow, I hope.
>
> I've compiled a native Win32 Vim7, and a native ECL.  See
> http://theclapp.org/lisp/vim+ecl+w32.zip .  ecl-repl seems to work, at
> least enough to evaluate a single function.
>
> Slim-vim aka ecl-slime gets a segmentation violation when trying to
> connect to Swank.  :(  Since most of slime-vim is VimL and Lisp, it's
> quite possible that you could debug it and send Brad a patch, without
> needing to recompile Vim or ECL or anything.  On the other hand, it's
> also possible that the networking code that Jim wrote is fundamentally
> broken under Windows.  I don't know yet.  Any help welcome.
>
> Brad -- I think at one point you had some Lisp, runnable from Vim,
> that would just connect to a remote port and echo text back and forth.
> Can you refresh my memory on where that is, and/or email it to me (or
> paste it to me if you see me online)?
>
> Details on the zip file:
>
> cd to c:\ and unzip.  Partial contents:
>
> > % unzip -l vim+ecl+w32.zip
> > Archive:  vim+ecl+w32.zip
> >   Length     Date   Time    Name
> >  --------    ----   ----    ----
> >   1572864  07-19-06 21:28   Program Files/Vim/vim70/gvim.exe
> >       380  07-19-06 21:57   Program Files/Vim/vim70/gvim.exe.manifest
> >     30538  07-19-06 22:06   Program Files/Vim/vim70/if_ecl.lisp
> >         0  07-19-06 20:29   Program Files/ECL/
> > [ ... entire runtime ECL tree ... ]
>
> (This zip provides only gvim.exe; the rest of Vim you'll have to get
> from Vim.org.)
>
> As you can see, this will OVERWRITE any existing gvim.exe, and any
> existing ECL installation.  Just so you know what you're getting in
> to.  Make backups as appropriate.
>
> Also, since dynamically loading a DLL is a bit of work (the code in
> if_python.c to do the same is 276 lines, which will probably be very
> instructive, when I have time to look at it :), this version of
> Vim+ECL *requires* ECL be installed; it's not optional.  So don't try
> installing gvim.exe w/out ECL, too.
>
> You'll also need to add "C:\Program Files\ECL" to your %PATH%, so Vim
> can find the ECL DLL.
>
> Good luck, and please report any results, positive or negative.
>
> -- Larry

Wow, Larry - phenominal work!!  I managed to dig up some net code that
we originally used to track down the callback GC bug, which I've
attached.  I haven't even looked at it for ages so I dunno how well it
will work.

Cheers
Brad
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nettest.tgz
Type: application/x-gzip
Size: 2620 bytes
Desc: not available
Url : http://www.lispniks.com/pipermail/slim-vim/attachments/20060719/cfdff958/nettest.tgz


More information about the slim-vim mailing list