skip to main content
article
Free Access

A new approach to teaching a first course in compiler construction

Authors Info & Claims
Published:01 February 1976Publication History
Skip Abstract Section

Abstract

A new approach to teaching a first course in compiler construction is presented, in which the traditional term project is replaced by several smaller, independent, programming assignments. Each assignment is a compiler for a simple language using a different parsing technique. A means is described to augment the programming assignments, so that a greater variety of experiences is provided students. A short review of the literature is included.

References

  1. 1 Aho, A. V., P. J. Denning, and J D. Ullman, "Weak and mixed strategy precedence parsing," JACM 19 (1972), pp. 225-243. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. 2 Aho, A. V and S. C. Johnson, "LR parsing," Computing Surveys 6 (1974), pp. 99-124. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. 3 Aho, A. V. and J. D. Ullman, The Theory of Parsing, Translation, and Compiling, Vol. 1 (1972) and Vol. 2 (1973), Prentice-Hall, Inc., Englewood Cliffs, NJ. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. 4 Barnard, A. C. L., "Planning and experience with a one-quarter course on compiler writing using Gries' book and structured programming," SIGCSE Bull. 7, No. 2 (June, 1975), pp. 27-29. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. 5 Chanon, R. N., "Compiler construction in an undergraduate course: some difficulties," SIGCSE Bull. 7, No. 2 (June, 1975), pp 30-32. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. 6 Curriculum 68, CACM 11 (1968), pp. 151-197.Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. 7 DeRemer, F. L., "Simple LR(k) grammars," CACM 14 (1971), pp. 453-460. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. 8 Feldman, J. A. and D. Gries, "Translator writing systems," CACM 11 (1968), pp. 77-113. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. 9 Gries, D., Compiler Construction for Digital Computers, John Wiley and Sons, Inc., NY (1971). Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. 10 Griffiths, M., "LL(1) grammars and analyzers," in Compiler Construction an advanced course, edited by F. L Bauer and J. Eickel, Vol. 21 of Lecture Notes in Computer Science, edited by G. Goos and J. Hartmanis, Springer-Verlag, Berlin (1974) Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. 11 Hopgood, F. R. A., Compiling Techniques, American Elsevier, NY (1969).Google ScholarGoogle Scholar
  12. 12 Ichbiah, J. D. and S. P. Morse, "A technique for generating almost optimal Floyd-Evans productions for precedence grammars," CACM 13 (1970), pp. 501-508. Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. 13 Ingerman, P. Z., "Thunks," CACM 4 (1961), pp 55-58. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. 14 Kanner, H., P. Kosinski and C. L. Robinson, "The structure of yet another Algol compiler," CACM 8 (1965), pp. 427-438. Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. 15 Knuth, D., The Art of Computer Programming, Addison-Wesley Publishing Company, Reading, MA (1973), Vol. 3, Sorting and Searching. Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. 16 Morris, R., "Scatter storage techniques," CACM 11 (1968), pp. 35-44. Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. 17 Rosen, S., Programming Systems and Languages, McGraw-Hill, NY (1967). Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. A new approach to teaching a first course in compiler construction

      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 SIGCSE Bulletin
        ACM SIGCSE Bulletin  Volume 8, Issue 1
        Proceedings of the SIGCSE-SIGCUE joint symposium on Computer science education
        February 1976
        399 pages
        ISSN:0097-8418
        DOI:10.1145/952989
        Issue’s Table of Contents
        • cover image ACM Conferences
          SIGCSE '76: Proceedings of the ACM SIGCSE-SIGCUE technical symposium on Computer science and education
          February 1976
          403 pages
          ISBN:9781450374125
          DOI:10.1145/800107

        Copyright © 1976 ACM

        Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

        Publisher

        Association for Computing Machinery

        New York, NY, United States

        Publication History

        • Published: 1 February 1976

        Check for updates

        Qualifiers

        • article

      PDF Format

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader