Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; GeSHi has a deprecated constructor in /srv/http/www.cosmoslang.org/wiki/cookbook/geshi/geshi.php on line 259
Hello | Cosmos Programming Language

Hello

// Hello Demo for Cosmos Programming Language.
module Hello;

import core.stdio;

void main()
{
        stdout.write("Hello Chaos");
}

That was easy, almost looks exactly like C/C++.

Why did you make just another C/C++ clone? Don't we have enough of those already!?

Printing a simple string of text to your console is exceptionally easy in C/C++ and really, just about all other practical languages. There's no reason to change things that work exceptionally well.

Page last modified on December 30, 2015