It is simple question I need Requirements for building a syn
It is simple question.
I need \'Requirements for building a syntax analyser tool\'
please answer this for me.
Thanks
Solution
Requirements for Syntax analyzer:
Syntax analyzer checks the syntax with the help of symbol table.Symbol table is generated by Lexical Analyzer(.l file).
Before syntax analyzer,lexical analysis and semantic analysis takes place.
We need
1)Flex which is lexical analyzer which divides input into tokens
2).l file which is input to flex
3)Yacc which is parser
4).y file input file to yacc
5)Parsing algorithm
6)Language to used for making syntax analyzer c++,java,python
7)Input program to syntax analyzer
