Skip to content

Syntax, Types, and Literals

Source boundary: This page summarizes the Edition 1 documentation shipped with nebo-v1.1.0. It is a reading guide, not a fresh execution test or a compatibility guarantee for your compiler.

In the recorded hello program, start() introduces the entry block, braces enclose its body and a semicolon ends the Console expression. This establishes only the syntax used by that program.

The builtin type rules distinguish Boolean values, signed 64-bit integers, binary64 floating-point numbers, Unicode characters, UTF-8 text and byte sequences. Keep these identities separate when reading signatures; do not infer arbitrary implicit conversions.

The literal grammar lists integer, float, character, text, Boolean and mathematical-constant forms. Parsing a literal is only the first step: its type, value range and permitted context still matter. The reference’s examples include both accepted input and rejected writes.

Read the rule for the exact form you intend to use. Do not import raw-string syntax, numeric suffixes or escape rules from another language. Literal families and Unicode behavior require their own evidence; this page does not supply a new executable example for them.

Continue with bindings and control flow.