Hello World
Top-Level Code
Unlike C or Java, Cera doesn’t require a main() function. Code at the top level of a .ce file runs directly:
Console.WriteLine("Hello, world!");This makes Cera great for scripting — but you can still organize code into functions and types when your program grows.
Printing Output
Console is a built-in module for terminal I/O:
Console.WriteLine("Hello!"); // prints with newlineConsole.Write("No newline"); // prints without newlineConsole.WriteLine(42); // prints numbers tooConsole.WriteLine(3.14); // and floatsComments
// Single-line comment
/* Multi-line comment */Multiple Statements
Cera uses C-style semicolons to separate statements:
int x = 10;int y = 20;Console.WriteLine(x + y); // 30Next Steps
Now that you’ve seen the basics, let’s learn about variables and types.