language · keyword ·

endLoops

Unavailable broad loop escape

boundarieskeywordlanguageyeho

Use the replacement that makes ownership and flow explicit. Revisit dedicated syntax only after it earns a compiler, runtime, and verification contract.

endLoops

Status: unavailable

Return from the containing function

Use the replacement that makes ownership and flow explicit. Revisit dedicated syntax only after it earns a compiler, runtime, and verification contract.

language · type checked

// endLoops is not admitted.
FindFirst(list of int values) -> int
{
    for value in values
    {
        if value > 0 { return value }
    }
    return 0
}
project.mech
manifestVersion = "2"
package = "api.example.word_endloops"
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