module scheme struct SyntaxPatternConstants { nodes map[u64]int } struct PlainSyntaxMatch {} struct SharedSyntaxMatch {} // Only completed, capture-free compound matches enter this invocation-local // table. Repetition lengths and captured values retain their original writes. struct SyntaxMatchMemo { mut: completed map[u64]bool } @[inline] fn syntax_match_key(pattern i32, input i32) u64 { return (u64(u32(pattern)) << 32) | u64(u32(input)) }