blog-static/code/compiler/06/binop.hpp

13 lines
156 B
C++
Raw Normal View History

#pragma once
2019-10-01 23:23:52 -07:00
#include <string>
enum binop {
PLUS,
MINUS,
TIMES,
DIVIDE
};
2019-10-01 23:23:52 -07:00
std::string op_name(binop op);
std::string op_action(binop op);