Lisper.vim : Yet Another Lisp Engine Written In Pure VimScript
script karma |
Rating 30/9,
Downloaded by 2033 |
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
|
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 142.132.191.50
|