language · language ·
Removed and reserved statement words
Several readable ideas are intentionally not source-language features yet. The compiler rejects them with a supported replacement instead of silently inventing behavior.
Use the replacement that makes ownership and flow explicit. Revisit dedicated syntax only after it earns a compiler, runtime, and verification contract.
choice -> enum
channel -> tunnel
export -> external
event / emit / watch -> functions + tasks + tunnels
assert -> explicit if + error result
thread -> task
const -> ordinary typed field or variable
endLoops -> structured return, error, or narrow loop controlStatus: unavailable
Complete program
A complete supported message handoff. event/emit/watch/channel are unavailable spellings; tunnel is the working alternative.
cpu · language · type checked
// Event declarations are unavailable. Use the admitted tunnel contract.
tunnel of text notices
notices.Send("player ready")
text message = notices.Receive()
Console.Log(message)
project.mech
manifestVersion = "2"
package = "api.example.language__rejected_words"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"
[app]
kind = "headless"
Notes and source
panic, assert, fatal, exception subclasses, and finally are not admitted error syntax.
Dedicated event, emit, and watch syntax is deferred in favor of ordinary values, functions, tasks, and tunnels.
yeho/parser_core.cpp and parser_statements.cpp rejection diagnostics; language-core.md §13.4