C compiler

Students studying compiler design, more often than not, encounter difficulties in understanding the theories and concepts in compiler construction. The students' productivity and interest in the course is diminished as he struggles to comprehend the theories and concepts presented to him. This...

Full description

Saved in:
Bibliographic Details
Main Authors: Haw, Walterson C., Tan, Eugene, Velez, Miguel
Format: text
Language:English
Published: Animo Repository 1991
Subjects:
Online Access:https://animorepository.dlsu.edu.ph/etd_bachelors/6585
Tags: Add Tag
No Tags, Be the first to tag this record!
Institution: De La Salle University
Language: English
Description
Summary:Students studying compiler design, more often than not, encounter difficulties in understanding the theories and concepts in compiler construction. The students' productivity and interest in the course is diminished as he struggles to comprehend the theories and concepts presented to him. This project is an attempt to resolve this problem. This paper presents the theories, design, and implementation of a C compiler. The approach taken is a three-phase analysis and synthesis compilation consisting of a scanner (lexical analyzer), parser (syntax analyzer, and a semantic analyzer and code generator. The generation of an assembly language output also permits the student to study the output of his program which would assist in enhancing his interest in the subject. The objective of the system is outlined including the scope and limitations of the project. Followed by the design and the implementation issues encountered during the construction of the compiler. Lastly, a conclusion is given and recommendations for future work is submitted.