Rename variable.
Remove invert operator.
Add optional "pos" parameter to parse function.
Rename ParseFailure singleton. Add exception class.