runtime · runtime ·

map

map in a complete program.

computecpugpulanguageyeho

CPU and GPU data processing with explicit ownership and completion.

map

Status: experimental

Lookup table

Use a map for lookup by identity or name when sequential scanning would hide the intent.

cpu · language · type checked

map of text to int power = ["sun" to 100, "moon" to 70]
int sunPower = power["sun"]

if power.Contains("moon")
{
    Console.Log(Text.From(power["moon"]))
}
project.mech
manifestVersion = "2"
package = "api.example.word__map"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"
Notes and source

yeho/docs/runtime/execution-boundaries.md; docs/runtime/metal-compute-v1.md