{"id":"language--rejected-words","name":"Removed and reserved statement words","owner":"yeho","package":"language","kind":"language","signature":"choice -> enum\nchannel -> tunnel\nexport -> external\nevent / emit / watch -> functions + tasks + tunnels\nassert -> explicit if + error result\nthread -> task\nconst -> ordinary typed field or variable\nendLoops -> structured return, error, or narrow loop control","description":"Several readable ideas are intentionally not source-language features yet. The compiler rejects them with a supported replacement instead of silently inventing behavior.","context":"Use the replacement that makes ownership and flow explicit. Revisit dedicated syntax only after it earns a compiler, runtime, and verification contract.","parameters":[],"returns":"","members":[],"tags":["assert","boundaries","channel","choice","const","cpu","emit","endLoops","event","export","fatal","finally","language","panic","thread","watch","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"parser_core.cpp and parser_statements.cpp rejection diagnostics; language-core.md §13.4"},"status":"unavailable","notes":["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."],"examples":[{"id":"complete","title":"Complete program","description":"A complete supported message handoff. event/emit/watch/channel are unavailable spellings; tunnel is the working alternative.","code":"// Event declarations are unavailable. Use the admitted tunnel contract.\ntunnel of text notices\nnotices.Send(\"player ready\")\ntext message = notices.Receive()\nConsole.Log(message)\n","tags":["cpu","language"],"run":"cpu-oracle","expected":null,"verifyRun":false,"manifest":"manifestVersion = \"2\"\npackage = \"api.example.language__rejected_words\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n","verification":"type checked","sha256":"69cf468487df09f37801c23c44f21cb60105e7dca495790bf78364277cc1dfd3","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":[],"url":"https://demonhunterlabs.com/academy/api?item=language--rejected-words","json":"https://demonhunterlabs.com/reference/items/language--rejected-words.json","markdown":"https://demonhunterlabs.com/reference/text/language--rejected-words.md"}
