feat: loading precompiled sections, strings/constants/knots

This commit is contained in:
Brett Broadhurst 2026-04-20 23:02:32 -06:00
parent 55ddd2b7cf
commit 127db83041
Failed to generate hash of commit
6 changed files with 553 additions and 142 deletions

View file

@ -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,