riju icon indicating copy to clipboard operation
riju copied to clipboard

Automate languages that require repl input to run code

Open raxod502 opened this issue 3 years ago • 0 comments

Some languages, like https://riju.codes/yorick, require some manual input to run the code. This is because we want to run the code in the context of a repl when possible, and some languages don't provide an option to do this, and require the user to do it manually. This is bad UX.

Now that we've reimplemented the pty interface, we could probably support supplying some data on stdin at repl launch and then accepting further input from the user. This would probably take the form of invoking riju-pty in some languages' run commands.

raxod502 avatar Aug 18 '21 00:08 raxod502