Skip to content

resource repository for ceng444 language processors course @metu, 2023-2024 spring.

Notifications You must be signed in to change notification settings

auotomaton/ceng444-spring2024

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ceng444-spring2024

resource repository for ceng444 language processors course @metu, 2023-2024 spring.

logistics

schedule: fridays, 14.40-17.30, BMB5
instructor: Erkan İnan
TA: Aslı Umay Öztürk
platform for discussions & announcements: mail group

! please email the TA if you cannot access the mail group.

prerequisites: ceng242, ceng280, and ceng331 knowledge is expected, but no official prerequisites.

recommended textbooks

  • Compilers: Principles, Techniques and Tools (Second Edition) by Aho, A.V, Ullman J.D, Sethi R., Lam M.S. (a.k.a. the Dragon Book)
  • Engineering a Compiler (Second Edition) by Cooper, K.D., Torczon, L.

topics

  • lexical analysis: tokens, regular expressions, NFA – DFA generators and recognizers
  • syntactic analysis: context free grammars, parse trees, AST, parsing strategies and algorithms
  • semantic analysis: meaning in common imperative languages, type systems, SDD, representation of meaning
  • back end implementation: target architectures, optimizations, register allocation, compiler runtime, x64 code generation

grading

10% + 5% bonus Project I (Take Home - syntax analysis using Flex + Bison)
40% Project II (Take Home - intermediate representations)
15% bonus Project III (Take Home - native code generation)
20% Midterm
30% Final

tools

  • Flex for scanner implementation.
  • Bison in combination with Flex for parser experiments
  • Antlr as an alternative tool for scanning + parsing
  • Eclipse for C++ for generating experimental executables with support of language processor runtime, which will also be developed by the student
  • Nasm for assembly processing and code inspection.

2023-2024 Gazozuna Kompaylır ödülü

(the official award of CENG444 course, as seen here)

  • Ahmet Eren Çolak
  • Erencan Ceyhan
  • Murat Bolu
  • Yunus Emre Keleş

About

resource repository for ceng444 language processors course @metu, 2023-2024 spring.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published