Passing the ShapeAmbient as an argument of interpret() and make Interpreter an interface