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 compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
array.zon compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
char_32.zon compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
desktop.ini compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
doc_comment.zon compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
double_negation_float.zon compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
double_negation_int.zon compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
enum_embedded_null.zon compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
hello.zon compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
inf.zon compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
int_32.zon compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
int_neg_33.zon compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
invalid_character.zon compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
invalid_number.zon compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
invalid_string.zon compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
large_number.zon compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
leading_zero_in_integer.zon compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
nan.zon compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
neg_char.zon compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
neg_inf.zon compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
neg_nan.zon compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
negative_zero.zon compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
simple_union.zon compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
struct.zon compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
struct_dup_field.zon compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
syntax_error.zon compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
tuple.zon compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
type_decl.zon compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
type_expr_array.zon compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
type_expr_fn.zon compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
type_expr_struct.zon compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
type_expr_tuple.zon compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
unescaped_newline.zon compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
unknown_ident.zon compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
vec2.zon compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
void.zon compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00