Improving state machine code generation | Hacker News Reader