![]() This commit finally introduces unit tests for the compiler, to check whether input Go code is converted to the expected output IR. To make this necessary, a few refactors were needed. Hopefully these refactors (to compile a program package by package instead of all at once) will eventually become standard, so that packages can all be compiled separate from each other and be cached between compiles. |
||
---|---|---|
.. | ||
basic.go | ||
basic.ll | ||
pointer.go | ||
pointer.ll | ||
slice.go | ||
slice.ll |