* [ELPA] New package: firefox-javascript-repl
@ 2023-05-27 14:57 Thomas Fitzsimmons
0 siblings, 0 replies; only message in thread
From: Thomas Fitzsimmons @ 2023-05-27 14:57 UTC (permalink / raw)
To: emacs-devel
Hi,
I just published a new package:
https://git.sr.ht/~fitzsim/firefox-javascript-repl/tree/main/item/firefox-javascript-repl.el
I think it may be useful to others, so I'm proposing it for GNU ELPA.
From the commentary:
REPL into a new Firefox instance's JavaScript engine. A new
throwaway Firefox profile directory is created before each run, so
you won't need to modify your existing profiles. This mode takes
care of starting the new Firefox process in debugging mode, which
may be tedious to do by hand.
This `comint' mode is barebones and unstructured, meant for quick
JavaScript experiments. On newer versions of Emacs with
`comint-indirect-buffer' support, syntax highlighting happens on
the current statement.
Paste each statement from `example.js' into the REPL to try it out.
I will try to keep the current base functionality working with the
latest Firefox and Firefox ESR releases. Past attempts at such REPLs
like jsSlime have not kept up with the evolution of the Firefox Remote
Debugging Protocol. I could not get skewer-mode or dap-mode working;
there was so much compatibility debugging that it made more sense to
write my own minimal REPL -- again, only for the purposes of quick
JavaScript experimentation.
Thomas
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-05-27 14:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-27 14:57 [ELPA] New package: firefox-javascript-repl Thomas Fitzsimmons
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).