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 1 | C ++ (1) From C to C ++ |
Session 2 | C ++ (2) Standard library STL |
Session 3 | C ++ (3) Constructor, destructor, assignment |
Session 4 | C ++ (4) Inheritance and polymorphism |
Session 5 | Abstract syntax tree implementation |
Session 6 | Abstract syntax tree implementation |
Session 7 | Interpreter implementation |
Session 8 | Interpreter implementation |
Session 9 | How to use lex |
Session 10 | Building an abstract syntax tree with yacc |
Session 11 | Building an abstract syntax tree with yacc |
Session 12 | Building an abstract syntax tree with yacc |
Session 13 | Building an abstract syntax tree with yacc |
Session 14 | Building an abstract syntax tree with yacc |