ByteAutomata for implementing a hard-coded finite-state machine | Hacker News Reader