Enhancing the LR parsing strategy using incremental GPLR parsing method

Other Title(s)

تحسين ستراتيجية الإعراب LR باستخدام طريقة الإعراب
nhancing the LR parsing strategy using incremental General Purpose InputOutput parsing method

Joint Authors

Hani, Muayyad Abd
Hashim, Methaq Ibrahim

Source

Journal of Thi-Qar Science

Issue

Vol. 1, Issue 4 (31 May. 2009)23 p.

Publisher

University of Thi-Qar College of Science

Publication Date

2009-05-31

Country of Publication

Iraq

No. of Pages

23

Main Subjects

Information Technology and Computer Science

Abstract AR

إن المعربات في بيئات التطوير المتكاملة للغات البرمجة في أغلبها هي معربات اعتيادية تعمل بالطريقة التكرارية.

و بينما لهذه المعربات العديد من المساوئ إذا ما قورنت بالمعربات التطليعية المولدة بالآله (LALR) إلا أنها تمتلك الأفضلية عليها لأنها تمتلك ميزتين مهمتين رئيسيتين هما : 1- إن هذه المعربات لا تتقيد بأي عدد محددمن رموز التطلع.

2- إنه لا تعيد إعراب الملف بأكمله إنما تعيد إعراب جزء منه إذا تطلب العمل ذلك، من الناحية النظرية فإنه بالإمكان تحقيق هاتين الميزيتين باستخدام المعربات (LR) التقليدية و تقنياتها، إلا أن المعربات التقليدية تعاني من مشكلتين رئيسيتين هما 1- مشكلة (shift-reduce conflict) 2- (reduce-reduce conflict).

في هذا البحث، حاولنا حل هاتين المشكلتين مع الحفاظ على الخصائص الجيدة لمعربات (LR) التقليدية و تقنياتها و قد تم ذلك باستخدام تقنية (GPLR) بدلا من تقنيات (LR) التقليدية.

Abstract EN

Parsers in modern integrated development environments (IDEs) for general-purpose languages are virtually all of ad hoc, recursive descent variety.

While such parsers have many disadvantages when compared with machine-generated LALR (1) parsers but they have two major good qualities : they are not restricted to any finite of look ahead, and in IDE, they can re-parse parts of a file as they change rather than re-parsing the entire file.

Theoretically, both of these two capabilities can be achieved through variations of the traditional LR parsing techniques, but the traditional LR parsing methods still suffer two irresolvable problems; which are shift-reduce and reduce-reduce conflicts.

In this research, we are trying to solve these two drawbacks with preserving the capabilities of the traditional LR parsing techniques.

This has been achieved by employing the generalized piecewise LR parsing (GPLR) technique instead of the traditional LR techniques.

American Psychological Association (APA)

Hani, Muayyad Abd& Hashim, Methaq Ibrahim. 2009. Enhancing the LR parsing strategy using incremental GPLR parsing method. Journal of Thi-Qar Science،Vol. 1, no. 4.
https://search.emarefa.net/detail/BIM-259444

Modern Language Association (MLA)

Hani, Muayyad Abd& Hashim, Methaq Ibrahim. Enhancing the LR parsing strategy using incremental GPLR parsing method. Journal of Thi-Qar Science Vol. 1, no. 4 (May. 2009).
https://search.emarefa.net/detail/BIM-259444

American Medical Association (AMA)

Hani, Muayyad Abd& Hashim, Methaq Ibrahim. Enhancing the LR parsing strategy using incremental GPLR parsing method. Journal of Thi-Qar Science. 2009. Vol. 1, no. 4.
https://search.emarefa.net/detail/BIM-259444

Data Type

Journal Articles

Language

English

Notes

Includes bibliographical references.

Record ID

BIM-259444