Narya Check File
narya_check_fileTypecheck a .ny file with a fresh Narya run for the authoritative final verdict; reloads every import, so use it for final checks, not iterative edits.
Instructions
Typecheck a .ny file with a fresh Narya run (the authoritative check; slow: every import is loaded again).
Use it for the final verdict. While iterating on a file, keep a session instead: narya_start once, then edit the file and call narya_sync, which rechecks only the commands that changed. Returns ok (Narya accepted the file), clean (ok, with no assumed axioms and no open holes), errors with file/line/column, warnings, axioms assumed, holes, timing. Narya stops at the first error in a file. source_only=True ignores compiled .nyo files and rechecks every import from source (slow; for final checks). If loading compiled imports triggers a Narya anomaly, the file is rechecked from source automatically.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | ||
| timeout | No | ||
| source_only | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||