DocumentCode
624556
Title
Exploration of conflict situations in deterministic cancellation parser
Author
Bahrololoomi, Mohamad H. ; Younessi, Omran ; Moghadam, Reza Askari
Author_Institution
Univ. of Payame Noor, Sari, Iran
fYear
2013
fDate
5-8 May 2013
Firstpage
1
Lastpage
4
Abstract
The deterministic cancellation parser with a recursive descent structure - represented by authors - provides the ability of parsing a broader range of grammars, including those with any kind of left recursion, in linear time. Its modular recursive descent structure resembles the structure of original grammars imitating the steps of derivation sequences for accepting input strings. In addition to its straightforward structure that hides complexities, the hybrid nature of this new parser empowers it to work with a larger extent of grammars. Combining top-down and bottom-up cycles to construct the parse tree has some side effects that have to be taken into account and closely investigated by examining various situations at which the proposed parser may encounter problems and conflicts. In this paper, we will investigate such situations that result in conflicts and try to categorize them. The power of deterministic parsers is always restricted to those grammars that will not result in ambiguous situations at which parsers cannot make a deterministic decision to continue the process of parsing. These situations are often categorized as conflict situations and exploration of them is necessary to determine the acceptance power of the parsers.
Keywords
grammars; program control structures; tree data structures; bottom up cycle; conflict situation exploration; derivation sequence; deterministic cancellation parser; grammar; left recursion; linear time; modular recursive descent structure; parse tree; top-down cycle; Computer science; Computers; Educational institutions; Grammar; Inspection; Prediction algorithms; Runtime; conflict; deterministic cancellation parser; other-follow set; parse tree; runtime call structure; self-follow set;
fLanguage
English
Publisher
ieee
Conference_Titel
Electrical and Computer Engineering (CCECE), 2013 26th Annual IEEE Canadian Conference on
Conference_Location
Regina, SK
ISSN
0840-7789
Print_ISBN
978-1-4799-0031-2
Electronic_ISBN
0840-7789
Type
conf
DOI
10.1109/CCECE.2013.6567853
Filename
6567853
Link To Document