Skip to main content

Module embedded

Module embedded 

Source
Expand description

Embedded BIOS-like governance facade.

Experimental / WIP. This module compiles and runs on std/alloc targets today. The fully heap-free no_std (no-alloc) build is not yet functional: the recursive AST needs an arena/index representation before it can be built without a heap. Tracked as future work.

Zero-allocation, stack-only governance for bare-metal and RTOS targets. This is the “governance chip” concept: a tiny deterministic core that mediates all device capability access.

§Target footprint

ComponentEstimated Flash size
Unicode dict table~8 KB
Engine SWITCH logic~4 KB
AST (shallow only)~2 KB
Obligation table~16 KB (256 slots)
Total~30 KB

Compare: a Python interpreter is ~8 MB. This is the 1/1000th figure.

Modules§

hard_rules
Pre-defined access control decisions for common BIOS scenarios. These are static verdicts computed at compile time for zero-runtime-cost hard-coded policies.

Structs§

BiosGovernor
BIOS-level governance engine.