zig/test/cases/compile_errors/zon
Mason Remaley 13c6eb0d71
compiler,std: implement ZON support
This commit allows using ZON (Zig Object Notation) in a few ways.

* `@import` can be used to load ZON at comptime and convert it to a
  normal Zig value. In this case, `@import` must have a result type.
* `std.zon.parse` can be used to parse ZON at runtime, akin to the
  parsing logic in `std.json`.
* `std.zon.stringify` can be used to convert arbitrary data structures
  to ZON at runtime, again akin to `std.json`.
2025-02-03 09:14:37 +00:00
..
addr_slice.zon
array.zon
char_32.zon
desktop.ini
doc_comment.zon
double_negation_float.zon
double_negation_int.zon
enum_embedded_null.zon
hello.zon
inf.zon
int_32.zon
int_neg_33.zon
invalid_character.zon
invalid_number.zon
invalid_string.zon
large_number.zon
leading_zero_in_integer.zon
nan.zon
neg_char.zon
neg_inf.zon
neg_nan.zon
negative_zero.zon
simple_union.zon
struct.zon
struct_dup_field.zon
syntax_error.zon
tuple.zon
type_decl.zon
type_expr_array.zon
type_expr_fn.zon
type_expr_struct.zon
type_expr_tuple.zon
unescaped_newline.zon
unknown_ident.zon
vec2.zon
void.zon