Syntax Analyzer, the heart of a Compiler. It is also known as a parser. It take tokens from the lexical analyzer as input and generate a parse tree for the input string. Also it output syntax error in a program.
Most of the error in a program and much information about any identifiers are identified in syntax analysis phase.
Context free grammars are used by the analyzer for its working.
Any ambiguous grammar can't be parsed by a syntax analyzer.
Please comment your suggestions & required topics.
Mail us to : [email protected]
Follow us in : https://www.facebook.com//LearnCseMalayalam