Reviewed-on: #4
This commit was merged in pull request #4.
This commit is contained in:
2026-04-29 14:44:33 -05:00
parent 54729c1e14
commit 148c98e642
13 changed files with 424 additions and 79 deletions

20
src/vm/code.hh Normal file
View 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