SLIDE 1
Parser
Larissa von Witte
Institut für Softwaretechnik und Programmiersprachen
- 11. Januar 2016
- L. v. Witte
- 11. Januar 2016
1/23
Parser Larissa von Witte Institut fr Softwaretechnik und - - PowerPoint PPT Presentation
Parser Larissa von Witte Institut fr Softwaretechnik und Programmiersprachen 11. Januar 2016 L. v. Witte 11. Januar 2016 1/23 Contents Introduction Taxonomy Recursive Descent Parser Shift Reduce Parser Parser Generators Parse Tree
1/23
2/23
3/23
4/23
5/23
6/23
7/23
8/23
9/23
10/23
11/23
◮ α represents the already read and partially processed input (on the stack) ◮ au represents the tokens that are not yet analysed
◮ shift: read the next token and switch to the state αa • u ◮ reduce:
12/23
13/23
14/23
15/23
16/23
17/23
18/23
19/23
20/23
21/23
22/23
23/23
24/23