language · keyword ·

export

Removed spelling; use external

boundariescpukeywordlanguageyeho

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

export

Status: unavailable

Complete program

Import real packages and expose a helper with external. The export spelling is unavailable.

cpu · language · type checked

using dolphin.math
using dolphin.spatial3d

external DistanceToGoal(Vector3 position) -> float
{
    return DolphinDistance3(position, Vector3(3.0, 4.0, 0.0))
}
Console.Log(Text.From(DistanceToGoal(Vector3(0.0, 0.0, 0.0))))
project.mech
manifestVersion = "2"
package = "api.example.word__export"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "dolphin.math"
version = "0.1.0"
path = "../../../dolphin/packages/math"

[[dependencies]]
package = "dolphin.spatial3d"
version = "0.1.0"
path = "../../../dolphin/packages/spatial3d"
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