Hello, Vimmers.

I wrote a patch[1] that provides Gauche[2] interface to Vim.  It
allows to control Vim from Gauche side.  For exmaple:

   :gauche <<END
     (vim-execute "new")
     (vim-eval "&l:modified")  ;==> 0
     (vim-apply "append" '(1 (foo bar baz)))
     (vim-eval "&l:modified")  ;==> 1
   END

Currently it provides very basic API and there is no useful API to
control Vim from Gauche side (although I planned to add them.)
But they are easily derived as follows:

   :gauche <<END
     (define-macro (has _)
       `(vim-apply "has" '(,_)))

     (has "gauche")  ;==> 1
   END

Any feedback is welcome.

[1] http://github.com/kana/vim/tree/hack%2Fgauche-interface
[2] http://practical-scheme.net/gauche/


-- 
To Vim, or not to Vim.
kana <http://whileimautomaton.net/>

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui