kschiess / parslet

A small PEG based parser library. See the Hacking page in the Wiki as well.
kschiess.github.com/parslet
MIT License
805 stars 95 forks source link

refactored getting input in email parser example #79

Closed roryokane closed 11 years ago

roryokane commented 11 years ago

Someone wondering how to use the parser can read the last line with less confusion, since the input-reading has been grouped into a single, separate section. Also, the default input is specified DRYly.

kschiess commented 11 years ago

Thanks!