WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
127484
jsc-cli REPL should allow multi-line input
https://bugs.webkit.org/show_bug.cgi?id=127484
Summary
jsc-cli REPL should allow multi-line input
Mark Hahnenberg
Reported
2014-01-23 08:39:02 PST
Legacy jsc allows this, and it's a feature of many other modern REPLs too. Not 100% sure how to do it. Maybe doing paren and brace matching will get us most of the way there. So things like: (function() { return 42; })(); or: var f = function(a, b) { return a + b; }; would be possible.
Attachments
Add attachment
proposed patch, testcase, etc.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug