tinygo/testdata
Ayke van Laethem bb3d05169d
interp: add new compile-time package initialization interpreter
This interpreter currently complements the Go SSA level interpreter. It
may stay complementary or may be the only interpreter in the future.

This interpreter is experimental and not yet finished (there are known
bugs!) so it is disabled by default. It can be enabled by passing the
-initinterp flag.

The goal is to be able to run all initializations at compile time except
for the ones having side effects. This mostly works except perhaps for a
few edge cases.

In the future, this interpeter may be used to actually run regular Go
code, perhaps in a shell.
2018-11-04 18:40:51 +01:00
..
binop.go compiler: implement comparing structs directly 2018-10-23 13:27:18 +02:00
binop.txt compiler: implement comparing structs directly 2018-10-23 13:27:18 +02:00
calls.go compiler: implement deferring of interface calls 2018-11-03 20:21:43 +01:00
calls.txt compiler: implement deferring of interface calls 2018-11-03 20:21:43 +01:00
coroutines.go main: add coroutine/sleep tests 2018-09-29 00:11:58 +02:00
coroutines.txt main: add coroutine/sleep tests 2018-09-29 00:11:58 +02:00
float.go compiler: fix float <-> int conversions 2018-11-03 12:20:55 +01:00
float.txt compiler: fix float <-> int conversions 2018-11-03 12:20:55 +01:00
init.go interp: add new compile-time package initialization interpreter 2018-11-04 18:40:51 +01:00
init.txt interp: add new compile-time package initialization interpreter 2018-11-04 18:40:51 +01:00
init_multi.go testdata: add more test cases in testdata 2018-10-25 20:37:35 +02:00
init_multi.txt testdata: add more test cases in testdata 2018-10-25 20:37:35 +02:00
interface.go compiler: fix invalid incoming block in complex typeassert flow 2018-10-23 15:00:37 +02:00
interface.txt compiler: fix invalid incoming block in complex typeassert flow 2018-10-23 15:00:37 +02:00
map.go compiler: implement operations on nil hashmaps 2018-10-27 00:57:37 +02:00
map.txt compiler: implement operations on nil hashmaps 2018-10-27 00:57:37 +02:00
print.go testdata: go fmt 2018-10-23 13:24:18 +02:00
print.txt compiler: add complex manipulation 2018-10-22 13:49:03 +02:00
slice.go compiler: compare slice against nil 2018-10-20 17:22:51 +02:00
slice.txt compiler: compare slice against nil 2018-10-20 17:22:51 +02:00
structexpand.go testdata: add better tests for struct expanding 2018-09-25 14:24:44 +02:00
structexpand.txt testdata: add better tests for struct expanding 2018-09-25 14:24:44 +02:00