A pretty printer for zig
zig

add todos

altagos.dev 00906425 f506de43

verified
+9
+9
pretty.zig
··· 173 173 .optional => |opt| formatOptional(opt.child, ctx, run, value), 174 174 .@"struct" => |st| formatStruct(T, st, ctx, run, value), 175 175 176 + // TODO: .error_union => |eu| {}, 177 + // TODO: .error_set => |es| {}, 178 + 179 + // TODO: .array => |arr| {}, 180 + // TODO: .pointer => |ptr| {}, 181 + // TODO: .vector => |vec| {}, 182 + 183 + // TODO: .@"fn" => |f| {}, 184 + 176 185 else => { 177 186 run.setColor(ctx, .@"error"); 178 187 try run.print("Unimplemented! ({} = {any})", .{ info, value });