feat: loading precompiled sections, strings/constants/knots
This commit is contained in:
parent
55ddd2b7cf
commit
127db83041
6 changed files with 553 additions and 142 deletions
|
|
@ -127,7 +127,15 @@ pub const CallFrame = struct {
|
|||
bp: usize,
|
||||
};
|
||||
|
||||
pub const Value = union(enum) {
|
||||
pub const ValueType = enum(u8) {
|
||||
nil,
|
||||
bool,
|
||||
int,
|
||||
float,
|
||||
object,
|
||||
};
|
||||
|
||||
pub const Value = union(ValueType) {
|
||||
nil,
|
||||
bool: bool,
|
||||
int: i64,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue