Glossary
Terms and definitions
| Term | Meaning |
|---|---|
| bc | A compiled program. sanguis bleed makes one. |
| Bleed / drip | Compile, then run: sanguis bleed and sanguis drip. |
| Blob | Machine code packed into a module for native calls. |
| Fixed point | The compiler rebuilding itself and getting the exact same file back. |
| Floor | The small C program at the bottom of everything. On your computer it handles files, output and memory. In a web page it runs as WebAssembly. Under Sanguix, it's the hardware. |
| Layout | A record type. Sanguis works out its size, and gives each field a cell to read it and one to write it. |
| Module | System cells packed up to be called: how many bytes there are, where each cell starts, and the code in hex. |
| natsys | The part of the compiler that turns system cells into machine code. It's written in Sanguis. |
| natcheck | The checker that reads machine code and says yes or no before it runs. |
| Q16 | Fixed point with sixteen binary places: one unit is 65536. |
| Roles | Jobs a cell can take on: helper, stem, tagger, pruner and immune. You name the job on the cell, and the compiler wires it up. |
| Seed | The compiler that ships in the kit. Its checksum is pinned. |
| System cell | A cell that gives back a u64 or i64. It compiles to x86-64 machine code and runs from a module. |
| Sanguis | The language |
| Circuit | A program: a named body containing cells |
| Organ | A structure with declared fields and cells |
| Strain | A typed variant of an organ |
| Field | Declared state on an organ |
| Cell | A function. Inside an organ, a method |
| Sweep (Sanguis 3) | One pass of the engine. Every switch evaluates against the same snapshot |
| Settle (Sanguis 3) | Run sweeps until nothing changes. That state is the answer |
| Emit / return / output | Give a value back from a cell. It ends the cell |
| Signal | Send a value to the screen |
| Builtin | A function the engine provides. See the Builtins page |
| Wire (Sanguis 3) | What a field lowers to on the grid: writing drives it, reading senses it |
| Gate | A condition that controls whether a branch is taken |
| BloodCode (.bc) | The compiled artifact: organ manifest plus instructions, stored as readable text |
| Compiler (bleed) | Turns Sanguis source into BloodCode, the portable artifact |
| Runtime (ad, Sanguis 3) | Pours BloodCode into the grid and settles it |