Skip to content

Script to build and run multiple programming languages

Notifications You must be signed in to change notification settings

Akash6222/code-runner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Code Runner

Code Runner is a simple bash script that allows you to compile and run programs written in various programming languages. This script supports C/C++, Python, Java, JavaScript (Node.js), and Ruby.

Usage

To use Code Runner, simply provide the path to your source file as an argument. The script will detect the file's extension and execute it accordingly.

./code-runner.sh <source_file>

Supported Languages

  • C/C++ (.c, .cpp)
  • Python (.py)
  • Java (.java)
  • JavaScript (.js)
  • Ruby (.rb)

Features

  • Compiles and runs C/C++ programs with automatic cleanup of compiled binaries.
  • Executes Python, Java, JavaScript, and Ruby scripts directly.

Contributing

Contributions are welcome! If you find any bugs or want to add support for more languages, feel free to open an issue or submit a pull request.

License

This project is licensed under the MIT License.

About

Script to build and run multiple programming languages

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages