Community Examples
Community examples must be small, current, and connected to repository gates.
Beginner Examples
Start with:
examples/main.0x0: returns42;examples/add.0x0: arithmetic and function call shape;site/learn-0x0/: beginner course examples.
Each beginner example should name expected output and avoid planned behavior.
Library Examples
Library examples belong with the package:
libs/<name>/README.html;libs/<name>/tests/;- registry metadata in
libs/registry.tsv.
Standalone package docs must show one simple usage and the smoke gate for that
library.
Runtime Examples
Runtime examples must say which boundary is used:
- direct runtime;
- host-effect runtime;
- framework runtime;
- app-specific runtime;
- physical-evidence intake.
Do not present app fixtures, fake adapters, or target-specific hardware rows as
generic language behavior.
Contribution Rule
New examples should update learning docs, reference docs, generated API docs,
or package docs when they teach behavior that users will rely on.