refactored getting input in email parser example
refactored getting input in email parser example

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.

hggh/parslet,kschiess/parslet,NigelThorne/parslet,kwangkim/parslet,kwangkim/parslet,kwangkim/parslet,eeeyes/parslet,eeeyes/parslet,NigelThorne/parslet,hggh/parslet,hggh/parslet,eeeyes/parslet,kschiess/parslet,NigelThorne/parslet,kschiess/parslet