University Of Pretoria Computer Science Department

COS341 - Compiler Construction

Announcements

Module Content

Assignment Specifications
Project 1: Tokens and Syntax
Task 1a
Lexical Analysis of SPL
Task specification in PDF (printable on paper)
Lexical Analysis of SPL
Task specification in PPS (for viewing on screen)
Task 1b
Syntax Analysis of SPL
Task specification in PDF (printable on paper)
Syntax Analysis of SPL
Task specification in PPS (for viewing on screen)
Project 2: Static Semantics
Task 2a
Type Analysis of SPL
Task specification in PDF (printable on paper)
Type Analysis of SPL
Task specification in PPS (for viewing on screen)
Task 2b
Scope Analysis of SPL
Task specification in PDF (printable on paper)
Scope Analysis of SPL
Task specification in PPS (for viewing on screen)
Task 2c
Value Analysis of SPL
Task specification in PDF (printable on paper)
Value Analysis of SPL
Task specification in PPS (for viewing on screen)
Project 3: Code Generation
Task 3a
Intermediate Code Preparation
Task specification in PDF (printable on paper)
Intermediate Code Preparation
Task specification in PPS (for viewing on screen)
Task 3b
Task 3c

Module forums

The new CS forums are available here.

Module Links

Topic: undecidability problems with context-free grammars. All COS341 students MUST read this technical report.
Many computing or computer science degree programmes include at least one module where students are required to design abstract computing machines to recognise words in given languages. These kinds of design tasks are difficult to teach and to learn. This research study focused on the easiest of these design tasks and was an initial attempt to understand the types of mistakes that students make when designing Finite Automata words in given regular languages.

Login

Username:
Password:
Remember Me

Module Description

THIS WEB PAGE IS THE STUDY GUIDE for COS341: COMPILER CONSTRUCTION. Please carefully take note of all further announcements which will appear on this web page! In COS341 we follow ...

Show Long Description

Lecturer Information

Course Coordinator

Prof Stefan Gruner

Lecturers

Assistant Lecturers

Tutors

There are no tutors assigned.

Teaching Assistants

There are no teaching assistants assigned.

Class Representatives

English Representatives

Mr Dewald de Jager

Ms Nikki Constancon

H.o.D Office times

During the times below, any student can come and discuss any issue with the head of the department without making an appointment. Note that these dates and times may change, and any such changes will be updated on each module home page.

The dates and times are as follows:
  • 3 February 12:30-13:30
  • 10 February 12:30-13:30
  • 13 February 08:00-09:00
  • 17 February 12:30-13:30
  • 20 February 08:00-09:00
  • 27 February 08:00-09:00
  • 6 March 08:00-09:00
  • 10 March 12:30-13:30
  • 13 March 08:00-09:00
  • 17 March 12:30-13:30
  • 24 March 12:30-13:30
  • 27 March 08:00-09:00
  • 31 March 12:30-13:30

Active Assignments

No currently active Assignments

Active Fitch Fork Assignments

No currently active Fitch Fork Assignments

Active Bookings

    No bookings available

Lab Bookings

    No lab bookings available

Active Team Allocations

    No team allocations available

Active Bids

Individual Bids

    No individual bids

Team Bids

    No team bids

Team Pages

Team Pages

    No individual bids

Active Polls

Dates of Semester Tests (Written Exams) #1 and #2


The official test date in the UP time table shall be used for our 1st Written Exam, such that the 2nd Written exam must be somehow be queezed in before the 3rd (final) Exam
The official test date in the UP time table shall be used for our 2nd Written Exam, such that a suitable earlier date must be found for our 1st Written Exam

All content copyright © Department of Computer Science, School of IT, University of Pretoria, South Africa