in reply to A parser for a limited grammar

It's probably too late now, but for the record I'd like to note that instead of using closures I'd prefer to build a "real" hash (or array) based abstract syntax tree (AST).

The reasons are:

There are a few points in favor of closures, though: reading HOP, and perhaps speed (but I haven't seen benchmarks so far)