public
Description: Run programs in the Emacs buffer holding their source, seeing their output inline, interactively.
Homepage: http://wry.me/project/halp
Clone URL: git://github.com/darius/halp.git
halp / README
100644 37 lines (24 sloc) 1.089 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
HALP
 
With Halp, one keystroke executes all specially-marked lines from a
buffer and inserts the results inline. It can do this for source code
in Python, Haskell (literate or illiterate), or sh. This helps you
interactively test your programs as you write them -- like a
read-eval-print loop, but different.
 
To try it out, first install halp.el as described below. Then visit a
suitable file, (like sample.py, sample.lhs, or sample.sh in this
directory), and hit M-i. These sample files will explain what you can
do and how it works. (Actually only sample.py explains much. But for
the other languages, currently, there's little to explain.)
 
 
INSTALLING
 
Add this line to your .emacs:
 
  (load-file "/path/to/halp.el")
 
or just do M-x load-file halp.el.
 
It will bind M-i in the modes that Halp supports. (Edit halp.el if you
want to change this.)
 
You will need python-mode, or haskell-mode, etc., installed already
(whichever of these you intend to use with Halp). You will also need
Python >= 2.4 and Emacs 22 or 21.
 
 
AUTHORS
 
Darius Bacon <darius@wry.me>
Brandon Moore
Evan Murphy