skip to main content
article
Free Access

AnLex and AnSin: a compiler generator system for beginners

Authors Info & Claims
Published:01 March 1997Publication History
Skip Abstract Section

Abstract

The study of compiler generators is an integral part of compiler construction, and for this reason it is customary to have a programming project entirely devoted to it in compiler courses. There are many compilers generators, but their use in a compiler course presents several problems (e.g. the parsers generated are difficult to understand and to debug). In this paper, we describe such problems and present a compiler generator system, AnLex-AnSin, that solves these problems, and can thus be used in compiler programming projects.

References

  1. 1 A. V. Aho, R. Sethi and J. D. Ullman, Compilers, Techniques, and Tools. Addison-Wesley, 1985. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. 2 E. F. Elsworth, The MSL Compiler Writing Project. SIGCSE Bulletin 24, 2 (June 1992), 41-44. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. 3 E. F. Elsworth, Modula-2 in a Compiler Writing Course. Proceedings of the 1st European Modula-2 Conference, Polytechnic of Wales, Pontypridd, 1990.Google ScholarGoogle Scholar
  4. 4 S. C. Johnson, Yacc- yet another compiler compiler. Computing Science Technical Report 32, ATT Bell Laboratories, Murray Hill, 1975.Google ScholarGoogle Scholar
  5. 5 M. E. Lesk. Lex- a lexical analyzer generator. Computing Science Teetmieal Report 39, ATT Bell Laboratories, Murray Hill, 1975.Google ScholarGoogle Scholar
  6. 6 M. E. Lovato and M. F. Kleyn. Parser Visualizations for Developing Grammars with Yaee. Proceedings of the 25th SIGCSE Technical Symposhtm on Computer Science Education, 1995, pp. 345-349. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. 7 H. Mossenboek. Alex - A Simple and Efficient Scanner Generator. SIGPLANNotices 21, 12 (Dee. 1986), 139-148. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. 8 R. J. Reid. A Toolkit for Individualized Compiler-Writing Projects. Proceedings of the 20th SIGCSE Technical Symposium on Computer Science Education, 1990, pp. 81- 85. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. 9 J. Savit. Uninitialized Modula-2 Abstract Objeets, Revisited. SIGPLANNotices 22, 2 (Feb. 1987), 78-84. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. 10 A. T. Shreiner and H. G. Friedman, Jr., Introduction to Compiler Construction with Unix. Prentice-Hall, 1985. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. 11 D. A. Watt, Programming Language Processors. Prentice-Hall, 1993. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. AnLex and AnSin: a compiler generator system for beginners

        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 29, Issue 1
          March 1997
          388 pages
          ISSN:0097-8418
          DOI:10.1145/268085
          Issue’s Table of Contents
          • cover image ACM Conferences
            SIGCSE '97: Proceedings of the twenty-eighth SIGCSE technical symposium on Computer science education
            March 1997
            410 pages
            ISBN:0897918894
            DOI:10.1145/268084

          Copyright © 1997 ACM

          Publisher

          Association for Computing Machinery

          New York, NY, United States

          Publication History

          • Published: 1 March 1997

          Check for updates

          Qualifiers

          • article

        PDF Format

        View or Download as a PDF file.

        PDF

        eReader

        View online with eReader.

        eReader
        About Cookies On This Site

        We use cookies to ensure that we give you the best experience on our website.

        Learn more

        Got it!