Compiler Construction Principle & Implementation Techniques

Download Report

Transcript Compiler Construction Principle & Implementation Techniques

Compiler Construction Principle
& Implementation Techniques
Dr. Ying JIN
College of CST
Jilin University
Presentation



Topic: “Scanning”
Presenter: LIU Huaxia
Time: 8 minutes
2007-10-4
Compiler Course
2
New schema on Deciding
Presenter


One week after the reading assignment is
given;
Any students, who have done the
assignment, can send e-mails or hand in
reports to Dr. Ying Jin or Dr. Jing Zhang;
– [email protected][email protected]


Presenter will be selected and informed;
Presentation will be given later;
2007-10-4
Compiler Course
3
Summary of Chapter 1

About the course
– Several principles should be kept in mind
for grasping the methods and techniques
to be introduced in the course,
have a whole picture in mind,
 try to establish the knowledge links,
 follow such procedure: what  why  how;
 class attendance, preview & review, reading
& practice

2007-10-4
Compiler Course
4
Summary of Chapter 1

About the compiler
– what is a compiler?
– Please list different paradigms of high-level
programming languages?
– What are three major parts for defining a
programming language?
– What are two different ways to implement
programming languages?
– Compare compiler and interpreter (similarities
and differences)?
2007-10-4
Compiler Course
5
Summary of Chapter 1

About the compiler
– Please list programs that will be used during
program development? Or list programs that are
normally included in IDE? And briefly describe
their functionalities?
– Please list ways to design and implement a
compiler?
– Please give the functional structure of a compiler,
and briefly describe the main function of each
component?
2007-10-4
Compiler Course
6