zig/src
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
..
Air Sema: introduce all_vector_instructions backend feature 2025-01-31 23:00:34 -05:00
arch x86_64: rewrite vector @intCast 2025-01-31 23:09:58 -05:00
codegen compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
Compilation Compilation: Disable LTO by default. 2025-01-25 14:59:02 +01:00
link link: Set machine and float ABI when invoking ld.lld and lld-link. 2025-01-25 14:57:33 +01:00
Liveness Sema: introduce all_vector_instructions backend feature 2025-01-31 23:00:34 -05:00
Package Package.Module: Make create() fall back on options.global.root_optimize_mode. 2025-01-23 23:22:38 +00:00
Sema compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
Zcu compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
Air.zig x86_64: rewrite float vector conversions 2025-01-31 23:00:34 -05:00
Builtin.zig compiler: Improve the handling of unwind table levels. 2024-12-11 00:10:15 +01:00
clang.zig all: update to std.builtin.Type.Pointer.Size field renames 2025-01-16 12:46:29 +00:00
clang_options.zig zig cc: honor all -m and -mno- CPU feature flags 2021-11-26 19:59:33 -07:00
clang_options_data.zig compiler: Improve the handling of unwind table levels. 2024-12-11 00:10:15 +01:00
codegen.zig compiler: simplify generic functions, fix issues with inline calls 2025-01-21 02:41:42 +00:00
Compilation.zig compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
crash_report.zig all: update for panic.unwrapError and panic.call signature changes 2025-01-24 22:33:23 +00:00
DarwinPosixSpawn.zig std.c.darwin.posix_spawn: fix signature 2024-12-16 14:53:54 +00:00
dev.zig x86_64: implement clz and not 2025-01-16 20:42:08 -05:00
fmt.zig compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
glibc.zig reject crti.o/crtn.o, embrace the future 2025-01-20 20:59:52 -08:00
InternPool.zig compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
introspect.zig Fix handling of empty XDG environment variables 2024-08-19 23:30:14 -07:00
libcxx.zig frontend: use main Compilation code_model when building libxx 2025-01-27 17:07:56 -08:00
libtsan.zig frontend: use main Compilation code_model when building libxx 2025-01-27 17:07:56 -08:00
libunwind.zig frontend: use main Compilation code_model when building libxx 2025-01-27 17:07:56 -08:00
link.zig fix merge conflicts with updating line numbers 2025-01-15 15:11:36 -08:00
Liveness.zig Sema: introduce all_vector_instructions backend feature 2025-01-31 23:00:34 -05:00
main.zig compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
mingw.zig compiler: Rework LTO settings for some Zig-provided libraries. 2025-01-25 14:57:33 +01:00
musl.zig Merge pull request #22541 from ziglang/pipeline 2025-01-21 14:27:05 -05:00
mutable_value.zig all: update to std.builtin.Type.Pointer.Size field renames 2025-01-16 12:46:29 +00:00
Package.zig fetch: filter unpack errors 2024-04-09 15:00:21 +02:00
print_air.zig Sema: introduce all_vector_instructions backend feature 2025-01-31 23:00:34 -05:00
print_env.zig std: update std.builtin.Type fields to follow naming conventions 2024-08-28 08:39:59 +01:00
print_targets.zig move zig libc command to be lazily built 2024-02-27 22:55:00 -07:00
print_value.zig compiler: simplify generic functions, fix issues with inline calls 2025-01-21 02:41:42 +00:00
print_zir.zig compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
print_zoir.zig compiler: introduce ZonGen and make ast-check run it for ZON inputs 2024-12-16 17:02:35 +00:00
RangeSet.zig sema: rework type resolution to use Zcu when possible 2024-08-25 15:16:42 -07:00
register_manager.zig x86_64: fix crashes compiling the compiler and tests 2025-01-16 20:47:30 -05:00
Sema.zig compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
target.zig Sema: introduce all_vector_instructions backend feature 2025-01-31 23:00:34 -05:00
ThreadSafeQueue.zig link.flushTaskQueue: move safety lock 2024-10-23 16:27:39 -07:00
tracy.zig Add build option to set tracy-callstack-depth in build.zig (#21990) 2024-11-29 12:13:06 -08:00
translate_c.zig all: update to std.builtin.Type.Pointer.Size field renames 2025-01-16 12:46:29 +00:00
Type.zig Merge pull request #22672 from jacobly0/x86_64-rewrite 2025-02-01 14:32:43 -08:00
Value.zig compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
wasi_libc.zig fix build failure when llvm not available 2025-01-20 20:59:52 -08:00
Zcu.zig compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
zig_clang.cpp zig_clang: Update to Clang 19. 2024-09-19 18:20:20 -07:00
zig_clang.h zig_clang: Update to Clang 19. 2024-09-19 18:20:20 -07:00
zig_clang_cc1_main.cpp compiler: Update LLVM/Clang driver files to LLVM/Clang 19. 2024-09-19 18:20:20 -07:00
zig_clang_cc1as_main.cpp compiler: Update LLVM/Clang driver files to LLVM/Clang 19. 2024-09-19 18:20:20 -07:00
zig_clang_driver.cpp compiler: Update LLVM/Clang driver files to LLVM/Clang 19. 2024-09-19 18:20:20 -07:00
zig_llvm-ar.cpp compiler: Update LLVM/Clang driver files to LLVM/Clang 19. 2024-09-19 18:20:20 -07:00
zig_llvm.cpp zig_llvm: Reduce our exposure to LLVM API breakage. 2024-10-31 01:27:22 +01:00
zig_llvm.h zig_llvm: Reduce our exposure to LLVM API breakage. 2024-10-31 01:27:22 +01:00