ACM Home Page
Please provide us with feedback. Feedback
A tale of three LR(1) syntax analyzers
Full text PdfPdf (209 KB)
Source ACM International Conference Proceeding Series; Vol. 285 archive
Proceedings of the 2007 international conference on Computer systems and technologies table of contents
Bulgaria
SESSION: Computer technologies table of contents
Article No. 8  
Year of Publication: 2007
ISBN:978-954-9641-50-9
Authors
Evtim Papushev  The American University in Bulgaria
Stoyan Bonev  The American University in Bulgaria
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 3,   Downloads (12 Months): 14,   Citation Count: 0
Additional Information:

abstract   references   index terms   collaborative colleagues  

Tools and Actions: Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/1330598.1330609
What is a DOI?

ABSTRACT

The chronicle and evolution of authors' experience in building LR(1) syntax analyzers is described in the paper. The theory background includes classic and modified interpretation of LR(1) parsing algorithms, Three versions of implemented parsers are to be discussed: parser with fixed control table, flexible table driven LR(1) parser and parser with built-in control table generator. The first version is classified as the most primitive. The second version is more flexible but it requires configuration file and manual construction of the control table. The third version is categorized the most flexible, powerful and user friendly parser implementation. It is much easier job to specify the grammar rules in a suitable format than to construct manually the control table and specify it within the source text of the parser or as contents of a configuration file.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

 
1
Yankov B., Translators and Operating Systems, Sofia, Tehnika Publ., 1993, (in Bulgarian).
 
2
 
3
 
4
Bonev S., Implementation of LR(1) Parsers, Proc of the 16th Int. Conf. Systems for Automation of Engineering and Research SAER 2002, Varna, Bulgaria, pp 149--153.
5

Collaborative Colleagues:
Evtim Papushev: colleagues
Stoyan Bonev: colleagues