CMakeLists.txt | 4 +- lib/std/zig/string_literal.zig | 1 + src/stage1.zig | 2 + src/stage1/all_types.hpp | 102 +- src/stage1/analyze.cpp | 155 +- src/stage1/analyze.hpp | 6 +- src/stage1/ast_render.cpp | 1241 ---- src/stage1/ast_render.hpp | 20 - src/stage1/astgen.cpp | 8120 +++++++++++++++++++++++++ src/stage1/astgen.hpp | 43 + src/stage1/bigfloat.cpp | 3 +- src/stage1/bigfloat.hpp | 2 +- src/stage1/codegen.cpp | 44 +- src/stage1/dump_analysis.cpp | 42 +- src/stage1/errmsg.cpp | 59 +- src/stage1/errmsg.hpp | 6 +- src/stage1/error.cpp | 2 + src/stage1/ir.cpp | 10413 ++++---------------------------- src/stage1/ir.hpp | 7 - src/stage1/parser.cpp | 1501 +++-- src/stage1/parser.hpp | 17 +- src/stage1/stage2.h | 2 + src/stage1/tokenizer.cpp | 1859 +++--- src/stage1/tokenizer.hpp | 70 +- test/behavior/misc.zig | 15 +- 25 files changed, 11377 insertions(+), 12359 deletions(-)