Browse files

sort to-do items into vaguely related sets

  • Loading branch information...
1 parent 40de8ac commit b7e0bbc61c0e19e181e0242a602a5d6b5cf7a528 @darius darius committed Nov 22, 2010
Showing with 49 additions and 37 deletions.
  1. +49 −37 TODO
View
86 TODO
@@ -1,11 +1,41 @@
+*********** general:
+
+other languages:
+ lisp
+ tush
+
+doctest support -- mark an output as 'correct', and tell me when
+there's an error
+
+test isolation
+
+allow multiline examples (and outputs?)
+
+syntax coloring
+
+support "literate python"? noweb?
+
+insert results asynchronously; don't hang up emacs
+
+persistent process to avoid startup time, if possible
+
+
+*********** halp.el:
+
instead of '... done', indicate if there were any changes
(so we don't have to have a cleanly-saved state at the beginning
in order to tell)
-get v8halp to handle & report errors from loading the file
-(not just from running each /// line)
+add doc comments to interactive elisp functions
+
+continuous halp mode: auto-rerun halp after every change to the buffer;
+but don't show changed output after these auto-reruns (too disruptive);
+instead just change the prefixes on outputs that change (to '#X ', say).
+
+move cursor to position reported by compiler error message
-v8halp: prettyprint objects (not just [object Object])
+
+*********** pyhalp:
When you have:
def foo():
@@ -14,72 +44,54 @@ def foo():
## foo()
There's no 'yay' before the error traceback.
-may be useful:
- inspect.currentframe()/getouterframes()/getinnerframes()/getframeinfo()
-
-clean up code:
- halp.el has some ugly bits still lying around
- group stuff into an examples directory
-
set the current directory for python
fix: in pyhalp if the program writes to stdout, successful M-i presses
add an extra newline in front of the output each time
-fix: ghcihalp.py isn't reporting errors (or anything else) on this input:
-myzip [] [] = []
-myzip (x:xs) (x:ys) = (x, y) : (myzip xs ys)
---- myzip "hello" "world"
-
fix: in pyhalp any stdout output isn't shown if there's an exception
set PYTHONPATH (or something)
don't delete old outputs if there's an error in the initial module
loading. but do mark them somehow as no longer the current output.
-add doc comments to interactive elisp functions
+may be useful:
+ inspect.currentframe()/getouterframes()/getinnerframes()/getframeinfo()
We're still getting 'File "<string>", line 14' on syntax errors.
It looks like that message comes out of the SyntaxError exception
rather than the traceback. I tried setting value.filename = halp_filename
in get_lineno, but that did nothing. Come back to this.
-tush variant
-
-continuous halp mode: auto-rerun halp after every change to the buffer;
-but don't show changed output after these auto-reruns (too disruptive);
-instead just change the prefixes on outputs that change (to '#X ', say).
-
-move cursor to position reported by compiler error message
-
use sys.meta_path:
http://www.python.org/dev/peps/pep-0302/
http://blog.dowski.com/2008/07/31/customizing-the-python-import-system/
more concise/useful Python error messages
-doctest support -- mark an output as 'correct', and tell me when
-there's an error
-
single-stepping of some sort
-test isolation
+make sure python isn't compiling pyhalp.py every time we run
-allow multiline examples (and outputs?)
-syntax coloring
+*********** v8halp:
-support "literate python"? noweb?
+get v8halp to handle & report errors from loading the file
+(not just from running each /// line)
-for Haskell, handle compiler error messages for example lines
+v8halp: prettyprint objects (not just [object Object])
-rewrite in elisp?
+clean up code:
+ halp.el has some ugly bits still lying around
+ group stuff into an examples directory
-insert results asynchronously; don't hang up emacs
-lisp support
+*********** ghcihalp:
-persistent process to avoid startup time, if possible
+fix: ghcihalp.py isn't reporting errors (or anything else) on this input:
+myzip [] [] = []
+myzip (x:xs) (x:ys) = (x, y) : (myzip xs ys)
+--- myzip "hello" "world"
-make sure python isn't compiling pyhalp.py every time we run
+for Haskell, handle compiler error messages for example lines

0 comments on commit b7e0bbc

Please sign in to comment.