Closed daeisbae closed 4 months ago
std::queue<TokenPtr>
Program
parser
evaluator
main.cpp
./AParser >>> >>> >>> set hello = 1 1 >>> hello * (7 * ( 7 * 7) ) 343
Changes
std::queue<TokenPtr>
andProgram
insideparser
andevaluator
constructor respectively now is received from the public function.main.cpp
). Previously null error was causing exception as there was no evaluator for that.Demo