Fixes misspelled functions in assert (lowercase -> titlecase)
Adds logic to dump current token to string when reading symbolic character
Rewrites and removes some duplicated code from parse()
Small formatting edit