Lab Assignments for the Compilers course (CS39003) Autumn 2025
| Topic | Date Posted | desc |
|---|---|---|
| Warm-up assignment | 21-Jul-2025 | handwritten interpreter for strings |
| Lab Assignment 1 | 04-Aug-2025 | lex for preparing an interpreter |
| Lab Assignment 2 | 11-Aug-2025 | ll(1) parsing |
| Lab Assignment 3 | 25-Aug-2025 | slr(1) parsing |
| Lab Assignment 4 | 08-Sep-2025 | lex and yacc |
| Lab Assignment 5 | 06-Oct-2025 | parsing with yacc |
| Lab Assignment 6 | 13-Oct-2025 | same as above with now with nested structs |
| Lab Assignment 7 | 27-Oct-2025 | intermediate code generation for assignment statements |
| Lab Assignment 8 | 03-Nov-2025 | intermediate code generation using backpatching |
Most of my submissions cover all the required features/test cases, The code gets very messy for the last two assignments and I intend to rewrite those eventually. The Dragon Book is also available
All the best, I had a lot of fun in this lab!