pry/pry — Issue #446: `eval_string <<` vs input_stack for replaying history in the REPL
Author: banister
Created: 2012-01-24 14:37:26+00:00
State: open
Labels: refactor

Currently using `eval_string` approach, but should revert back to `input_stack` ?

advantages of `input_stack`:
* runs the input as independent units of 'complete expressions' (or commands) as encountered

disadvantages of `input_stack`:
* doesn't put input in the pry input cache

----

advantages of `eval_string`:
* puts input in pry input cache

disadvantages:
* dumps *everything* into one `eval_string`, including commands and other complete expressions, makes it impossible to replay a bunch of inputs that include commands as well as ruby code