# Check and inspect compiler truth

Compiler flags expose the parsed program, semantic model, project resolution, target check, truth report, and native bridge.

Last updated: 2026-09-09

Package: language | Status: stable

Tags: --check, --check-target, --dump-ast, --dump-native-bridge, --dump-project, --dump-sema, --dump-truth, language, shell, tooling, tools, yeho

Inspect the earliest layer that disagrees with your intent instead of debugging only the final executable.

```yh
yehoc <project> --check
yehoc <project> --dump-ast
yehoc <project> --dump-sema
```


## Inspect a source project

Run these current compiler commands from the shared workspace. Replace demo with your project folder.

Verification: command reference

```sh
./yeho/build/dolphin-metal/yehoc ./demo --check --backend cpu-oracle
./yeho/build/dolphin-metal/yehoc ./demo --dump-project-json
./yeho/build/dolphin-metal/yehoc ./demo --dump-source-graph
./yeho/build/dolphin-metal/yehoc ./demo --dump-api-reference
./yeho/build/dolphin-metal/yehoc ./demo --dump-truth

```


Check validates without generating a binary.

Inspection output is a diagnostic contract and can evolve with the candidate edition.

Source: yeho/docs/language/language-core.md §2.10 and §11

AI training permission: https://demonhunterlabs.com/ai-use
