Refactor type handling, some extremely simple codegen, but mostly work on casts (not finished)

This commit is contained in:
Christoffer Lerno
2019-08-29 17:08:34 +02:00
parent ebce81ad51
commit 2eb91083a6
45 changed files with 4194 additions and 2747 deletions

View File

@@ -25,7 +25,6 @@ add_executable(c3c
src/compiler/source_file.c
src/compiler/diagnostics.c
src/compiler/ast.c
src/compiler/module.c
src/compiler/value.c src/compiler/value.h src/compiler/bigint.c src/compiler/bigint.h src/compiler/context.c)
src/compiler/bigint.c src/compiler/bigint.h src/compiler/context.c src/compiler/builtins.c src/compiler/codegen.c src/compiler/const_folding.c src/compiler/enums.h src/compiler/casts.c src/compiler/compiler.h src/compiler/types.c)
target_compile_options(c3c PRIVATE -Werror -Wall -Wextra -Wno-unused-function -Wno-unused-variable -Wno-unused-parameter)