sponsor Vim development Vim logo Vim Book Ad

Lisper.vim : Yet Another Lisp Engine Written In Pure VimScript

 script karma  Rating 30/9, Downloaded by 2039  Comments, bugs, improvements  Vim wiki

created by
Yasuhiro Matsumoto
 
script type
utility
 
description
This vim plugin provide lisp environments for vimmers.

Source Repository.
ref: http://github.com/mattn/lisper-vim

LisperEvalBuffer: evaluate buffer as lisp.
LisperRepl: start repl in vim command-line.

You can call lisper#eval() to evaluate expression.

  :echo lisper#eval('(+ 1 2 3 4 5)')
  15

Or, make instance permanently.

  :let engine = lisper#engine()
  :echo engine.eval("(+ 1 2 3 4 5)")
  15
  :echo engine.eval("(+ 1 (length (quote abc))")
  4

The instance of lisp machine have global environment for the variable.
 
install details
# cd ~/.vim
# unzip lisper-vim.zip

or if you install pathogen.vim:

# cd ~/.vim/bundle # or make directory
# unzip /path/to/lisper-vim.zip

if you get sources from repository:

# cd ~/.vim/bundle # or make directory
# git clone http://github.com/mattn/lisper-vim.git
 

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
lisper-vim.zip 0.03 2012-05-02 7.0 Yasuhiro Matsumoto This is an upgrade for Lisper.vim:
[add] fix examples.
lisper-vim.zip 0.02 2011-11-22 7.0 Yasuhiro Matsumoto This is an upgrade for Lisper.vim:
[add] added examples.
lisper-vim.zip 0.01 2011-11-22 7.0 Yasuhiro Matsumoto Initial upload
ip used for rating: 18.97.9.171

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.
   
Vim at Github