# null

Nullable absence literal

Last updated: 2026-09-09

Package: language | Status: generated-cpp-only

Tags: complete-program, cpu, keyword, values, yeho

Use only when deliberately running the comparison oracle. In Kyber-ready code, model absence explicitly with a bool, enum, or sentinel thing.

```yh
null
```


## Object reference abi

Use only when deliberately running the comparison oracle. In Kyber-ready code, model absence explicitly with a bool, enum, or sentinel thing.

Verification: type checked

```yh
class counter
{
    int value

    counter(int initial)
    {
        this.value = initial
    }

    Increase(int amount)
    {
        this.value = this.value + amount
    }

    Value() returns int
    {
        return this.value
    }
}

Identity(counter value) returns counter
{
    return value
}

counter first = counter(7)
counter alias = Identity(first)
alias.Increase(5)

counter? optional = Identity(alias)
if optional != null and first.Value() == 12 and alias.Value() == 12
{
    Console.Log("object-reference-abi-ok")
}

```

Save this beside start.yh as project.mech:

```toml
package = "tests.compiler.kyber.objectReferenceAbi"
version = "0.1.0"
backend = "kyber"
osTarget = "windows"
archTarget = "x64"
selfContainedApp = false

```

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/word--null/complete --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


Nullable reference flow is classified generated-C++ only in the 2026.1 conformance manifest.

Do not present parser acceptance as native product support.

Source: yeho/docs/language/conformance-2026.1.json: nullable-reference-flow

AI training permission: https://demonhunterlabs.com/ai-use
