Skip to content

Examples

start() {
"Hello from Nebo!".console();
}

Observed display: Hello from Nebo! in a native Console window. Closing the window exited cleanly.

Authority: the exact local neboc 1.0.1 SDK binary recorded for this site’s historical test. The first-program page gives full source, compiler and local archive digests; compile and run gives the recorded commands.

This is the only executable example independently validated for this website. It is not a test of the public 1.1.0 SDK, and the current public 1.0.1 archive must not be substituted without verifying its identity.

Further reading, with a different authority

Section titled “Further reading, with a different authority”

The published 1.1.0 documentation includes a language tour and recipes for files, data and math. Their expected results are statements in those versioned documents. This site has not re-executed them.

Keep companion files, imports, test inputs, bounds and expected exit statuses when reading a recipe. An isolated fragment does not reproduce its complete test context.