Exercise in Compiler

Course Purpose
To acquire basic programming skills in C++, a technique for constructing and manipulating abstract syntax trees for language processing, and a skill to build a language processing system using lex and yacc.
Learning Goals
- To write programs with basic sentences, inheritance, and polymorphism
- To construct tree-like data structure such as abstract syntax trees of programs
- To develop language processing system using lex and yacc
- To write and debug programs of about 2,000 lines of codes.
Topic
Session 1C ++ (1) From C to C ++
Session 2C ++ (2) Standard library STL
Session 3C ++ (3) Constructor, destructor, assignment
Session 4C ++ (4) Inheritance and polymorphism
Session 5Abstract syntax tree implementation
Session 6Abstract syntax tree implementation
Session 7Interpreter implementation
Session 8Interpreter implementation
Session 9How to use lex
Session 10Building an abstract syntax tree with yacc
Session 11Building an abstract syntax tree with yacc
Session 12Building an abstract syntax tree with yacc
Session 13Building an abstract syntax tree with yacc
Session 14Building an abstract syntax tree with yacc
**This content is based on April 1, 2024. For the latest syllabus information and details, please check the syllabus information inquiry page provided by the university.**