zig/test/behavior/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
..
a.zon compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
abc-escaped.zon compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
abc.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
complex.zon compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
enum_field.zon compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
escaped_enum.zon compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
escaped_struct.zon compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
false.zon compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
floats.zon compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
foo.zon compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
inf_and_nan.zon compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
ints.zon compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
multiline_string.zon compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
none.zon compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
recursive.zon compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
slice-abc.zon compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
slice-empty.zon compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
slice1_no_newline.zon compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
some.zon compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
string_embedded_null.zon compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
true.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
union1.zon compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
union2.zon compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
union3.zon compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
vec0.zon compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
vec1.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
vec3_bool.zon compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
vec3_float.zon compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
vec3_int.zon compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
vec3_int_opt.zon compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
z.zon compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00