Skip to content

Rayan25062011/C-

Repository files navigation

C-

The C- programming language


GitHub GitHub repo size Website

C-

The C- programming language version 0.3.5

Why

C- is a language heavily inspired by C++, python, and java, but simpler.

Why should you use it

Tired of C? Use C-!

Get Started

git clone https://github.com/Rayan25062011/C-

chmod +x src

cd src

python3 interpreter.py -r example.cm

Or simply available with cmp

Repography logo / Top contributors

Top contributors

examples
from native use sys;

class Main
{
    function main()
    {
        #static c;
        
        c = 6;
        a = 2;

        if (c + a == 8)
        {
            println("c + a equals 8");
        }
        b = 2;
        if (a + b == 4)
        {
            println("a + b equals 4");
            #free a;
            #free b;
            #free c;
            
            #quit;
        }
    }
}
Game setup example
class Main
{
    #setspace game;
    function mygame()
    {
        // Code here
    }
    function main()
    {
        this.mygame();
    }
}

!!!NOTICE!!!

EVERY C- file needs to implement a CLASS "Main" to wrap up the code.

Goals
  1. Make a package manager

  2. Make it famous

  3. Make Github add this programming language

FAQ

C- was first released on the 28th January 2023 and since then, we kept updating for user's to enjoy and use the language very easily, we keep track of the repository 4 times a day to make a sure you are a having an appreciatable time while coding with our language. C- has the soul purpose to help you with automation, software, server creation and all kinds of cyber-security.

About

The official C- programming language

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published