Skip to content

turrnut/CNatural

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy