You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey everyone! I've been working on issue #52965, and it was recommended that I suggest my improvements to the current REPL incrementally instead of doing a full overhaul. This issue will track my progress, so any suggestions can be made without bothering reviewers.
Use only vm, without an inspector session
Migrating to only use VM will allow the REPL to survive the deletion of important internals, as it will be operating under a different context. Additionally, it will allow the REPL to run in both a CJS context and an ESM context. It should (in theory) help fix/lessen the impact of many issues, such as the ones below (and various others):
Hey everyone! I've been working on issue #52965, and it was recommended that I suggest my improvements to the current REPL incrementally instead of doing a full overhaul. This issue will track my progress, so any suggestions can be made without bothering reviewers.
Here are the changes I'm planning to implement:
Syntax Highlighting repl: support syntax highlighting #53571
Use only
vm
, without aninspector
sessionMigrating to only use VM will allow the REPL to survive the deletion of important internals, as it will be operating under a different context. Additionally, it will allow the REPL to run in both a CJS context and an ESM context. It should (in theory) help fix/lessen the impact of many issues, such as the ones below (and various others):
Refactor class to use ECMAScript
This will help with the implementation of multiple loaders (CJS and ESM), as the class will be extendable (in parts).
CC @nodejs/repl
The text was updated successfully, but these errors were encountered: