I just discovered v8 a short while ago, and I love it.  We're using it, 
in part, as a quick way to validate our JS libraries from the command 
line, as well as quick explorations of the language with the interactive 
shell.

But the interactive shell sample that comes with v8 is a bit frustrating 
because it doesn't support command-line editing.  We're constantly 
hitting left-arrow, cmd-A, up-arrow, etc. in an attempt to edit our 
commands in the same way that we do in the Unix shell.

Even better would be something like Python's interactive shell, that 
detects when you've got an unmatched paren or curly brace (in JS terms) 
and lets you continue your input until everything is matched up.  But I 
can probably add that myself.  The command-line editing, however, is 
something I'm sure is provided by some standard Unix library, but it's 
been ages since I've used it and I can't even remember what it's called 
anymore.

So: (1) does anybody have a version of the shell that already has these 
nice interactive features?  And if not, (2) can anyone remember what 
that library is that provides command-line editing?

Thanks,
- Joe


--~--~---------~--~----~------------~-------~--~----~
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to