rayoko/src
Luna dfb954c39c analysis: insert "incomplete" function as soon as possible
by inserting it before we analyze statements, we allow ourselves to
analyze statements *with the data we already have*, for example, we can
now check the return statements' type, and see if it matches with the
functions' declared return type.

this is done via setting CompilationContext.cur_function on insertFn()

 - don't just ignore function analysis if its incomplete, do an error
2019-09-26 22:00:32 -03:00
..
ast.zig add get expr analysis 2019-09-26 18:03:39 -03:00
ast_printer.zig ast_printer: fix children printing 2019-09-26 21:36:26 -03:00
codegen.zig add get expr analysis 2019-09-26 18:03:39 -03:00
comp_ctx.zig analysis: insert "incomplete" function as soon as possible 2019-09-26 22:00:32 -03:00
errors.zig add 'error contexts' to parser error reports 2019-09-20 13:16:55 -03:00
llvm.zig add support for target machine 2019-09-21 23:56:22 -03:00
main.zig add basic resolution of enums to llvm types 2019-09-25 11:29:47 -03:00
parsers.zig add get expr analysis 2019-09-26 18:03:39 -03:00
scanners.zig change variable declarations to statements 2019-09-25 22:22:13 -03:00
tokens.zig change variable declarations to statements 2019-09-25 22:22:13 -03:00
types.zig analysis: insert "incomplete" function as soon as possible 2019-09-26 22:00:32 -03:00