Open alhassy opened 2 years ago
I think nodejs-repl
and js-comint
are the only two contenders; swank is unmaintained and the rest are too general. I found JS to be more problematic than other REPL-y languages in that sense; it requires special care for ES6 imports and overriding already-declared variables.
The overriding part is the most crucial for me; Without it, I need to resort to using let
instead of const
and I also need to delete the let
keyword every time I want to evaluate that line, then undo the deletion.
Having a REPL would be nice indeed, though. I assume there's some hoop-jumping involved to intergrate Skerric with comint-mode, because it has a separate server, so I highly appreciate the work done so far by the author!
The README should mention alternatives, and how this project compares to them.
js-comint along with
js-comint-send-region
🔥In any JS file, I just press
C-x C-e
and the JS interpreter is brought up with the evaluation results shown;(Likewise, for skerrick, we can implicitly start the server if it is not started.)
This might be useful for gathering ideas/neat-features from other projects to implement in this project.