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
btw, I'm going to be experimenting with a mnesia-based kv store for the REPL ... in particular, I'm going to add a handful of new fields to the REPL state record to assist with both querying and easily swapping different user ENVs; once the experiments pan out, I'm going to:
intercept existing adds and updates to the REPL env -- this will "convert" the LFE $ENV var to "temporary storage" and make mnesia the source of truth for REPL state
add some convenience functions that will allow users to create new ENVs and easily switch between them in the REPL
if all this goes well, I'm going to see if I can completely remove $ENV, replacing calls that use it to query mnesia instead -- this will be the first use case that will take advantage of decoupling state from the interactive REPL
if that goes well, I will then work on remotely creating REPL sessions and sending eval queries from another node -- fixing any issues that come up and iterating on a good user experience / API for this
at that point, we'll be able to start experiments with stdio access (e.g., piping to and from a process), connecting via SSH, creating a REST server, an ETF-based protocol for using the REPL remotely, and finally explore the possibility of implementing the nREPL protocol
btw, I don't want to limit the number or type of simultaneous connections to the xrepl server, which is why I've started with mnesia and multi-environment support as the foundation
Core capabilities:
$ENV
Might want to just start right off with ETS ...
The text was updated successfully, but these errors were encountered: