made our wrapper objects for all of our primitve

datatypes: ints, bools and null
This commit is contained in:
Karma Riuk
2025-07-19 13:04:30 +02:00
parent c841cfe680
commit d1dd5f9dab
9 changed files with 114 additions and 0 deletions

13
src/object/object.hpp Normal file
View File

@@ -0,0 +1,13 @@
#pragma once
#include "type.hpp"
#include <string>
namespace object {
struct object {
::object::type type;
virtual std::string inspect() = 0;
};
} // namespace object