UNIVERSITY OF PRINCE EDWARD ISLAND
Computer Science 4720
COMPILER DESIGN
January 2026

CS4720 Student Project
Total: TBA%


PDF PS

Deadlines

  1. Preliminary Report, Monday, February 24, 2026
  2. Starting with April 2026 , 2026.

Topics

  1. Option 1:
    Read and prepare a presentation from the textbook.
    1. Chapter 6 or 7.
    2. Repeat instructions 1 and 2 for Chapter 8.
  2. Option 2:
    Read and prepare a presentation from other sources (other textbooks, published papers, web -- applications, tools, computing standards).
    Examples: New grammar types, special parsers, new parsing algorithms, interesting properties of context-free grammars, other tools for compiling, other format representations for compiler compilers, software tools.
  3. Option 3:
    A hot subject of your choice related to \textbf{\em modern} compiler design.
  4. Option 4: Design your own language and write the compiler. The language should contain at least 3 type declarations, and minimum 3 types of statements assignment statements, loops, decision statements. Type checking and all erors should be handled by your compiler not by the compiler of your intermediate code.

Requirements

  1. Preliminary outline submision link
  2. Prepare a 25 minute presentation for one of the selected topics (30 marks option 1/60 marks otion 2 or 3)
  3. Submit a 1-2 page summary of your presentation which highlights the main points covered in your talk. (10 marks)
  4. Presentation (30 marks).

Textbook topics


  1. Chapter 6
    1. Intermediate Code Generation
    2. Sec. 6.6 Control Flow (Case Statements)
    3. Sec 6.7 Backpatching and Procedure Calls
  2. Chapter 7 Run-Time Environments %(Friday, March 30th)
    1. Sec 7.3 Access to Non-local Names \& Parameter Passing
  • Chapter 8 Code Generation
    1. Sec 8.2-8.3 Target Language and Addresses in the Target Code
    2. Sec 8.4 Basic Blocks and Flow Graphs
    3. Sec 8.5 Optimization of Basic Blocks
    4. Sec 8.6-8.7 Code Generator and Peephole Optimization
  • Presentation and Summary Page (25%)
    Presentation (due date is )

    A 20 (twenty) to maximum 30 (thirty) minute classroom presentation.

    Prepare a one-page summary, , for distributions to classmates.(5 marks)


    Important notes:


    Last modified:Saturday March 07, 2026 at 01:40 pm AST
    Cezar Câmpeanu