Files
P3DS-test/third_party/teakra/src/parser.h
wheremyfoodat 78002be334 Vendor Teakra, make emulator own DSP RAM and add DSP RAM to fastmem (#806)
* DSP: Own DSP RAM and add it to fastmem

* Vendor Teakra

* Add MacOS support to fastmem

* Fix MacOS fastmem paths

* Fix iOS build
2025-08-22 02:12:21 +03:00

27 lines
476 B
C++

#pragma once
#include <memory>
#include <string>
#include <vector>
#include "common_types.h"
namespace Teakra {
class Parser {
public:
virtual ~Parser() = default;
struct Opcode {
enum {
Invalid,
Valid,
ValidWithExpansion,
} status = Invalid;
u16 opcode = 0;
};
virtual Opcode Parse(const std::vector<std::string>& tokens) = 0;
};
std::unique_ptr<Parser> GenerateParser();
} // namespace Teakra