added integer boundary checking and added a new SyntaxError c'tor. updated TODO.