Download SIC'95 Report and User Manual
Transcript
20 SIC’95 Report and User Manual The Parser control window Here, one step processes one input token; there are no block steps. The amount and type of information displayed in this window is controlled by the settings of the checkboxes under ‘View settings’: Instead of the two subwindows ‘Stack’ and ‘Tree’ in figure 2.3 above we have three subwindows labeled ‘Stack’, ‘GotoLine’, List of rules’. Using the checkboxes you switch on/off (or alternate between) the following information subwindows (for bottom up parsers): - ‘Stack’ displaying the contents of the parser’s stack; - ‘State’ displaying the current parser state in symbolic form; - ‘GotoLine’ displaying the current parser state in reduced (tabular) form; - ‘List of rules’ displaying the current parser output as leftmost reduction sequence; - ‘Tree’ displaying the current parser output as forest of trees. For top down parsers: - there are no parser states; - ‘List of rules’ displays the current parser output as rightmost reduction sequence;