tinygo/testdata
Ayke van Laethem 542135c357 compiler,runtime: implement stack-based scheduler
This scheduler is intended to live along the (stackless) coroutine based
scheduler which is needed for WebAssembly and unsupported platforms. The
stack based scheduler is somewhat simpler in implementation as it does
not require full program transform passes and supports things like
function pointers and interface methods out of the box with no changes.

Code size is reduced in most cases, even in the case where no scheduler
scheduler is used at all. I'm not exactly sure why but these changes
likely allowed some further optimizations somewhere. Even RAM is
slightly reduced, perhaps some global was elminated in the process as
well.
2019-08-15 17:31:54 +02:00
..
cgo cgo: add support for anonymous structs 2019-06-03 20:01:47 +02:00
binop.go compiler: add support for comparing complex numbers 2019-02-05 17:11:09 +01:00
binop.txt compiler: add support for comparing complex numbers 2019-02-05 17:11:09 +01:00
calls.go Test for functional argument passing (#336) 2019-05-13 14:40:58 +02:00
calls.txt Test for functional argument passing (#336) 2019-05-13 14:40:58 +02:00
channel.go compiler,runtime: implement stack-based scheduler 2019-08-15 17:31:54 +02:00
channel.txt compiler,runtime: implement stack-based scheduler 2019-08-15 17:31:54 +02:00
coroutines.go compiler: support returning values from async functions 2019-05-05 16:46:50 +02:00
coroutines.txt compiler: support returning values from async functions 2019-05-05 16:46:50 +02:00
float.go compiler: implement complex division 2019-05-11 15:33:37 +02:00
float.txt compiler: implement complex division 2019-05-11 15:33:37 +02:00
gc.go runtime: implement a simple mark/sweep garbage collector 2018-11-18 19:18:39 +01:00
gc.txt runtime: implement a simple mark/sweep garbage collector 2018-11-18 19:18:39 +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: make struct types more unique 2019-08-08 15:23:47 +02:00
interface.txt compiler: make struct types more unique 2019-08-08 15:23:47 +02:00
map.go runtime: implement growing hashmaps 2019-05-14 09:59:00 +02:00
map.txt runtime: implement growing hashmaps 2019-05-14 09:59:00 +02:00
math.go runtime: add support for math package 2019-02-05 19:37:21 +01:00
math.txt runtime: add support for math package 2019-02-05 19:37:21 +01: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
reflect.go reflect: add support for linked lists 2019-08-11 15:00:43 +02:00
reflect.txt reflect: add support for linked lists 2019-08-11 15:00:43 +02:00
slice.go compiler: add support for full slice expression for slicing arrays 2019-08-11 15:37:05 +02:00
slice.txt compiler: compare slice against nil 2018-10-20 17:22:51 +02:00
stdlib.go compiler,runtime: fix multiple definitions of a single function 2019-05-24 14:51:40 +02:00
stdlib.txt compiler,runtime: fix multiple definitions of a single function 2019-05-24 14:51:40 +02:00
string.go compiler,runtime: implement []rune to string conversion 2019-08-11 15:45:35 +02:00
string.txt compiler,runtime: implement []rune to string conversion 2019-08-11 15:45:35 +02:00
structs.go compiler: implement casting named structs and pointers to them 2019-04-06 08:32:28 +02:00
structs.txt compiler: implement casting named structs and pointers to them 2019-04-06 08:32:28 +02:00