add rudimentary error reports
add file name info to parse_state
add operator references
comment
add file parser (untested)