Working parser; silently accepts valid syntax, errors out with bad syntax.