Parsing is reasonable.

Need to create constants etc. for token types but the hack I have works for now.