Reference

std/project

The vocabulary of project.trb: Project, Dependencies, Program, Profile, Test, Tasks, Workspace, Registry and Source. A project file is a receiver script against Project, so everything a project can say about itself is a var field or a method of the types here - and nothing else is needed to write one, because a setting is written name = "acme/shop" and a section tasks { ... }.

The types are ordinary data, not native: a project file is deterministic and has no IO, so evaluating it is nothing but running these members. This is what makes a project.trb type check against a real sandbox, with the same vocabulary the toolchain's own static reading of the file understands.

Modules

Everything