-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
bun repl #947
Comments
Literally one of the 2 things I need to replace node with bun. |
If that ever happens, would it be possible to add an option for the bun repl to:
Any combination of those solutions would make a repl much more usable than they generally are.
|
It's supported now with |
Hello, |
its been on my mind recently to rewrite
in my opinion readline shouldnt be used because completions ought to be powered by the javascript engine, and i just think that the act of reading input can be implemented about a thousand times better.
I think this is a reasonable idea, but it borders on the point that you may just want to use an actual file with
this would be interesting to support |
Using GNU |
When reimplementing repl it would be great if non interactive terminal sessions are supported (#5832) . Currently I explore the possibility to create a ts notebook prototype similar to jupyter notebooks where a repl session is spawned in a child process. const runtime= Bun.spawn({
cmd: ["bun", "repl"],
stdin: "pipe",
stdout: "pipe",
}); This currently fails: |
What is the problem this feature will solve?
want to be able to quickly run a code snippet without creating a file
What is the feature you are proposing to solve the problem?
bun repl
command, or even justbun
on its own opens the repl (like in node)(i know this is is mentioned in #159 but it didn't have its own issue. feel free to close if you don't want seperate issues for items on the roadmap)
What alternatives have you considered?
No response
The text was updated successfully, but these errors were encountered: