ACM Home Page
Please provide us with feedback. Feedback
Right nulled GLR parsers
Full text PdfPdf (734 KB)
Source ACM Transactions on Programming Languages and Systems (TOPLAS) archive
Volume 28 ,  Issue 4  (July 2006) table of contents
Pages: 577 - 618  
Year of Publication: 2006
ISSN:0164-0925
Authors
Elizabeth Scott  Royal Holloway, University of London, United Kingdom
Adrian Johnstone  Royal Holloway, University of London, United Kingdom
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 13,   Downloads (12 Months): 93,   Citation Count: 4
Additional Information:

abstract   references   cited by   index terms   collaborative colleagues  

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

ABSTRACT

The right nulled generalized LR parsing algorithm is a new generalization of LR parsing which provides an elegant correction to, and extension of, Tomita's GLR methods whereby we extend the notion of a reduction in a shift-reduce parser to include right nulled items. The result is a parsing technique which runs in linear time on LR(1) grammars and whose performance degrades gracefully to a polynomial bound in the presence of nonLR(1) rules. Compared to other GLR-based techniques, our algorithm is simpler and faster.


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
 
2
 
3
 
4
 
5
 
6
 
7
 
8
DeRemer, F. L. 1969. Practical translators for LR(k) languages. Ph.D. thesis, Massachussetts Institute of Technology.
9
 
10
Dodd, C. and Maslov, V. 1995. http://compilers.iecc.com/comparch/article/95-03-044.
11
 
12
Eggert, P. 2003. http://compilers.iecc.com/comparch/article/03-01-005.
 
13
Graham, S. L. and Harrison, M. A. 1976. Parsing of general context-free languages. Adv. Comput. 14, 77--185.
 
14
 
15
Hanson, D. R. and Proebsting, T. A. 2003. A research C# compiler. Tech. Rep. MSR-TR-2003-32, Microsoft Research, Redmond, WA.
 
16
Hays, D. 1967. Introductions to Computational Linguistics. Elsevier, New York.
17
 
18
 
19
 
20
Johnstone, A. and Scott, E. 2003. Generalized regular parsers. In Proceedings of the Compiler Construction, 12th International Conference, CC'03, G. Hedin, ed. LNCS, vol. 2622. Springer Berlin, 232--246.
 
21
Johnstone, A., Scott, E., and Economopoulos, G. 2004a. Generalized parsing: Some costs. In Proceedings of the Compiler Construction, 13th International Conference, CC'04, E. Duesterwald, ed. LNCS, vol. 2985. Springer Berlin, 89--103.
 
22
Johnstone, A., Scott, E., and Economopoulos, G. 2004b. The grammar tool box: A case study comparing GLR parsing algorithms. In Proceedings of the 4th Workshop on Language Descriptions, Tools and Applications LDTA2004, G. Hedin and E. V. Wick, eds. Also in Electronic Notes in Theoretical Computer Science. Elsevier, New York.
 
23
Kasami, T. 1965. An efficient recognition and syntax analysis algorithm for context-free languages. Tech. Rep. AFCRL-65-758, Air Force Cambridge Research Laboratory, Bedford, Mass.
 
24
Knuth, D. E. 1965. On the translation of languages from left to right. Inf. Control 8, 6, 607--639.
 
25
26
 
27
McPeak, S. and Necula, G. 2004. Elkhound: A fast, practical GLR parser generator. In Proceedings of the Compiler Construction, 13th Internationl. Conference CC'04, E. Duesterwald, ed. LNCS. Springer, Berlin.
 
28
 
29
Nederhof, M.-J. and Sarbo, J. J. 1996. Increasing the applicability of LR parsing. In Recent Advances in Parsing Technology, H.Bunt and M. Tomita, eds. Kluwer Academic, Amsterdam, the Netherlands, 35--57.
 
30
 
31
Nederhof, M.-J. and Satta, G. 2004. Tabular parsing. In Formal Languages and Applications, Studies in Fuzziness and Soft Computing 148, G. C.Martin-Vide, V.Mitrana, eds. Springer, New York, 529--549.
 
32
Nozohoor-Farshi, R. 1991. GLR parsing for ε-grammars. In Generalized LR Parsing, M. Tomita, ed. Kluwer Academic, Amsterdam, the Netherlands, 60--75.
 
33
Parr, T. J. 1996. Language Translation Using PCCTS and C++. Automata Publishing.
 
34
Rekers, J. G. 1992. Parser generation for interactive environments. Ph.D. thesis, Universty of Amsterdam.
 
35
Sakai, I. 1962. Syntax in universal translation. In Proceedings of the 1961 International Conference on Machine Translation of Languages and Applied Language Analysis. 593--608.
 
36
 
37
Scott, E., Johnstone, A., and Hussain, S. S. 2000. Tomita-Style generalized LR parsers. Updated version. Tech. Rep. TR-00-12, Royal Holloway, University of London Dec.
 
38
Sheil, B. 1976. Observations on context-free parsing. In Statistical Methods in Linguistics. 71--109.
 
39
 
40
41
 
42
Valiant, L. 1975. General context-free recognition in less than cubic time. J. Comput. Syst. Sci. 10, 308--315.
43
 
44
Visser, E. 1997. Syntax definition for langauge prototyping. Ph.D. thesis, Universty of Amsterdam.
 
45
Visser, E. 2004. Program transformation with Stratego/XT: Rules, strategies, tools, and systems in StrategoXT-0.9. In Domain-Specific Program Generation, C. et al, ed. LNCS, vol. 3016. Springer, Berlin, 216--238.
 
46
Younger, D. H. 1967. Recognition of context-free languages in time n3. Inform. Control 10, 2 (Feb.), 189--208.


Collaborative Colleagues:
Elizabeth Scott: colleagues
Adrian Johnstone: colleagues