Print as pdf if you want a pdf! If you want a nicer printout, click off the browser's automatically added header and footer.
Blekinge Institute of Technology
Department of Computer Science
Revision: 2
Reg.no:
Compiler Design and Translation Technique
Compiler Design and Translation Technique
7.5 credits (7,5 högskolepoäng)
Course code: DV1656
Main field of study: Computer Science
Disciplinary domain: Technology
Education level: First-cycle
Specialization: G1F - First cycle, has less than 60 credits in first-cycle course/s as entry requirements
Language of instruction: English
Applies from: 2022-01-17
Approved: 2021-09-01
This course is established by Dean 2021-04-16. The course syllabus is approved by Head of Department of Computer Science 2021-09-01 and applies from 2022-01-17.
Admission to the course requires completed 22.5 credits in programming including Algorithm and data structures.
Most of the programs that we write are written using a high-level programming language, whereas the hardware understands only low-level code (binary instructions). Compilers are software program that can translate a program written in one language (usually a high-level language, that is called a source language) into an equivalent program in another language (usually a lower-level language such as assembly, known as target language). The assembler then is responsible to generate the binary code from an assembly code. It is common for compilers to be used for translation from one high-level (source) language to another high-level (target) language, such compilers are called source-to-source compilers. Understanding how different compilation phases are designed and implemented (including lexing, parsing, type-checking, code generation, interpretation) and the application of different translation techniques is essential for the advanced programmer that might be willing to perform any extensions to the existing programming languages or optimalizations to existing compilers. Additionally, this course guides students through the steps needed to design new domain-specific languages and develop their corresponding compilers. Furthermore, the techniques used in translation and compiling are also applicable in many other areas, where the knowledge of this subject is particularly useful.
The following learning outcomes are examined in the course:
On completion of the course, the student will be able to:
On completion of the course, the student will be able to:
On completion of the course, the student will be able to:
The course uses a mixture of lectures, supervised lab sessions, and project work. The lectures introduce the theoretical material, the labs are used for tutorial support on the project work. The project is split in three parts to allow extensive feedback early in the process.
Modes of examinations of the course
Code | Module | Credit | Grade |
2205 | Project assignment (part 1) | 3 credits | AF |
2215 | Project assignment (part 2) | 2 credits | AF |
2225 | Project assignment (part 3) | 2.5 credits | AF |
The course will be graded A Excellent, B Very good, C Good, D Satisfactory, E Sufficient, FX Failed result, a little more work required, F Fail.
The information before a course occasion states the assessment criteria and make explicit in which modes of examination that the learning outcomes are assessed.
An examiner can, after consulting the Disability Advisor at BTH, decide on a customized examination form for a student with a long-term disability to be provided with an examination equivalent to one given to a student who is not disabled.
The course evaluation should be carried out in line with BTH:s course evaluation template and process.
The course can form part of a degree but not together with another course the content of which completely or partly corresponds with the contents of this course.
Main course book: Lam, M., Sethi, R., Ullman, J. D., & Aho, A. (2006). Compilers: Principles, techniques, and tools. Pearson Education.
Other literature: Levine, John. Flex & Bison: Text Processing Tools. " O'Reilly Media, Inc.", 2009.
This course replaces DV1584
This is not a legal document. If you would like a copy of the legal decision regarding this course plan, contact the registrar at Blekinge Institute of Technology.