Implemented syntax analysis