Function stark::sail::core::sym_tab_create [−][src]
fn sym_tab_create(reg: *mut Region, size: u32) -> *mut SlHead
Expand description
Creates a symbol table, which maps symbol strings to symbol IDs and vice versa
This should take the form of a bimap, a 1 to 1 association between strings and IDs. Two maps, one for each direction, pointing to the same set of cons cells (id . string). Must keep track of id to assign (counter) and reclaim unused slots if counter reaches max.