Collected sources and patterns will appear here. Add from search, explore, or the patterns library.
StackBytecode -> RegisterBytecode
Translate stack-oriented bytecode instructions into a flat, register-based internal representation in a single linear pass.
Problem it solves
Multi-pass compilation or complex JIT translation passes can be exploited via translation-bomb inputs that exhaust CPU or memory during compilation.
Consumes
Emits
The real projects this mechanism was found in. Attribution is the point — this is how the best teams actually do it.