Interpreter Design pattern

This is what I came up with so far it has issues and wrongly used
Was this page helpful?