sponsor Vim development Vim logo Vim Book Ad

if_v8 : V8 interface to Vim

 script karma  Rating 4/1, Downloaded by 1364    Comments, bugs, improvements  Vim wiki

created by
Yukihiro Nakadaira
 
script type
game
 
description
V8 is Google's open source JavaScript engine.

Requirements:
  linux or windows.
  Vim executable file with some exported symbol that if_v8 requires.
    On linux:
      Compile with gcc's -rdynamic option.
    On windows (msvc):
      Use vim_export.def and add linker flag "/DEF:vim_export.def".
      nmake -f Make_mvc.mak linkdebug=/DEF:vim_export.def

Usage:
  :source /path/to/if_v8/init.vim
  :V8 print('hello, world')
  => hello, world
  :V8 3 + 4
  => 7
  :V8 vim.execute('version')
  => ... version message
  :V8 var tw = vim.eval('&tw')
  :V8 tw
  => 78
  :V8 vim.let('&tw', '40')
  :echo &tw
  => 40
  :V8 load('foo.js')
 
install details
Latest source: svn checkout http://vim-soko.googlecode.com/svn/trunk/if_v8
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
if_v8.zip 0.7 2014-11-23 7.4 Yukihiro Nakadaira update for latest v8 version
if_v8.zip 0.6 2010-07-17 7.0 Yukihiro Nakadaira maintenance release
if_v8.zip 0.5.1 2009-04-29 7.0 Yukihiro Nakadaira Added gc()
if_v8.zip 0.5 2009-01-17 7.0 Yukihiro Nakadaira Added Funcref.
if_v8.zip 0.4.1 2009-01-04 7.0 Yukihiro Nakadaira bug fix
if_v8.zip 0.4 2009-01-04 7.0 Yukihiro Nakadaira Added Vim's builtin functions.
Added VimList/VimDict class to provide direct access to VimL variable.
if_v8.zip 0.3 2008-12-13 7.0 Yukihiro Nakadaira Added windows support.
if_v8.zip 0.2 2008-09-15 7.0 Yukihiro Nakadaira Removed FEAT_PYTHON dependency.
if_v8.zip 0.1 2008-09-14 7.0 Yukihiro Nakadaira Initial upload
ip used for rating: 54.197.45.100

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
SourceForge.net Logo