pub fn generate(spec: &[SpecNode], root: usize) -> Generated
Generates the kernel for spec, rooted at node root.
spec
root