redguardtoo / js-comint

js-comint will send the code from Emacs into node.js or rhino
GNU General Public License v3.0
69 stars 22 forks source link

Add support for Deno #30

Open philc opened 2 years ago

philc commented 2 years ago

Deno is a newer alternative to Node, by the same author.

js-comint ostensibly supports multiple JS engines, but there are some places in the code which are hard-coded to support node.

For instance, the function js-comint-start-or-switch-to-repl appends -e to any user supplied command line arguments (-e is "eval-script" in Node), and this is an unsupported command line option in Deno.