tinygo/loader
Ayke van Laethem a848d720db compiler: refactor and add tests
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.
2021-01-15 14:43:43 +01:00
..
errors.go loader: rewrite/refactor much of the code to use go list directly 2020-09-03 22:10:14 +02:00
goroot.go support WASI target (#1373) 2020-09-29 21:58:03 +02:00
list.go loader: rewrite/refactor much of the code to use go list directly 2020-09-03 22:10:14 +02:00
loader.go loader: use name "main" for the main package 2021-01-15 14:43:43 +01:00
ssa.go compiler: refactor and add tests 2021-01-15 14:43:43 +01:00