Abstract
Compiler construction course is one of the important professional courses for computer science and technology majors. The study of compiler construction is a practical exercise in software engineering. The teaching of compiling techniques can be effectively enhanced by compiling practical examples in compiler constructing courses. In this paper, an effective approach for teaching runtime environments in a compiler construction course is presented. First, concepts such as activation records, control link, access link, and pointer to the current activation are introduced to the students. Then, we show the implementation techniques of activation records and data access method the target computer by using debug tool for C++ development environment on C language programs. The approach proposed in this paper is applied in the compiler construction course, which deepens students’ understanding of programming language, and cultivates students’ abstract thinking, logical derivation and generalization ability. This approach method also helps to improve their programming skills.
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.