feat: function calls

This commit is contained in:
Brett Broadhurst 2026-03-29 15:52:34 -06:00
parent 11d99fba38
commit d08e753664
Failed to generate hash of commit
99 changed files with 881 additions and 148 deletions

View file

@ -95,7 +95,7 @@ pub const String = struct {
const print_buffer_len = 64;
var print_buffer: [print_buffer_len]u8 = undefined;
switch (value) {
.bool, .int, .float => {
.nil, .bool, .int, .float => {
const bytes = try std.fmt.bufPrint(&print_buffer, "{f}", .{value});
return .create(story, .{ .bytes = bytes });
},