Packages come from git (a registry can be added later; a bare version in
rex.toml is reserved for it). rex.toml [deps] names them, rex.lock pins exact
commits, and run/build/check/test download what is missing. `import json`
reads the package's json.rex; package files get `@json...` module keys so they
never mix with the project's own files. Newest tag of the same major version
wins when packages disagree. The language server reads downloaded packages.
Docs: docs/14-packages.md.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Files use .rex, the command is rex, and the crate, runtime prefixes,
docs, editor files and examples all use the new name.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
import "zlib.h" reads the header (cc -E + a small C declaration
parser), links via pkg-config or link "name", and builds .c/.cpp
files next to the program. C structs become Dino structs, pointers
become pointer types (nil = NULL), T* parameters take variables or
lists. Adds dino header, editor completion/hover for C names,
docs chapter 13, a raylib example, and tests.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>