You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Organize the examples directory and add an examples index #656
The top-level examples/ directory currently mixes introductory language samples, larger application demos, platform-specific programs, WebAssembly CI fixtures, and standard-library examples.
Small files such as hello.wave and if.wave sit beside larger or target-specific programs such as doom.wave, tcp.wave, and the WebAssembly examples. examples/std/ already has its own focused layout and README, but the rest of the directory has no equivalent index or category structure.
Scope
Organize the non-std examples into a small set of clear categories such as basics/, language/, applications/, and platform/.
Keep examples/std/ as the standard-library example area rather than folding it into the new categories.
Add examples/README.md with a short description, run/check command, and any target or host requirements for each maintained example.
Update repository documentation, CI workflows, smoke runners, or scripts that reference moved example paths directly.
Preserve the intent and behavior of the existing examples; this issue is a layout/documentation cleanup, not a rewrite of their programs.
Completion criteria
A new contributor can tell which examples are introductory, language-focused, application-oriented, or target-specific from the directory layout and index.
Every moved .wave file is still discovered by tools/check_wave_corpus.py.
WebAssembly and other CI jobs use the new paths successfully.
examples/std/README.md remains valid and examples/std/ keeps its current role.
Repository links to example files are updated so no moved path is left stale.
Activity