Commit Graph

  • 99daa7b38f arm: implement setting interrupt priorities Ayke van Laethem 2018-12-03 13:43:07 +01:00
  • 7857c7235b machine/nrf52840: add support for ADC and PWM interfaces Ron Evans 2018-12-02 19:00:33 +01:00
  • 06ab3a836f machine/nrf: SPI master implementation Ron Evans 2018-11-30 21:34:28 +01:00
  • 23b283366d compiler: add header comment to defer.go Ayke van Laethem 2018-12-01 22:43:01 +01:00
  • 69fbfbddbb compiler: move defer code out of compiler.go Ayke van Laethem 2018-12-01 19:23:56 +01:00
  • b78562f95c compiler: add names to some of the IR instructions Ayke van Laethem 2018-12-01 18:36:05 +01:00
  • cf9fc00ae4 all: add stub pieces for GoLand support Justin Clift 2018-11-29 22:21:27 +11:00
  • 8325f2a53d reelboard: support Reel Board (nrf52840 dev board) Ron Evans 2018-11-19 09:00:27 +01:00
  • 8f35a4711a pca10056: support this nrf52840-based board Ron Evans 2018-11-27 19:30:28 +01:00
  • 70830cd9da tools: correct error generating board files that calculated the address incorrectly after a cluster type Ron Evans 2018-11-28 10:27:09 +01:00
  • e54a1c4dc0 compiler: disallow exporting functions that have their address taken Ayke van Laethem 2018-12-01 17:31:36 +01:00
  • da0a02d128 compiler: return error messages with source location Ayke van Laethem 2018-12-01 17:19:40 +01:00
  • 7bdb606d4f reflect: update type code type to uintptr Ayke van Laethem 2018-12-01 16:17:35 +01:00
  • 469193735a interp: report 'unreachable' instruction as an error Ayke van Laethem 2018-12-01 16:16:11 +01:00
  • cea0a5977a docs: enable tinygo/docker to resolve go dependencies Darren Rush 2018-11-21 17:59:56 -08:00
  • b4c90f3677 compiler: lower interfaces in a separate pass Ayke van Laethem 2018-11-09 17:16:36 +01:00
  • e45c4ac182 arm: set default GC to marksweep Ayke van Laethem 2018-11-28 17:34:11 +01:00
  • e817bd38ec main: configure default GC in target JSON file Ayke van Laethem 2018-11-28 17:33:16 +01:00
  • 05d70d288d wasm: fix printing from Go code Ayke van Laethem 2018-11-25 18:07:24 +01:00
  • f0fb1bd41a compiler: fix binops on named types in struct fields Ayke van Laethem 2018-11-24 22:13:01 +01:00
  • dbb3211485 wasm: add glue JS code Ayke van Laethem 2018-10-23 21:34:54 +02:00
  • 242a1843d1 wasm: fix heap end address Ayke van Laethem 2018-11-24 19:00:42 +01:00
  • e101937589 wasm: fix .json file after compiler updates Ayke van Laethem 2018-11-24 18:36:19 +01:00
  • 5c08eaf777 Dockerfile: remove arm-none-eabi-gcc dependency Ayke van Laethem 2018-11-22 14:09:01 +01:00
  • 44068ef396 travis: remove gcc dependency Ayke van Laethem 2018-11-22 13:41:12 +01:00
  • 62d74d8329 all: compile and link using clang, where possible Ayke van Laethem 2018-11-22 13:24:13 +01:00
  • 4a8ced590b tools/gen-device-svd: generate .s files compatible with lld Ayke van Laethem 2018-11-22 12:35:17 +01:00
  • d887d645f7 arm: implement SVCall Ayke van Laethem 2018-11-21 17:06:56 +01:00
  • ce0ad1daa2 pca10031: add support for PCA10031 nrf51 wireless dongle Ron Evans 2018-11-20 13:24:43 +01:00
  • bf4a43ef04 machine/avr: implement raw GPIO access for bitbanged drivers Ayke van Laethem 2018-11-20 21:04:43 +01:00
  • 9392ef900d avr: add support for the digispark Ayke van Laethem 2018-11-20 18:34:14 +01:00
  • a96e2879b2 avr: make stack size configurable Ayke van Laethem 2018-11-20 18:20:24 +01:00
  • 760bc5d0a4 targets: let specific targets inherit more general targets Ayke van Laethem 2018-11-19 21:08:12 +01:00
  • f02766265c targets: make compiler runtime selection more configurable Ayke van Laethem 2018-11-19 20:17:42 +01:00
  • 74b5e28a38 docs: add documentation for the -gc compiler flag Ayke van Laethem 2018-11-18 19:32:57 +01:00
  • 8402e84b6d runtime: implement a simple mark/sweep garbage collector Ayke van Laethem 2018-11-18 19:18:39 +01:00
  • dbf581b56d interp: do not try to interpret functions with an inttoptr instruction Ayke van Laethem 2018-11-18 18:41:59 +01:00
  • 27fc397e21 arm: implement arm.ReadRegister Ayke van Laethem 2018-11-18 18:40:36 +01:00
  • 8cb7b583d8 compiler: support creating slices with uncommon initial len/cap types Ayke van Laethem 2018-11-18 18:34:09 +01:00
  • 9181f2d4ce runtime: add "end of heap" to detect out of memory Ayke van Laethem 2018-11-17 15:30:38 +01:00
  • ef93001ab8 runtime: add "none" garbage collector Ayke van Laethem 2018-11-17 15:02:18 +01:00
  • c220c140ef all: make garbage collector configurable Ayke van Laethem 2018-11-17 15:01:30 +01:00
  • ecb4742316 main: do not run legacy init interpreter with run subcommand Ayke van Laethem 2018-11-17 14:48:48 +01:00
  • 21db7e6099 main: move "tinygo" build tag to compiler Ayke van Laethem 2018-11-17 14:36:41 +01:00
  • 15a4afb22a runtime: unify GC interface Ayke van Laethem 2018-11-17 14:11:58 +01:00
  • 4fdffdf8b2 interp: support non-const ptrtoint instruction Ayke van Laethem 2018-11-17 14:09:18 +01:00
  • c3c4a33b42 main: enable -initinterp by default Ayke van Laethem 2018-11-09 16:31:21 +01:00
  • 1ba463c7ee machine: redesign I2C interface Ayke van Laethem 2018-11-11 19:26:11 +01:00
  • 100901574b compiler: let escape analysis look across bitcasts Ayke van Laethem 2018-11-16 23:02:09 +01:00
  • 46755b774e compiler: fix another usage of the named type Denys Smirnov 2018-11-16 01:22:15 +01:00
  • 1ed019771d compiler: set debug info when defining a function Ayke van Laethem 2018-11-15 20:00:00 +01:00
  • ae3535945c all: add support to Dockerfile for AVR and ARM targets Ron Evans 2018-11-08 16:46:22 +01:00
  • 668c1741c3 compiler: implement array equality Ayke van Laethem 2018-11-15 11:50:47 +01:00
  • 6292a0fd2e compiler: fix bug in for range loop over a named map type Ayke van Laethem 2018-11-14 15:43:50 +01:00
  • 9bddaae04a compiler: support any int type in slice indexes Ayke van Laethem 2018-11-14 14:41:40 +01:00
  • ee7c276493 compiler: update integer type sizes Ayke van Laethem 2018-11-14 14:01:04 +01:00
  • 101d41dc58 compiler: pass i64 return value in an extra pointer param Ayke van Laethem 2018-11-13 13:36:30 +01:00
  • 7d8b269f2e interp: fix several bugs related to constant vs dirty values Ayke van Laethem 2018-11-14 12:20:06 +01:00
  • eccbd572eb interp: do cast operations at runtime if needed Ayke van Laethem 2018-11-09 16:27:49 +01:00
  • c4ef2908ee microbit: fix pin numbers for ADC and I2C Ayke van Laethem 2018-11-11 19:23:09 +01:00
  • 26acc89f9c compiler: avoid load/store on zero-length data Ayke van Laethem 2018-11-09 15:48:47 +01:00
  • 2ddb6f788a compiler: move interface-related stuff to a separate file Ayke van Laethem 2018-11-06 12:19:04 +01:00
  • d1c0d6120a compiler: simplify runtime.interfaceMethod signature slightly Ayke van Laethem 2018-11-05 19:04:10 +01:00
  • 611bca39ab all: rename 'arm' to 'tinygo.arm' for Cortex-M Ayke van Laethem 2018-11-09 11:19:54 +01:00
  • b1cf69a523 compiler: implement binop string: <, <=, >, >= Marc-Antoine Ruel 2018-11-08 15:06:53 -05:00
  • 76d04990f4 runtime: stub out some more syscall/js calls Ayke van Laethem 2018-11-05 13:52:56 +01:00
  • bf9d62fe98 interp: fix GEP with const value in a local variable Ayke van Laethem 2018-11-05 13:33:01 +01:00
  • 2cd9846cc9 interp: fix compile-time alloc linkage Ayke van Laethem 2018-11-05 12:44:23 +01:00
  • b4be9e033a runtime: add syscall/js stubs for microcontrollers Ayke van Laethem 2018-11-05 12:46:18 +01:00
  • 3d0ccb81c6 main: fix -initinterp flag Ayke van Laethem 2018-11-05 13:10:16 +01:00
  • bb3d05169d interp: add new compile-time package initialization interpreter Ayke van Laethem 2018-10-31 10:43:29 +01:00
  • f900d3f9d5 travis: remove Go master testing Ayke van Laethem 2018-11-04 18:29:17 +01:00
  • e930a1ead5 compiler: allow multiple basic blocks in package initializers Ayke van Laethem 2018-11-03 20:22:00 +01:00
  • a531caa2e9 compiler: implement deferring of interface calls Ayke van Laethem 2018-11-03 20:21:43 +01:00
  • 8f8942d763 compiler: make all functions unnamed_addr Ayke van Laethem 2018-11-03 18:47:49 +01:00
  • 3823870d07 main: print IR even when verification failed Ayke van Laethem 2018-11-03 18:26:46 +01:00
  • 60eefe1568 compiler: do not abort on verification failure Ayke van Laethem 2018-11-03 18:24:57 +01:00
  • 22914165cc reflect: add more stubs for encoding/binary Ayke van Laethem 2018-11-03 16:06:44 +01:00
  • e66d457c42 compiler: fix float <-> int conversions Ayke van Laethem 2018-11-03 12:20:55 +01:00
  • 8da1a5bc17 compiler: add comment to interface call signatures Ayke van Laethem 2018-11-03 12:04:33 +01:00
  • 2e22d53e5d compiler: work around i64 limitation in JavaScript Ayke van Laethem 2018-11-03 11:57:21 +01:00
  • d7844ce124 compiler, runtime: move defer notes to the runtime file Ayke van Laethem 2018-11-01 11:42:04 +01:00
  • c7cf6f0e82 docs: move calling convention documentation here Ayke van Laethem 2018-11-01 11:41:24 +01:00
  • 85d5fe7643 docs: add description of internal datatypes Ayke van Laethem 2018-10-31 20:47:12 +01:00
  • 06b8afab2e docs: add command line subcommands + flags documentation Ayke van Laethem 2018-10-31 19:49:51 +01:00
  • 7ea9a32058 docs: give a small example how JS<->wasm bridging is done Ayke van Laethem 2018-10-31 17:41:53 +01:00
  • 1b283c11c1 ir: do not throw an error on unknown conversions Ayke van Laethem 2018-10-31 10:19:25 +01:00
  • 4e4f91bea7 main: cleanup printing of IR Ayke van Laethem 2018-10-31 10:10:49 +01:00
  • 8a211d36aa compiler: only produce one bitcast from an alloca Ayke van Laethem 2018-10-28 19:44:39 +01:00
  • b09b07a52d wasm: allow all undefined symbols Ayke van Laethem 2018-10-30 15:56:23 +01:00
  • a459570d94 wasm: execute an 'unreachable' trap inst on panic Ayke van Laethem 2018-10-30 15:54:02 +01:00
  • 0314a487ff compiler: check slice cap instead of len during slicing Ayke van Laethem 2018-10-30 15:50:22 +01:00
  • 317b12b8c0 compiler: remove println statement Ayke van Laethem 2018-10-29 18:18:23 +01:00
  • 2a5c331516 compiler: assume external functions don't let pointers escape Ayke van Laethem 2018-10-29 14:04:55 +01:00
  • 772c6486ab runtime: correctly copy a zero-length buffer backwards Ayke van Laethem 2018-10-29 14:02:47 +01:00
  • d90d7be8a8 runtime: implement syscall.runtime_envs Ayke van Laethem 2018-10-28 19:23:31 +01:00
  • a3d87456cd tinygo: add 'tinygo' build tag Marc-Antoine Ruel 2018-10-27 16:44:09 -04:00
  • 436901dc49 compiler: implement operations on nil hashmaps Ayke van Laethem 2018-10-27 00:54:13 +02:00
  • c84fc6a670 main: gofmt Ayke van Laethem 2018-10-26 23:31:27 +02:00
  • e751e4afe9 compiler: avoid accidentally emitting debug info Ayke van Laethem 2018-10-26 23:30:46 +02:00