SLIDE 1
90
Syntactic analysis
Syntactic analyzer
- grammar: context free
- format: BNF
- (implementation:
Syntactic list of tokens analysis Syntactic analyzer grammar: - - PowerPoint PPT Presentation
Syntactic list of tokens analysis Syntactic analyzer grammar: context free format: BNF (implementation: pushdown (stack) automaton ) parse tree (symbol table?) 90 Check that the program respects the syntax Description
90
91
– Parsing is represented by rules – Most commonly using BNF (or EBNF) – Rules do not depend on the context in
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
Fc Tm Tm Tm E E Fc E Tm Fc Fc + num(3) num(12) num(2) * ( )
107
108
109
110
111