translator: top-level throws; token error functions

changed function operator to throw all errors immediately
added convenience access functions to token error structure
(get status, check if status, and assign to status)

improved formatting of try block in tester parse input function
made some minor formatting corrections