CMakeLists.txt | 1 + doc/langref.html.in | 393 ++++++- src/all_types.hpp | 9 + src/analyze.cpp | 8 +- src/ast_render.cpp | 2 +- src/codegen.cpp | 187 +++ src/ir.cpp | 964 +++++++++++++++- src/ir_print.cpp | 9 + src/translate_c.cpp | 108 +- std/array_list.zig | 56 +- std/atomic/queue.zig | 14 +- std/atomic/stack.zig | 11 +- std/buf_map.zig | 4 +- std/buf_set.zig | 3 +- std/hash_map.zig | 53 +- std/index.zig | 2 + std/json.zig | 1304 +++++++++++++++++++++ std/json_test.zig | 1942 ++++++++++++++++++++++++++++++++ std/os/index.zig | 1 + std/special/compiler_rt/fixuint.zig | 2 +- std/special/compiler_rt/fixunsdfdi_test.zig | 2 +- std/special/compiler_rt/fixunsdfsi_test.zig | 2 +- std/special/compiler_rt/fixunsdfti_test.zig | 2 +- std/special/compiler_rt/fixunssfdi_test.zig | 2 +- std/special/compiler_rt/fixunssfsi_test.zig | 2 +- std/special/compiler_rt/fixunssfti_test.zig | 2 +- std/special/compiler_rt/fixunstfdi_test.zig | 2 +- std/special/compiler_rt/fixunstfsi_test.zig | 2 +- std/special/compiler_rt/fixunstfti_test.zig | 2 +- std/special/compiler_rt/index.zig | 5 +- std/special/compiler_rt/udivmod.zig | 2 +- std/zig/parser_test.zig | 46 +- test/behavior.zig | 2 + test/cases/coroutines.zig | 5 +- test/cases/enum.zig | 9 + test/cases/fn_in_struct_in_comptime.zig | 17 + test/cases/type_info.zig | 181 +++ test/cases/union.zig | 10 + test/compile_errors.zig | 13 +- test/tests.zig | 8 +- test/translate_c.zig | 22 + 41 files changed, 5282 insertions(+), 129 deletions(-)