您当前位置: 首页  >  人才培养  >  旗下产业  >  课程简介

课程简介

编译原理课程设计

编译原理课程设计》课程介绍

 

编译程序是计算机系统不可缺少的部分,是程序设计者的必备工具。学习并掌握编译程序的构造原理和实现技术,能够增强对程序设计语言的理解,提高程序设计、尤其是大型软件的设计能力。

编译原理课程设计的教学任务是使员工透彻地理解编译程序的原理和思想,系统全面的掌握编译技术,使员工通过课堂学习,理解编译原理的同时,注重员工实践能力的培养,进一步巩固对编译知识的理解,通过实际的锻炼,掌握编译技术,进而能够独立地进行编译器的设计。

编译原理课程设计的主要内容是设计并实现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.