Moving back to C++11.
std::string for some parameters.
Refactoring.
Use shared_ptr to hold template text.
More direct allocation of parser stack.