Toggle navigation
CS664
Schedule
Notes
Software setup
Overview (Wed Jan 20)
Language theory (Wed Jan 20)
Lexical analysis (Wed Jan 27)
Parsing and grammars (Wed Feb 3)
Interpreters and trees (Wed Feb 10)
ANTLR (Wed Feb 17)
Tree visitors (Wed Feb 24)
ANTLR exercises (Wed Mar 16)
Type checking (Wed Mar 16)
Symbol tables and scopes (Wed Mar 23)
↗ Online session notes (Wed Mar 23)
Type inference (Wed Mar 30)
Intermediate representations (Wed Apr 6)
LLVM tips (Wed Apr 20)
Assignment 6 solution (Thu Apr 21)
SSA form (Wed Apr 27)
Register allocation (Wed May 4)
PicoScript specification
ToyML specification
Videos
Assignment 1 solution (Tue Feb 2) 32:17
↗ Online session (Wed Feb 3) 2:09:38
Assignment 2 solution (Tue Feb 9) 51:10
Assignment 3 overview (Tue Feb 9) 1:15:24
↗ Online session (Wed Feb 17) 1:30:28
Assignment 3 solution (Tue Feb 23) 45:04
Update about subtraction vs negation (Thu Feb 25) 10:54
Assignment 4 solution (Sat Mar 5) 47:06
Assignment 5 tips (Tue Mar 22) 31:31
↗ Online session (Wed Mar 23) 2:05:38
Assignment 5 solution (Tue Mar 29) 46:06
Expression tree to 3-address IR (Thu Apr 14) 26:43
Assignment 6 solution (Thu Apr 21) 15:24
Assignment 7 tips (Thu Apr 21) 18:24
↗ Online session (Wed Apr 27) 1:10:02
Assignment 7 solution (Mon May 2) 29:43
Assignment 8 solution (Sun May 8) 29:39
A8 guessing game to IR (Sun May 8) 26:24
A8 to LLVM, part 1 (Fri May 13) 58:26
A8 to LLVM, part 2 (Fri May 13) 15:37
A8 to LLVM, part 3 (Fri May 13) 24:00
Assignments
Assignment 1 (
Thu Jan 28
)
Assignment 2 (
Fri Feb 5
)
Assignment 3 (
Tue Feb 16
)
Assignment 4 (
Tue Mar 1
)
Assignment 5 (
Tue Mar 22
)
Assignment 6 (
Wed Apr 13
)
Assignment 7 (
Tue Apr 26
)
Assignment 8 (
Fri May 6
)
↗ GitLab
↗ Piazza
ToyML specification
See also the Standard ML grammar at
https://www.mpi-sws.org/~rossberg/sml.html
PDF