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

16 lines
198 B
C++

#pragma once
#include <string>
enum binop {
PLUS,
MINUS,
TIMES,
DIVIDE,
MODULO,
EQUALS,
LESS_EQUALS,
};
std::string op_name(binop op);
std::string op_action(binop op);