Heya, Just a detail adding to what Nigel already said: What you might be looking for is a prefix parse - one that parses only the valid prefix of the input and that leaves the rest untouched. This would allow you to consume one line at a time, transforming and processing, and then just call the parser again.
Look for :prefix option on #parse and for various options around constructing your own Parslet::Source. > AND THANKS FOR PARSLET All messages here should end like this ;) regards, kaspar PS: I recently snuck 1.6 onto Rubygems. Didn't tell you guys about it, but that's probably because I feel this is a small release with minor changes.
