-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What happens when you start a CLJS REPL? #1
Comments
You nested them in the wrong order: (CLJ -> )CLJS -> EDN |
However the real question to address is how to ensure that CLJ -> EDN -> CLJS -> EDN works. |
Right now I'm thinking of having the server sending |
The CLJS REPL has some other hidden "problems" in that Maybe the REPL should support arbitrary output streams (not just |
As far as the output streams go, it would probably be useful to make them thread aware to avoid garbled output like
So the tool can re-assemble the streams easily. |
That's what the third optional component ("group id") is for in the tuples. |
Hey, just saw this in my Twitter feed.
I recently spent some time with REPL related ideas myself and one of the key requirements for me is that I want to be able to launch a CLJS REPL seamlessly. I like your approach but what happens if you start another REPL that is not aware of this protocol?
Take the default CLJS REPL as an example. It will takeover the
*in*
and only write to*out*
. While that should produce proper[:out ...]
EDN forms (assuming you provide a custom*out*
binding) that will be the only thing it sends. No:eval
or:prompt
. The UI I imagine you'd build out of this would seem "stuck"?The text was updated successfully, but these errors were encountered: