Skip to content
Atılım University, 30th year
Semester
Area Elective
Type
Elective
Credit
3
ECTS
5
Language
İngilizce
Contact hours
Lecture 3 · Practice 0 · Lab 0
Back to programme
On this page
  1. Course Objective
  2. Course Content
  3. Prerequisites
  4. Methods
  5. Learning outcomes
  6. Weekly Topics
  7. Assessment
  8. ECTS Workload
  9. Resources

Course Objective

The objective of this course is to provide necessary skills in developing a language processor as applied to compiler generation.

Course Content

Fundamental concepts of compilation and interpretation; single-pass and multiple-pass language translators; lexical analyzer; top-down parsing, and LL(1) grammars; recursive descent method; bottom-up parsing; shift reduce technique; operator precedence grammar, LR(0) and SLR(1) grammars; syntax directed translation; error processing and recovery; s

Prerequisites

None

Delivery and Teaching Methods

  • Face to face
  • Lecture

Learning Outcomes and Contribution to Programme Outcomes

  1. 1Use syntactic analyzers in the context of compiler construction
  2. 2Appraise higher level programming languages concepts
  3. 3Design a scanner and a parser as a part of a compiler

Contribution level ranges from 0 (none) to 5 (highest).

PO Programme outcome Contribution level
PO1 Gain sufficient knowledge in mathematics, science and computing; be able to use theoretical and applied knowledge in these areas to solve engineering problems related to information systems. 3
PO2 To be able to identify, define, formulate and solve complex engineering problems; to be able to select and apply appropriate analysis and modeling methods for this purpose. 0
PO3 Designs a complex system, process, device or product under realistic constraints and conditions to meet specific requirements; applies modern design methods for this purpose. 0
PO4 To be able to develop, select and use modern techniques and tools required for the analysis and solution of complex problems encountered in information systems engineering applications; to be able to use information technologies effectively. 3
PO5 Designs and conducts experiments, collects data, analyzes and interprets results to investigate complex engineering problems or research topics specific to the discipline of information systems engineering. 0
PO6 Can work effectively in disciplinary and multidisciplinary teams; can work individually. 0
PO7 a. Communicates effectively both orally and in writing; writes effective reports and understands written reports, prepares design and production reports, makes effective presentations, gives and receives clear and understandable instructions. b. Knows at least one foreign language. 0
PO8 To be aware of the necessity of lifelong learning; to be able to access information, to be able to follow developments in science and technology and to be able to renew himself/herself continuously. 0
PO9 a. Acts in accordance with the principles of ethics, gains awareness of professional and ethical responsibility. b. Gains knowledge about the standards used in information systems engineering applications. 0
PO10 a. Gains knowledge about business life practices such as project management, risk management and change management. b. Gains awareness about entrepreneurship and innovation. c. Gains knowledge about sustainable development. 0
PO11 a. To be able to acquire knowledge about the universal and social effects of information systems engineering applications on health, environment and safety and the problems of the era reflected in the field of engineering. b. Gains awareness of the legal consequences of engineering solutions. 0

Weekly Topics

WeekTopic
1Introduction to Compiling
2A Simple One-Pass Compiler
3Lexical Analysis
4Syntax Analysis
5Syntax Directed Translation
6Syntax Directed Translation
7Type Checking
8Run-time Environments
9Run-time Environments
10Run-time Environments
11Intermediate Code Generation
12Code Generation
13Code Generation
14Code Optimization

Assessment

MethodNumberWeight
Midtermexam1%25
Homework2%15
Project1%30
Finalexam1%30
Total%100

ECTS Workload

ActivityNumberDuration (hours)Total
Out-of-Class Study Time16232
Projects11515
Final Exam Preparation11515
Lecture Hours (Including exam week: 16 x lecture hours)16348
Assignments2510
Midterm Exam Preparation11010
Total workload (hours)130
ECTS equivalent (workload / 30)4.3

Resources

  • Textbook Alfred V. Aho, Monica S. Lam, Ravi Sethi, Jeffrey D. Ullman, Compilers: Principles, Techniques, and Tools (2nd Edition), 2006, ISBN: 0321486811. (Dragon Book)
  • Other 1. Steven Muchnick, Advanced Compiler Design and Implementation, 1997, Morgan Kaufmann Publishers, ISBN:1-55860-320-4.
  • Other 2. Doug Brown, John Levine, Tony Mason, UNIX Programming Tools: Lex & Yacc, O’Reilly, 1992.
  • Other 3. Dick Grune, Henri E. Bal, Ceriel J.H. Jacobs, and Koen Langendoen VU University Amsterdam, Amsterdam, The Netherlands. John Wiley & Sons, Ltd., pp. 736 + xviii; ISBN 0471976970, 2000.
  • Other 4. http://dinosaur.compilertools.net/yacc/.
  • Other 5. Andrew W. Appel, Jens Palsberg, “Modern Compiler Implementation in Java (2nd edition)”, Cambridge Univ. Press, ISBN-13: 9780521820608, 2002.