Commit Graph

9 Commits

Author SHA1 Message Date
Ayke van Laethem 3e6750ae23 examples/test: make unicode example more interesting 2018-09-21 14:37:11 +02:00
Ayke van Laethem 152e12e4b0 all: implement iterating over hashmaps
Still no support for hashmaps > 8 entries, but this kind of works.
2018-09-15 00:29:34 +02:00
Ayke van Laethem 327076da39 examples/test: add slice-a-slice test 2018-09-14 21:02:29 +02:00
Ayke van Laethem 1387a1024d examples/test: small cleanup
I forgot to remove some commented out code...
2018-09-14 21:00:52 +02:00
Ayke van Laethem 8675025fc8 compiler: implement type assert without comma-ok 2018-09-11 19:51:31 +02:00
Ayke van Laethem 43b8c24226 compiler: implement interface assertions
This is a lot harder than 'regular' type assertions as the actual
methods need to be checked.
2018-09-06 20:18:18 +02:00
Ayke van Laethem 5aa8b71ae1 compiler: implement builtin copy(dst, src []T)
Not implemented: copying a string into a []byte slice.
2018-09-06 10:37:44 +02:00
Ayke van Laethem 094c5561b6 compiler: implement make([]T, ...) 2018-09-06 09:46:58 +02:00
Ayke van Laethem 9101ea11bf examples: clean up examples and add blinky1 for Arduino
Arduino has trouble supporting anything that's not extremely simple, so
add a simple blinky example for it. Also, it may be useful anyway.
2018-09-05 16:40:46 +02:00