[go: up one dir, main page]
More Web Proxy on the site http://driver.im/ skip to main content
article
Free access

A project-based course in compiler construction

Published: 01 February 1986 Publication History

Abstract

The paper describes the experience gained by teaching a project-based course in Compiler Construction. The course is a blend of theoretical concepts and practical considerations that go into the development of a compiler. A project in compiler writing is an important component of this course. ASP, a subset of standard PASCAL, is used as the source language. The compiler for ASP is to be developed in various phases: character manipulator, lexical analyzer, syntax analyzer, semantic analyzer, and code generator. Recursive descent method is used to parse the various syntactic entities. The code generator emits code for a hypothetical machine called AOC (ALGOL Object Code). A simulator executes this code.

References

[1]
ACM Curriculum Committee on Computer Science, "Curriculum '78 Recommendations for the Undergraduate Program in Computer Science." Comm. ACM 22, 3 (March 1979), pp. 147-166.
[2]
ACM Curriculum Committee on Information Systems. Information Systems Curriculum Recommendations for the 80's" Undergraduate and Graduate Programs. Comm. ACM 25, II (Nov. 1982) pp. 781- 805.
[3]
Aho, Alfred V. and Jeffery D. Ullman, "Principles of Compiler Design." Addison Wesley, (1977).
[4]
Barre", William A. and John D. Couch, :'Compi let Construction" Theory and Practice," Science Research Associ - ates, Inc.,(1979).
[5]
Bauer, F. L. and J. Eickel (Eds,), "Compiler Construction - An Advanced Course," (Lecture Notes in Computer Science 21), Springer-Verlag, (1976).
[6]
Beidler, John, Richard H. Austing, and LiIlian N. Cassel, "Computing Programs in Small Colleges" - Summary Report of the ACM Small College Task Force. Comm. ACM 28, 6 (june, 1985) pp. 605-611.
[7]
Burke, M. and G. I. Fisher, "A F'racticaI Method for Syntactic Error Diagnosis and Recovery," Proceedings SIGPLAN '82 Symposium on Compiler Construction (June, 1982) pp. 67-78.
[8]
Gries, D., "Compiler Construction for Digital Computers," John Wiley and Sons, Inc., (1971).
[9]
IEEE Computer Society, "The 1983 IEEE Computer Society Model Program in Computer Science & Engineering, (January, 1984).
[10]
Johnson~ C. W. and C. Runciman, "Semantic Errors - Diagnosis and Repair," Proceedings, SIGPLAN '82 Symposium on Compiler Construction, (June, 1982), pp. 88-97.
[11]
Meyer, R. Mark and Roy F. Keller, "SLR Tools for Teaching Compiler Construction," SIGCSE Bulletin, 17, l (March, 1985), pp. 120-129.
[12]
Peterson, Charles G., "The Evolution of a Project-Oriented Compiler Writing Course," SIGCSE Bulletin, 17, l (March, 1985), pp. 116-I19.
[13]
Randell, B. and L. J. Russell, "ALGOL 60 Implementation," Academic Press, New York, (1964).
[14]
Wirth, Niklaus, "Algorithms + Data Structures = Program," Prentice Hall, Inc., (1976).

Cited By

View all
  • (2024)MiniJava on RISC-V: A Game of Global Compilers DominationProceedings of the Workshop Dedicated to Jens Palsberg on the Occasion of His 60th Birthday10.1145/3694848.3694854(21-29)Online publication date: 22-Oct-2024
  • (2014)A new practicum in compiler constructionComputer Applications in Engineering Education10.1002/cae.2056622:3(429-441)Online publication date: 1-Sep-2014
  • (1990)An intelligent tutoring systemNinth Annual International Phoenix Conference on Computers and Communications. 1990 Conference Proceedings10.1109/PCCC.1990.101690(714-718)Online publication date: 1990
  • Show More Cited By

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image ACM SIGCSE Bulletin
ACM SIGCSE Bulletin  Volume 18, Issue 1
Proceedings of the 17th SIGCSE symposium on Computer science education
February 1986
304 pages
ISSN:0097-8418
DOI:10.1145/953055
Issue’s Table of Contents
  • cover image ACM Conferences
    SIGCSE '86: Proceedings of the seventeenth SIGCSE technical symposium on Computer science education
    February 1986
    336 pages
    ISBN:0897911784
    DOI:10.1145/5600
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: 01 February 1986
Published in SIGCSE Volume 18, Issue 1

Check for updates

Qualifiers

  • Article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)80
  • Downloads (Last 6 weeks)13
Reflects downloads up to 23 Jan 2025

Other Metrics

Citations

Cited By

View all
  • (2024)MiniJava on RISC-V: A Game of Global Compilers DominationProceedings of the Workshop Dedicated to Jens Palsberg on the Occasion of His 60th Birthday10.1145/3694848.3694854(21-29)Online publication date: 22-Oct-2024
  • (2014)A new practicum in compiler constructionComputer Applications in Engineering Education10.1002/cae.2056622:3(429-441)Online publication date: 1-Sep-2014
  • (1990)An intelligent tutoring systemNinth Annual International Phoenix Conference on Computers and Communications. 1990 Conference Proceedings10.1109/PCCC.1990.101690(714-718)Online publication date: 1990
  • (1987)Realistic student projectsProceedings of the eighteenth SIGCSE technical symposium on Computer science education10.1145/31820.31766(244-247)Online publication date: 1-Feb-1987
  • (1987)Realistic student projectsACM SIGCSE Bulletin10.1145/31726.3176619:1(244-247)Online publication date: 1-Feb-1987
  • (2005)Hide and showProceedings of the 36th SIGCSE technical symposium on Computer science education10.1145/1047344.1047365(12-16)Online publication date: 23-Feb-2005
  • (2005)Hide and showACM SIGCSE Bulletin10.1145/1047124.104736537:1(12-16)Online publication date: 23-Feb-2005
  • (2003)The ART of compiler construction projectsACM SIGPLAN Notices10.1145/966051.96605638:12(28-32)Online publication date: 1-Dec-2003
  • (2003)A compiler for teaching about compilersACM SIGCSE Bulletin10.1145/792548.61197435:1(220-223)Online publication date: 11-Jan-2003
  • (2003)A compiler for teaching about compilersProceedings of the 34th SIGCSE technical symposium on Computer science education10.1145/611892.611974(220-223)Online publication date: 19-Feb-2003

View Options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Login options

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media