DocumentCode
2454219
Title
Precedence Grammar and Its Transformation
Author
Wang, Shengjun ; Jin, Longfei ; Jin, Chengzhi
Author_Institution
College of Computer Science & Technology, JiLin University, ChangChun, P.R. China. wsjcc@vip.163.com
Volume
2
fYear
2006
fDate
24-28 April 2006
Firstpage
3480
Lastpage
3485
Abstract
Precedence grammar, a special kind of EBNF with precedence between its operators, is introduced in this paper. Programming languages defined in precedence grammars often look simpler, more compact and readable than those defined in other grammars. Actually, this kind of grammar was used early when IEEE published ATLAS--a large test language in 1995, which lead to a great decrease in language size compared to BNF notation, so sometime precedence grammar may be a good choice for defining large programming languages. For the sake of convenient compiler design from these grammars, two algorithms converting precedence grammars to other forms and their correctness discussions are also given in section 3 and section 4.
Keywords
Algorithm design and analysis; Computer languages; Educational institutions; Production; Reactive power; System testing;
fLanguage
English
Publisher
ieee
Conference_Titel
Information and Communication Technologies, 2006. ICTTA '06. 2nd
Print_ISBN
0-7803-9521-2
Type
conf
DOI
10.1109/ICTTA.2006.1684977
Filename
1684977
Link To Document