Expand description
Built-in function registry for the VM. Built-in function registry for the bytecode VM.
Implements Nix builtins natively in the VM value system. These are
the core builtins needed for nixpkgs evaluation. Each builtin is
registered by name and index, and can be called via the CallBuiltin
opcode or through the builtins attrset.
Curried builtins (e.g., map f list) return a VMBuiltin partial
application on the first call, then complete on the second.
Structs§
- Builtin
Registry - Registry of builtin functions accessible from the VM.
Functions§
- string_
keyed_ to_ vmvalue - Convert a
StringKeyedValueback to aVMValue.