Skip to main content

C Programming Simplified

Project description

cRun-Banner

What is cRun?

cRun is a script that is meant to make compiling and running .c files easy for both beginners and experienced. It's designed mainly based on the use case of students new to C Programming

Note: Previews here are from the original version the python version previews will be updated soon

Built by a rookie for the fellow rookies

I wrote this script after finding some things annoying about C Programming and being a beginner I am immature enough to make something for this purpose

Go single or spice it up

Run a single file or multiple files one after another or maybe just get a menu with a list of all C programs in current directory all these and more with single commands.

Default Menu Default Menu

 

Single File Run a single file

 

Compile Many Compile Multiple files at once

 

**There are many other options and tricks check the help message to learn more.**

It's your choice !

Doesn't matter if you are a beginner on Windows 10 or learning Linux with Ubuntu or just chilling with your Android Smartphone a single script is all you need I don't discriminate your choice of platform.

Example on Android (from Termux)

Note: This version of the script will run on any platform with a python3 interpreter and gcc/clang/MinGw compiler installed

Platforms supported for install
  • Windows 10 (WSL)
  • Windows (MinGW Needed)
  • Linux
    • Debian Systems
    • Coming Soon
  • Mac (Not Tested but shoul work)
  • Android (Termux Only)

No need to copy in every folder

Install Once

Once installed you can run the script from any directory you want. The script has a inbuilt function to copy itself to the local bin of your environment so that you can just "cRun" anywhere you want, it will appear like any other system command

Updates are Easy AF

So you been using the script for some time and you find out there's a new version out now what to do then well just get the latest script however you wish ( Can do a quick git pull, or just use the inbuilt download option and navigate to that folder) and re run the install option it's just one command and it will handle the rest itself.

Update Easy

Every time the install option is run the script check the current directory for version of itself and will prompt the user according to the found version you can even downgrade to a previous version like this if you find some stupid bug in the latest one

Why cRun?

C Beginners are usually on a Windows machine running Dev-C++ or even Turbo C++. Now everyone has their comfort zone but let's be honest it's a clunky interface and experience is mediocre at the best.

There are better IDEs out there but very few come with a interface to facilitate compiling and running the program directly(Some are even paid).

Now some out there already know that on a Linux Environment(WSL for Windows 10 users) using the gcc compiler to compile the file and then executing the object file from the terminal saves a lot more time and is much more efficient. Paired with a good code editor like Visual Studio Code, Atom, Sublime Text Editor, etc one can simply code on the editor and use the terminal to compile and then run the generated object file.

Now while this is the simplest way it still gets messy with how most of the students code on their systems. Usually we students create multiple .c files in the same directory and keep compiling them without providing a separate object file name not to mention the need to type separate commands again and again to compile and run the program.

cRun Makes it easier to interact with all your programs in the current directory or just run a single C Program with one command

Work in progress

Support or Contact

Having trouble with Pages? Check out our documentation or contact support and we’ll help you sort it out.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

crun-py-0.0.5.tar.gz (8.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

crun_py-0.0.5-py3-none-any.whl (12.0 kB view details)

Uploaded Python 3

File details

Details for the file crun-py-0.0.5.tar.gz.

File metadata

  • Download URL: crun-py-0.0.5.tar.gz
  • Upload date:
  • Size: 8.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.6.9

File hashes

Hashes for crun-py-0.0.5.tar.gz
Algorithm Hash digest
SHA256 6015a3d0859fef17e0502dce397ea8bb59c5740cfb3488f0764fb6c5d37cad4e
MD5 20bac666be75932d1553fd1b847fb0e6
BLAKE2b-256 08ab7ca20643e0574aacaca3c1df99d1719082210c39f6934640538816728c5f

See more details on using hashes here.

File details

Details for the file crun_py-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: crun_py-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 12.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.6.9

File hashes

Hashes for crun_py-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 efd75287139519524afb4b32c3c841368160bbeb39a85d290d56775940d88de7
MD5 67ed162ecb40b5b50b9c138a8556f6f9
BLAKE2b-256 28f9c742de1f44028c5e4d1d843cde66cfd3b93d259012b1f105ab621a791f31

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page