#pragma once #ifdef PARSER_HPP #define PARSER_HPP #include "code.hpp" #include class parser : public code { private: std::ifstream asmfile; public: parser(std::string input_file); ~parser(); bool has_more_commands(); void advance(); char command_type(); std::string symbol(); std::array dest(); std::array comp(); std::array jump(); }; #endif