jamesdiacono / Replete

Interactive JavaScript
https://repletejs.org/play/
55 stars 4 forks source link

Text editor plugins #5

Open jamesdiacono opened 2 years ago

jamesdiacono commented 2 years ago

This is a place where people can share their plugins.

Generally, a plugin has these responsibilities:

  1. Start and stop the Replete process (replete.js).
  2. Send source code to Replete.
  3. Display Replete's results.

Here are the plugins I have made:

Text editor Written in Link Licence Updated
VSCode JavaScript Marketplace Public domain 2024-06-16
Sublime Text 4 Python sublime_replete.zip Public domain 2024-06-16
Emacs Lisp replete.el GPL v3.0 2024-06-16
Neovim Lua neovim_replete.zip MIT 2024-06-16

If you download a plugin, unzip it and follow the instructions within. These plugins should work on any operating system. Please let me know if you experience problems.

anonimitoraf commented 2 years ago

Hey man, don't know of any other way to message you. Just wanted to show you my server implementation with isolated modules/namespaces: https://github.com/anonimitoraf/jive/blob/main/server/index.ts

jamesdiacono commented 2 years ago

I hope you don't mind @anonimitoraf but I appropriated the Emacs part of Jive. I've put a link in the top post.

schlerp commented 1 year ago

@jamesdiacono hey dude, came across this neovim plugin that reminded me of replete: https://github.com/michaelb/sniprun

thought there might be some cross-over and you'd wanna check out how they do it.

jamesdiacono commented 1 year ago

Sniprun's editor interface looks very polished, but from what I can tell its JavaScript plugin lacks some features that I feel are vital, such as the ability to import modules and support for evaluating code in Node.js and the browser. NeoVim users might be interested in integrating Sniprun with Replete, to get the best of both worlds.