20
src/vm/code.hh
Normal file
20
src/vm/code.hh
Normal file
@@ -0,0 +1,20 @@
|
||||
#ifndef TYCHE_CODE_HH
|
||||
#define TYCHE_CODE_HH
|
||||
|
||||
#include "../bytecode/bytecode.hh"
|
||||
|
||||
namespace tyche {
|
||||
|
||||
class Code {
|
||||
public:
|
||||
void import_bytecode(ByteArray incoming);
|
||||
|
||||
[[nodiscard]] std::string disassemble() const;
|
||||
|
||||
private:
|
||||
Bytecode bytecode_;
|
||||
};
|
||||
|
||||
} // tyche
|
||||
|
||||
#endif //TYCHE_CODE_HH
|
||||
Reference in New Issue
Block a user