skip to main content
article
Open Access

Efficient Computation of LALR(1) Look-Ahead Sets

Authors Info & Claims
Published:01 October 1982Publication History
First page image

References

  1. 1 AHo, A.V., ANO JOHNSON, S.C. LR Parsing. Comput. Surv. 6, 2 (June 1974), 99-124. Google ScholarGoogle Scholar
  2. 2 AHO, A.V., HOPCROFT, J.E., AND ULLMAN, J.D. The Design and Analysis of Computer Algorithms. Addison-Wesley, Reading, Mass., 1976. Google ScholarGoogle Scholar
  3. 3 AHo, A.V., ANO ULLMAN, J.D. Principles of Compiler Design. Addison-Wesley, Reading, Mass., 1977. Google ScholarGoogle Scholar
  4. 4 AHO, A.V., AND ULLMAN, J.D. The Theory of Parsing, Translation, and Compiling, vols. 1 and 2. Prentice-Hall, Englewood Cliffs, N.J., 1972. Google ScholarGoogle Scholar
  5. 5 ALPERN, B., CHANEY, M., FAY, M., PENNELLO, T., ANO RAOIN, R. Translator writing system for the Burroughs B5700. Computer and Information Sciences, Univ. California, Santa Cruz, Calif., 1976.Google ScholarGoogle Scholar
  6. 6 ANDERSON, T., Ev~, J., AND HORNINC, J. Efficient LR(1) parsers. Acta Inf. 2 (1973), 12-39.Google ScholarGoogle Scholar
  7. 7 BARRETT, W., AND COUCH, g. Compiler Construction: Theory and Practice. Science Research Associates, Chicago, II1., 1979. Google ScholarGoogle Scholar
  8. 8 BARRETT, W., MEYERS, R., AND ROBERTS, D.D. Systems programming language/300. General Systems Div., Hewlett-Packard Co., Cupertino, Calif., 1979.Google ScholarGoogle Scholar
  9. 9 DEREMER, F.L. Practical translators for LR(k) languages. Ph.D. dissertation, Dep. Electrical Engineering, Massachusetts Institute of Technology, Cambridge, 1969.Google ScholarGoogle Scholar
  10. 10 DEREMER, F.L. Simple LR(k) grammars. Commun. ACM 14, 7 (July 1971), 453-460. Google ScholarGoogle Scholar
  11. 11 DEREM~R, F. XPL distribution tape containing NQLALR translator writing system. Computer and Information Sciences, Univ. California, Santa Cruz, 1972.Google ScholarGoogle Scholar
  12. 12 DEREMER, F., AND PENNELLO, T.J. The MetaWareTM TWS User's Manual. MetaWare, 412 Liberty St., Santa Cruz, Calif., 1981.Google ScholarGoogle Scholar
  13. 13 DEREMER, F., PENNELLO, T.J., AND MEYERS, R. A syntax diagram for (preliminary) Ada. SIGPLAN Notices (ACM) 15, 7, 8 (July-Aug. 1980), 36-47. Google ScholarGoogle Scholar
  14. 14 EVE, J., AND KURKi-SuoNiO, R. On computing the transitive closure of a relation. Acta Inf. 8 (1977), 303-314.Google ScholarGoogle Scholar
  15. 15 JENSEN, K., ANO WIRTH, N. Pascal User Manual and Report, 2nd ed. Springer-Verlag, New York, 1974. Google ScholarGoogle Scholar
  16. 16 JOHNSON, S.C. YACC--Yet another compiler compiler. Tech. Rep. CSTR 32, Bell Labs., Murray Hill, N.J., 1974.Google ScholarGoogle Scholar
  17. 17 KNUTH, D.E. On the translation of languages from left to right. Inf. Control 8 (1965), 607-639.Google ScholarGoogle Scholar
  18. 18 KR~STENSEN, B.B., AND MADSEN, O.L. Diagnostics on LALR(k) conflicts based on a method for LR(k) testing. BIT, to appear.Google ScholarGoogle Scholar
  19. 19 KRISTENSEN, B.B., ANO MADSEN, O.L. Methods for computing LALR(k) lookahead. ACM Trans. Program. Lang. Syst. 3, I (Jan. 1981), 60-82. Google ScholarGoogle Scholar
  20. 20 LALONOE, W.R., LEE, E.S., ANO HORNING, J.j. An LALR(k) parser generator. In Proc. IFIP Congress 71. Elsevier Science, New York, pp. 151-153.Google ScholarGoogle Scholar
  21. 21 MCKEEMAN, W.M., HORNING, J.J., AND WORTMAN, D.B. A Compiler Generator. Prentice-Hall, Englewood Cliffs, N.J., 1970.Google ScholarGoogle Scholar
  22. 22 PAGER, D. The lane-tracing algorithm for constructing LR(k) parsers and ways of enhancing its efficiency. Inf. Sci. 12 (1977), 19-42.Google ScholarGoogle Scholar
  23. 23 WATT, D.A. Personal communication, 1974.Google ScholarGoogle Scholar
  24. 24 WATT, D.A. Personal communication (class notes), 1976.Google ScholarGoogle Scholar
  25. 25 WETHERELL, C. A correction to DeRemer's SLR(1) parser constructor algorithm. Unpublished manuscript. Lawrence Livermore Labs., Livermore, Calif., 1977.Google ScholarGoogle Scholar

Index Terms

  1. Efficient Computation of LALR(1) Look-Ahead Sets

            Recommendations

            Comments

            Login options

            Check if you have access through your login credentials or your institution to get full access on this article.

            Sign in

            Full Access

            • Published in

              cover image ACM Transactions on Programming Languages and Systems
              ACM Transactions on Programming Languages and Systems  Volume 4, Issue 4
              Oct. 1982
              236 pages
              ISSN:0164-0925
              EISSN:1558-4593
              DOI:10.1145/69622
              Issue’s Table of Contents

              Copyright © 1982 ACM

              Publisher

              Association for Computing Machinery

              New York, NY, United States

              Publication History

              • Published: 1 October 1982
              Published in toplas Volume 4, Issue 4

              Permissions

              Request permissions about this article.

              Request Permissions

              Check for updates

              Qualifiers

              • article

            PDF Format

            View or Download as a PDF file.

            PDF

            eReader

            View online with eReader.

            eReader