========================= CPW Pt.6 Expression Trees ========================= This is a longer workout and split into three steps: - Step (A): __Some Design Patterns__ - Step (B): __Some Implementation Patterns__ - Step (C): __Integrating the Expr Class__ into the calculator - And there is an optional quiz: __Quiz 20__ with 20 bonus points For the quiz you simply have to submit the class for expression trees and the new implementation for the calculator. In the videos you can see the complete implementation. Of course you can apply further improvements or bug fixes (for both bugs in code and typos in comments). As code base you can use either your own code or the codes used in the video: ---- SHELL (path=session18/git, hide) ------------------------------------------ rm -rf abc git clone git@gitlab.com:uni-ulmulm-university-department-of-numerical-analysis/abc.git git config --global advice.detachedHead false -------------------------------------------------------------------------------- ---- SHELL (path=session18/git/abc, hide) -------------------------------------- git checkout tags/calc-quiz-sol -------------------------------------------------------------------------------- :import: session18/git/abc/lexer.c [fold] :import: session18/git/abc/lexer.h [fold] :import: session18/git/abc/tokenkind.c [fold] :import: session18/git/abc/tokenkind.h [fold] :import: session18/git/abc/xtest_calc.c [fold] :links: Some Design Patterns -> doc:session18/page02 Some Implementation Patterns -> doc:session18/page03 Integrating the Expr Class -> doc:session18/page04 Quiz 20 -> doc:session18/page05