EightBit/M6502/HarteTest_6502/parser_t.cpp
Adrian Conlon 9e9c15e289 Use C++20 co-routines as generators for opcode suite and test generation.
Signed-off-by: Adrian Conlon <adrian.conlon@gmail.com>
2021-10-27 09:53:58 +01:00

12 lines
218 B
C++

#include "stdafx.h"
#include "parser_t.h"
simdjson::dom::parser parser_t::m_parser;
parser_t::parser_t(const std::string path) noexcept
: m_path(path) {}
void parser_t::load() {
m_raw = m_parser.load(m_path);
}