Module emit

Module emit 

Source
Expand description

Bytecode emission from compiled queries.

Converts the compiled IR into the binary bytecode format. This module handles:

  • String table construction and interning
  • Type table building with field resolution
  • Cache-aligned instruction layout
  • Section assembly and header generation

Modules§

layout
Cache-aligned instruction layout.

Structs§

RegexTableBuilder
Builds the regex table, compiling patterns to sparse DFAs.
StringTableBuilder
Builds the string table, remapping query Symbols to bytecode StringIds.
TypeTableBuilder
Builds the type metadata, remapping query TypeIds to bytecode BytecodeTypeIds.

Enums§

EmitError
Error during bytecode emission.

Functions§

deserialize_dfa
Deserialize a sparse DFA from bytecode.
emit
Emit bytecode from a LinkedQuery.