A developer learning Rust has created Run, a universal command-line interface (CLI) for running code in various programming languages. This tool is designed to be lightweight and minimal in dependencies, allowing users to execute one-off code snippets via CLI flags, run files, read and execute piped stdin, and switch between interactive language-specific REPLs.
Run supports both interpreted languages like Python, JavaScript, and Ruby, as well as compiled languages such as Rust, Go, and C/C++. It intelligently detects the programming language based on flags or file extensions, compiles temporary files for compiled languages, and offers a unified REPL experience with commands like :help, :lang, and :quit.
To install Run, users can execute 'cargo install run-kit' or download it from the platform-specific releases on GitHub. The developer is seeking feedback on usability, UX of the REPL, edge cases for input piping, security considerations, and packaging for cross-platform distribution.