Monday, July 6, 2026

Compiler Design Lab (2026-27)

Welcome to the course :
Date Topic Resources Evaluation Feedback
18-07-2026 TinyCStr description;
Sly Lexer/Parser demo
SLY (Sly Lex Yacc)
TinyCStr
description

Sly Lex Yacc
Calculator Demo
Clickhere Clickhere
21-07-2026 Lexer of TinyCStr Level1 Partial Implementation
with TODOs
Level 1 Lexer
Clickhere
28-07-2026,
01-08-2026
Parser and AST of TinyCStr Level1 AST practice code
(Should try before
25-07-2026)
Partial Implementation
with TODOs
Level 1 Parser + AST
Clickhere
04-08-2026 Three-Address Code and
MIPS assembly Level1
MIPS assembly reference
Function call
activation record with MIPS

Three address code Gen
Practice code

MIPS Assembly Gen
practice code
11-08-2026 Level 2 Lexer and Parser
Type Casting,
Relational/Ternary Op- erators
Partial Implementation
with TODOs
Level 2 Lexer + Parser

Compiler Design (2026-27)

Welcome to the course

Python Programming (2026-27)

Welcome to the course
Lecture Plan: Clickhere
Important point: "Python is both compiled and interpreted . When the command 'python example.py' is executed, the Python interpreter first compiles example.py into bytecode (.pyc), which is then executed by the Python Virtual Machine (PVM). Like Java, Python uses bytecode and a virtual machine. The difference is that the JVM uses Just-In-Time (JIT) compilation for faster execution, whereas the PVM executes the bytecode directly."
Resources: