Reference
Tables that the tool generates from the code and the files that define each thing. The guides explain why; these tables say what exists in this build.
Each table is read again at each build of the site, from the source of the thing: no row is typed for the site, so a table cannot say what the code no longer does. Each row links to its line in the source, at the commit of the build, and its text is the comment of that line. A name in a table links to its own row or card: a type to its card, a grant to its row, a module to its page.
| Table | What it holds | Generated from |
|---|---|---|
| Glossary | Each term of the project: its definition, what it is for, and how it works. A term on another page links here. | docs/glossary/README.md |
| Commands of modustool | Each command of the tool of the project, with what it does. | tools/modustool/main.odin |
| Measured numbers | Each number that the machine tests print, with its log and its conditions. | docs/measures/measures.txt |
| Credits and licences | Reused code, reimplemented algorithms, design inspirations, licences and upstream funding links. | docs/CREDITS.md |
| Kernel operations | Each operation that a process asks the kernel, with its number, its parameters and its result; the status of a completion. | src/library/modus/contract/operation/operation.odin |
| The context of a process | The place of each handle and each value in the context that a process receives. | src/library/modus/contract/operation/operation.odin |
| Error kinds and units | Each kind and each unit of the error record, with the meaning of its values. | src/library/modus/contract/errors/errors.odin |
| Grants of the root service | What the root service gives each process at its start, and what it records and can revoke. | src/modules/system/root/start_grant_sets.odin |
| Fixed ranges | Each range of addresses that the system gives a process, with its address. | src/library/modus/contract/fixed_addresses/fixed_addresses.odin |
| Commands of the console | Each built-in command of the console, as help() prints it. | src/modules/system/console/commands.odin |
| Types | Each type of the contract and of the modules, with its size, its alignment and its layout. | tools/modustool/site/site_types.odin |
| Modules | Each module, with a page for each: its documentation, its exports, its imports, and for a module with an entry its grants and its budget. | tools/modustool/foundation/module_table.odin |
| The module graph | Each module as a node, each import as an edge, in layers by depth; the identity card of each module. | tools/modustool/foundation/module_table.odin |
The kinds of values
A value is in the monospace font and in the color of its kind. The icon of a kind is in the head of a column of that kind, before the label of a fact, or before a value whose kind its column does not say.
| Icon | Kind | What it holds |
|---|---|---|
Number | A count, a place, an index or an address. | |
Size | A size in bytes or in pages. | |
Time | A duration, a date or a time. | |
Handle | A handle of a kernel object, held by a process. | |
Value | A plain value of the context of a process: not a handle. | |
Grant | What the root service gives a process, or records and can revoke. | |
Status | A status, an error kind or the state of a property. | |
Type | A type: of the contract, a wire form of the module contract, a record of a module, or a basic type. | |
Operation | An operation that a process asks the kernel. | |
Command | A command of the console or of modustool. | |
Module | A module of the boot image or of the build. | |
File | A file or a folder of the repository. | |
Guide | A document of the site, a guide or the glossary, and the heading that a reference names; a working record is a file of the repository. | |
Term | A term of the glossary: one name for one concept. | |
Version | A version, a release, a commit or a hash. | |
Yes | A state that holds: in the boot image, measured. | |
No | A state that does not hold: not in the boot image, not built. | |
Procedure | A procedure that the sources of the system declare. | |
Constant | A constant that the sources of the system declare. | |
Global variable | A variable that the sources of the system declare at the top of a package. |
