I'm a big fan of parsers of any sort: sometimes I dream up datafile formats and write parsers for them, just for fun. Yippee!
Anywhoo, this is a nice, lightweight parser, and I'm sure it does what you set out to do (or you wouldn't post it). A little inflexible for my taste, but I tend to prefer a great generality of function in parsers. Still, you've got my upvote.
Cheers!
I've got good news, and I've got bad news: The universe is merely a figment of my imagination. Now are you ready for the bad news?
Anywhoo, this is a nice, lightweight parser, and I'm sure it does what you set out to do (or you wouldn't post it). A little inflexible for my taste, but I tend to prefer a great generality of function in parsers. Still, you've got my upvote.
Cheers!
I've got good news, and I've got bad news:
The universe is merely a figment of my imagination.
Now are you ready for the bad news?