Chapter 15: Implementing a Case Study
In this chapter, we will work on implementing a case study by applying the metaprogramming concepts that we have learned so far. For this case study, we will be using the Automobile.
(1987)
. UCI Machine
Learning
Repository
dataset.
In this chapter, we will be looking at the following main topics:
- Explaining the case study
- Defining base classes
- Developing a code generator library
- Generating code
- Designing an execution framework
By the end of this chapter, you should have an understanding of how to use the existing methods of the ast library in Python to enable your application to generate its own code.