language · language ·

Comments, newlines, and semicolons

Line comments begin with //. Newlines normally separate statements, and semicolons are optional.

//cpulanguagestartyeho

Prefer one readable statement per line. Add semicolons only when they make a compact expression easier to scan.

// comment
statement
statement;

Status: stable

Readable statements

Prefer one readable statement per line. Add semicolons only when they make a compact expression easier to scan.

cpu · language · type checked

// Explain why, not what the next token says.
int lives = 3
text hero = "Nova";
Console.Log(hero)
project.mech
manifestVersion = "2"
package = "api.example.language__comments_separators"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"
Notes and source

Blocks use braces.

Whitespace is not an ownership or control-flow signal.

yeho/docs/language/language-core.md §2.5; lexer and parser separator fixtures