Parser for simple language written for a class.