Skip to content

C♮ is a modern systems programming language based on C

License

Notifications You must be signed in to change notification settings

turrnut/CNatural

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

99 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The C♮ Programming Language

The C♮(Pronounced: C Natural) programming language is a modern C-like language with a minimal compiler and a C inspired syntax. C♮ compiles to native machine code, but it needs the help of a C compiler to do that.
Build
Clone this repository, and compile cnc.c into an executable called cnc, using a C compiler of your choice.
Hello World
Create a file called hello.cn and write:

void main() {
	printf("Hello World!\n");
}

To compile this file, run:

cnc gcc hello.cn

If everything is done correctly, you should see an executable in the same directory.
You can use another C compiler other than gcc if you want (such as clang)

About

C♮ is a modern systems programming language based on C

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages