Hi, I tried compiling with the d8 option, but that just bombed out with an error about not finding a shell... :(
Thought it might be that simple... tack on a d8 and go.. no luck... Thanks for the tips though... shows there is some hope.. On May 5, 4:39 pm, Stephan Beal <[email protected]> wrote: > On Thu, May 5, 2011 at 10:29 PM, Dave <[email protected]> wrote: > > I compiled v8 with the latest brew recipe on OSX. When I entered the > > shell, and typed a command, var f = "test"; I had my f variable fine. > > But I quickly realized this shell has no command history? > > > Is there a way to compile v8 to offer a shell with a history? > > If you've got any experience with libreadline (or edltline, or something > similar), it would be easy to hack it in. > > Somewhere around here i've got a readline/editline plugin for v8... > > http://code.google.com/p/v8-juice/wiki/PluginReadline > > It wouldn't be difficult to strip that code for re-use in a non-v8-juice > envrionment. The relevant code is here: > > http://code.google.com/p/v8-juice/source/browse/extra-plugins/src/rea... > <http://code.google.com/p/v8-juice/source/browse/extra-plugins/src/rea...> > -- > ----- stephan bealhttp://wanderinghorse.net/home/stephan/ -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users
