1. InterpreterAbhijit HiremagalurCogent Consulting 2. Given a language, define a representation for its grammar along with an interpreter that uses the representation to…