7#ifndef __INTERPRETER_CLASS_H__
8#define __INTERPRETER_CLASS_H__
Representation of a simple interpreter.
std::string Interpret(IntList tokens)
Given an array of integer tokens, convert the tokens into a single std::string of space-delimited wor...
std::string _InterpretToken(int token)
Helper method to convert the token into its corresponding word or punctuation mark.
static const char * _commonwords[]
The 40 most common words in English (in order but that doesn't really matter here)....
The namespace containing all Design Pattern Examples implemented in C++.
std::vector< int > IntList
Alias to make it easier to work with a vector of vectors of int.