feat: function calls
This commit is contained in:
parent
11d99fba38
commit
d08e753664
99 changed files with 881 additions and 148 deletions
|
|
@ -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 });
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue