mirror of
https://github.com/denoland/deno.git
synced 2025-08-04 19:08:15 +00:00
refactor(repl): use an inspector session (#7763)
This ports the REPL over to Rust and makes use of an inspector session to run a REPL on top of any isolate which lets make full use of rustylines various things like validators and completors without having to introduce a bunch of hard to test internal ops and glue code. An accidental but good side effect of this is that the multiple line input we previously had is now an editable multi-line input prompt that is correctly stored in the history as a single entry.
This commit is contained in:
parent
5590b97670
commit
4c779b5e8c
13 changed files with 285 additions and 352 deletions
|
@ -16,7 +16,6 @@ pub mod permissions;
|
|||
pub mod plugin;
|
||||
pub mod process;
|
||||
pub mod random;
|
||||
pub mod repl;
|
||||
pub mod runtime;
|
||||
pub mod runtime_compiler;
|
||||
pub mod signal;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue