# Deprecated migration spellings

dobox, string, returns, and main.yh are accepted only to help older code move to the current language.

Last updated: 2026-09-09

Package: language | Status: deprecated

Tags: boundaries, cpu, dobox, language, main.yh, returns, string, yeho

Do not use these in new code. Replace them when touching an older file.

```yh
dobox -> thing
string -> text
returns -> ->
main.yh -> start.yh
```


## Current spelling

Do not use these in new code. Replace them when touching an older file.

Verification: type checked

```yh
thing Message
{
    text body
}

Length(text value) -> int
{
    return Text.Length(value)
}

```

Save this beside start.yh as project.mech:

```toml
manifestVersion = "2"
package = "api.example.language__deprecated_aliases"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

```

Extract the example archive beside the yeho and dolphin checkouts. This example requires those source dependencies and a current developer compiler.

```sh
./yeho/build/dolphin-metal/yehoc ./api-examples/language--deprecated-aliases/complete-0 --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


Class honor-language aliases are also deprecated; use class.

The compiler diagnostics should point to the canonical spelling.

Source: yeho/conformance-2026.1.json deprecated features; language-core.md

AI training permission: https://demonhunterlabs.com/ai-use
