Implement syntax parsing.