How to enumerate trees from a context-free grammar | Hacker News Reader