(refactor) updated parser and compiler to handle comment whitespace