Converting boolean-logic decision trees to finite state machines | Hacker News Reader