Status: New
Owner: ----

New issue 353 by mdmkolbe: Add readline method to d8
http://code.google.com/p/v8/issues/detail?id=353

The d8 shell has no way to read input from standard in as far as I can
tell.  This is a blocking issue for some(*) entries to the Computer
Language Benchmarks Game entry for V8.

Would it be possible to add a "readline()" method to d8 that reads a single
line from standard input (striping the trailing newline)?

Example use:

$ d8
d8> var x = readline()
abc
d8> x
abc
d8> x.length
3

(*) Benchmarks knucleotide, regexdna and revcomp


--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

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

Reply via email to