Parsing Expression Grammars (Part 1 of N)

Have you ever opened a WISH shell and run a script doing a long calculation with embedded put statements to display intermediate results? Ever scratched your head when you wait for a while then get the last few results output to the display in that scenario?