projects
/
jscl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f17b56
)
Handle unfinished expressions in the REPL
author
David Vazquez
<davazp@gmail.com>
Sun, 23 Dec 2012 23:29:10 +0000
(23:29 +0000)
committer
David Vazquez
<davazp@gmail.com>
Sun, 23 Dec 2012 23:29:10 +0000
(23:29 +0000)
test.html
patch
|
blob
|
history
diff --git
a/test.html
b/test.html
index
d0e59cd
..
eec7048
100644
(file)
--- a/
test.html
+++ b/
test.html
@@
-76,6
+76,13
@@
}
// Restart the prompt.
startPrompt();
+ }, function(input){
+ try {
+ lisp.read(input[0]==','? input.slice(1): input);
+ } catch(error) {
+ return 0;
+ }
+ return false;
});
};
startPrompt();