A simple command line tool for running individual files of source code.
Run is kind of like open for Mac or xdg-open for Linux, except it tries to always run source code files instead of just opening them in text editors. Run can also automatically compile source code for languages that need to be compiled.
go get github.com/nicolasmccurdy/run
- For now, the file must have an extension.
- Shebang lines are currently ignored.
- The main implementation of the file's programming language must be installed for it to run.
- You can see the list of supported programming languages in commands.json.