501 Commits (cb0a148cd79422675b8733aa5b79dae010ac0415)
 

Author SHA1 Message Date
Ayke van Laethem 866a6edb5f
compiler: fix word size for AVR 6 years ago
Ayke van Laethem 327076da39
examples/test: add slice-a-slice test 6 years ago
Ayke van Laethem 1387a1024d
examples/test: small cleanup 6 years ago
Ayke van Laethem 112f6dc01a
all: implement `tinygo flash` command 6 years ago
Ayke van Laethem 6450daa3c8
runtime/cgo: go fmt 6 years ago
Ayke van Laethem 13633133a5
Makefile: simplify `make fmt` 6 years ago
Ayke van Laethem 09cbd223c3
compiler: remove -runtime flag 6 years ago
Ayke van Laethem c763e9f1a6
compiler: produce .hex files directly 6 years ago
Ayke van Laethem f41a8032e7
machine/dummy: add fake button pins 6 years ago
Ayke van Laethem 752332ff13
machine/nrf: implement reading GPIO pins 6 years ago
Ron Evans ab6757fe11
avr: implement Get() function on AVR, and leave stubs for NRF and dummy machines 6 years ago
Ayke van Laethem ec50db729d
compiler: implement slicing slices 6 years ago
Ayke van Laethem 5b3ef2c02f
compiler: fix unreachable type assert 6 years ago
Ayke van Laethem 9cd7c7f0ba
compiler: fix phi nodes for type asserts 6 years ago
Ayke van Laethem 57661a3c76
compiler: fix typeassert without comma-ok for unused types 6 years ago
Ron Evans d948abdf82 avr: correct register for Set() operation on pins 0-7 6 years ago
Ayke van Laethem 76e77917d8
targets: move target-specific files to this directory 6 years ago
Ayke van Laethem e389d38dec
Makefile: improve gen-device* commands 6 years ago
Ayke van Laethem 18b3e8d156
gen-device: move to new tools directory 6 years ago
Ayke van Laethem a46ed465c5
README: defer has been fully implemented 6 years ago
Ayke van Laethem 422c848163
README: fix nrf example and add arduino example 6 years ago
Ayke van Laethem 7e7502a990
README: update build instructions 6 years ago
Ayke van Laethem 5e9e3bd1a0
Makefile: use the compiler driver directly 6 years ago
Ayke van Laethem 76a513802f
targets/pca10040: support linking from within the compiler 6 years ago
Ayke van Laethem 8ce139284a
all: remove last traces of the C runtime 6 years ago
Ayke van Laethem f7f7d4cbbc
runtime/nrf: translate nrf sleep function from C to Go 6 years ago
Ayke van Laethem 67e33ac30e
gen-device-svd: add _Pos and _Msk fields 6 years ago
Ayke van Laethem 2788ab0172
all: rename __reg to __volatile 6 years ago
Ayke van Laethem 914cd56ca5
all: support Arduino in the compiler driver 6 years ago
Ayke van Laethem 865520b571
compiler: act as a compiler driver (on unix systems) 6 years ago
Ayke van Laethem 6ab2b30984
compiler: move output file type selection to main.go 6 years ago
Ayke van Laethem 9bec479041
all: make targets configurable with a JSON file 6 years ago
Ayke van Laethem 20c2552f8a
compiler: add 'run' command for bytecode interpretation 6 years ago
Ayke van Laethem 8362751590
compiler: use runtime.GOOS/GOARCH instead of hardcoding build tags 6 years ago
Ayke van Laethem e9b0a7d2ae
compiler: improve command line errors 6 years ago
Ayke van Laethem 0779ee6088
compiler: improve command line argument parsing 6 years ago
Ayke van Laethem 81b9edbe65
compiler: print() doesn't print spaces between arguments 6 years ago
Ayke van Laethem 8675025fc8
compiler: implement type assert without comma-ok 6 years ago
Ayke van Laethem 31e0662856
runtime: use a specialized runtime panic function 6 years ago
Ayke van Laethem 4ad6df3227
all: complete the implementation of interface asserts 6 years ago
Ayke van Laethem 61e6f7cf5b
compiler: add debug information for function parameters 6 years ago
Ayke van Laethem 43b8c24226
compiler: implement interface assertions 6 years ago
Ayke van Laethem 30ac6ec281
compiler: don't try to get pointer methods 6 years ago
Ayke van Laethem 0f83c3b3c6
compiler: allow copying a string to a slice 6 years ago
Ayke van Laethem 41a50ec336
compiler: simplify code for builtin len() 6 years ago
Ayke van Laethem 31f494e611
all: swap string from {len, ptr} to {ptr, len} for slice compatibility 6 years ago
Ayke van Laethem 5aa8b71ae1
compiler: implement builtin copy(dst, src []T) 6 years ago
Ayke van Laethem fd9fa038a9
compiler: fix make([]T, ...) type 6 years ago
Ayke van Laethem 01635b5efd
runtime: move panic functions to a separate file 6 years ago
Ayke van Laethem 65358ed3c9
interpreter: don't panic on a nil (*ssa.Call).Object() 6 years ago