您當前位置: 首頁  >  人才培養  >  本科生教育  >  課程簡介

課程簡介

編譯原理課程設計

編譯原理課程設計》課程介紹

 

編譯程序是計算機系統不可缺少的部分,是程序設計者的必備工具。學習并掌握編譯程序的構造原理和實現技術,能夠增強對程序設計語言的理解,提高程序設計、尤其是大型軟件的設計能力。

編譯原理課程設計的教學任務是使學生透徹地理解編譯程序的原理和思想,系統全面的掌握編譯技術,使學生通過課堂學習,理解編譯原理的同時,注重學生實踐能力的培養,進一步鞏固對編譯知識的理解,通過實際的鍛煉,掌握編譯技術,進而能夠獨立地進行編譯器的設計。

編譯原理課程設計的主要内容是設計并實現SNL語言的編譯器,具體包括:詞法分析程序、遞歸下降語法分析程序、LL(1)語法分析程序、符号表管理、語義檢查、中間代碼生成、中間代碼優化和目标程序生成等八個實驗項目。通過這些實驗,使學生更好的理解高級程序語言的内部機制,培養學生初步掌握設計大型系統軟件的方法、技術以及設計大型軟件的能力,達到編譯原理實踐課程的教學目的。

Introduction to the Course Design of Compiler Principle

Compiler is an essential part of computer system and tool for programmers. Studying and grasping compiler construction principles and implementation techniques will enhance understanding of programming languages and improve programming abilities, especially large scale software development skills.

The course Compiler Project course aims at letting students to understand compiler principles and completely grasp compiler techniques, at the same time improving programming abilities and deeply understand compiler related knowledge so that they could design and implement a compiler by themselves.

The main content of the course Compiler Project is to design and implement a compiler for SNL programming languages, which includes: scanner, recursive-descent parser, LL(1) parser, symbol table processor, semantic checker, intermediate code generator, intermediate code optimizer and target code generator. Through working on these projects students could understand the mechanism in high level programming languages, grasping the method, techniques in software development, and establishing the ability to develop large scale system software.

Baidu
sogou