Compile-time state machines in C++ | Hacker News Reader