made our wrapper objects for all of our primitve
datatypes: ints, bools and null
This commit is contained in:
13
src/object/object.hpp
Normal file
13
src/object/object.hpp
Normal 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
|
Reference in New Issue
Block a user