Skip to main content

Module chunk

Module chunk 

Source
Expand description

Bytecode container (instructions + constant pool). Bytecode container — holds instructions and a constant pool.

A Chunk is the unit of compiled code. Each Nix expression compiles to one top-level chunk; lambdas produce nested chunks stored in the constant pool.

Structs§

Chunk
A compiled bytecode chunk.