Граф коммитов

  • b64fc5484a runtime: implement memmove intrinsic Ayke van Laethem 2019-04-01 13:33:40 +02:00
  • 38f8cf7bee compiler: imporove escape analysis to allow icmp Ayke van Laethem 2019-03-24 16:47:36 +01:00
  • f484dddbc2 circleci: don't install the llvm package Ayke van Laethem 2019-03-23 00:06:07 +01:00
  • a2d0f79be3 all: pretend to be linux/arm in baremetal targets Ayke van Laethem 2019-03-22 21:53:44 +01:00
  • 792274e86f runtime/wasm: provide dummy runtime.setEventHandler Ayke van Laethem 2019-03-07 15:16:11 +01:00
  • 06aa88abfb reflect: add stubs for Value.MapRange Ayke van Laethem 2019-02-28 14:11:59 +01:00
  • ad7297a539 all: implement trivial select statements Ayke van Laethem 2019-02-28 14:11:46 +01:00
  • 4d82f42d61 runtime: add runtime.nanotime Ayke van Laethem 2019-02-27 20:36:04 +01:00
  • 9c41011e17 all: switch to LLVM 8 Ayke van Laethem 2019-02-14 11:24:29 +01:00
  • 5569cd1b6b main: version 0.4.1 Ayke van Laethem 2019-03-15 12:53:49 +01:00
  • d6c2d6e301
    main: use OS specific name for llvm-ar-7 tool to ensure that llvm7 toolchain works as expected Ron Evans 2019-03-14 19:51:07 +01:00
  • a466dd8f2b main: include .data section in .hex file Ayke van Laethem 2019-03-11 16:18:09 +01:00
  • b1744db2c8 main: version 0.4.0 Ayke van Laethem 2019-03-09 17:43:52 +01:00
  • bd6a7b69ce compiler: inline slice bounds checking Ayke van Laethem 2019-03-07 18:17:57 +01:00
  • 051ad07755 compiler: refactor slice related asserts Ayke van Laethem 2019-03-07 18:07:08 +01:00
  • 09e85b7859 machine/stm32f103xx: correct convertion for fractional timing of RTC as used in ticks() function Ron Evans 2019-03-08 17:27:49 +01:00
  • 622d0ebde6 compiler: implement nil checks Ayke van Laethem 2019-03-07 13:33:46 +01:00
  • b7cdf8cd0c interp: refactor to eliminate lots of code Ayke van Laethem 2019-03-06 14:22:26 +01:00
  • cfc1a66e8d interp: use correct initialization order on panic() calls Ayke van Laethem 2019-03-07 15:05:25 +01:00
  • 4ad9bd8643 wasm: ignore arguments and environment variables Ayke van Laethem 2019-03-06 17:53:47 +01:00
  • 2a1dd98661
    compiler: support output file using UF2 bootloader format Ron Evans 2019-03-05 22:17:23 +01:00
  • 2c03192691 LICENSE: update author and year Ayke van Laethem 2019-03-06 17:03:17 +01:00
  • 9d6df2b4c7
    machine/samd21: implement ADC Ron Evans 2019-03-06 13:59:21 +01:00
  • 5939729c45 main: only run WebAssembly tests on Linux Ayke van Laethem 2019-03-06 10:45:34 +01:00
  • c7b91da8c4 compiler: support function pointers outside of addrspace 0 Ayke van Laethem 2019-01-01 20:22:39 +01:00
  • c7fdb6741f compiler: rename biggestInt → capacityType Ayke van Laethem 2019-02-07 17:54:34 +01:00
  • b837c94366 compiler: calculate max number of entries in slice at compile time Ayke van Laethem 2019-02-07 17:37:22 +01:00
  • 26e7e93478 compiler: make sure make([]T, ...) checks for Ts bigger than 1 Ayke van Laethem 2019-01-27 14:27:08 +01:00
  • 8e99c3313b compiler: fix make([]T, ...) with big integers on 32-bit systems or less Ayke van Laethem 2019-01-10 14:09:04 +01:00
  • 28987ae061 docs: update README with recently added Adafruit Circuit Playground Express board Ron Evans 2019-03-05 10:08:28 +01:00
  • b594f212fb test: add WebAssembly tests Ayke van Laethem 2019-01-21 14:54:08 +01:00
  • 41e093d7bb wasm: switch emulator to node.js Ayke van Laethem 2019-01-21 14:49:16 +01:00
  • 665c3bdaa6 machine/samd21: implement SPI interface for currently supported SAMD21 boards Ron Evans 2019-03-04 21:04:25 +01:00
  • ea3d232c84 circleci: replace Linux tests on Travis CI with CircleCI Ayke van Laethem 2019-02-27 17:30:00 +01:00
  • 4f932b6e66 all: use internal objcopy implementation Ayke van Laethem 2019-02-23 19:41:30 +01:00
  • 3538ba943c machine/samd21: move definitions for I2C interfaces into board files, since pin connections on each SAMD21-based board implementation can differ Ron Evans 2019-03-04 17:08:52 +01:00
  • 543696eafc machine/samd21: correct get/setPinCfg and get/setPMux functions for PORTB pins Ron Evans 2019-03-04 17:04:15 +01:00
  • 6e5ae83302 machine/samd21: init all SERCOM clocks to better handle board variants Ron Evans 2019-03-04 16:07:21 +01:00
  • 9b4071237f arm: switch to hardfloat ABI for Linux Ayke van Laethem 2019-02-14 11:40:27 +01:00
  • 1c68da89af
    main: version 0.3.0 Ayke van Laethem 2019-02-27 12:09:27 +01:00
  • 4424fe087d machine/circuitplay_express: add basic support for Adafruit Circuit Playground express pin mappings Ron Evans 2019-02-24 21:25:22 +01:00
  • 34939ab422 machine/atsamd21: add GPIO_INPUT_PULLUP and GPIO_INPUT_PULLDOWN GPIO pin config options Ron Evans 2019-02-24 21:19:12 +01:00
  • c56b2a45fa
    machine/samd21: handle PINMUX and PINCFG registers correctly for PORTB pins Ron Evans 2019-02-23 20:09:24 +01:00
  • b1c70d85f7 nrf: add CPU frequency Ayke van Laethem 2019-02-23 15:11:53 +01:00
  • 714d98354c arm: provide intrinsics to disable/enable interrupts Ayke van Laethem 2019-02-23 15:03:11 +01:00
  • 6e8df2fc40 samd21: define and use hardware pin numbers Ayke van Laethem 2019-02-23 14:25:19 +01:00
  • 902f40867f samd21: add GPIO support for port B Ayke van Laethem 2019-02-21 20:37:45 +01:00
  • 5438f16fcb
    machine/atsamd21: support for USB CDC aka serial interface Ron Evans 2019-02-21 20:29:12 +01:00
  • 7f027ddd33 machine/samd21: correct calculation for runtime ticks() function so that go routine scheduling can function as expected as described in issue #149 Ron Evans 2019-02-22 09:08:46 +01:00
  • acaf096586 compiler: extend flash command to support different output file types, based on contents of flash key in target file Ron Evans 2019-02-23 11:31:38 +01:00
  • 942d4903ce
    machine/atsamd21: extracts functionality for processor family into shared files. Ron Evans 2019-02-20 12:33:00 +01:00
  • 0b212cf2f6 all: add macOS support Ayke van Laethem 2019-02-09 23:18:17 +01:00
  • 2d5bc836f5 build: correct Makefile to build tinygo executable correctly when build directory does not exist, such as after running 'make clean' Ron Evans 2019-02-19 09:43:12 +01:00
  • 856e5fa179 ir: remove old cgo related code Ayke van Laethem 2019-02-09 13:46:19 +01:00
  • 07733ca056 compiler: remove some dead code reported by go vet Ayke van Laethem 2019-02-09 13:38:01 +01:00
  • 92d9b780b5 all: remove init interpretation during IR construction Ayke van Laethem 2019-02-09 13:31:51 +01:00
  • da345e8723 cgo: implement bool/float/complex types Ayke van Laethem 2019-02-08 19:56:43 +01:00
  • fab38a0749 compiler: use Clang data layout for complex numbers Ayke van Laethem 2019-02-08 19:42:24 +01:00
  • 0a3dbbd1cb Added regular pins const for bbc:microbit (#181) Daniel Esteban 2019-02-11 16:33:10 +01:00
  • 4c29f0fdb6
    wasm: support wasm example on Safari admin 2019-02-11 18:19:33 +09:00
  • fbc2099ee3
    main: version v0.2.0 Ayke van Laethem 2019-02-08 16:54:50 +01:00
  • 95d895646a
    loader/cgo: add support for function pointers Ayke van Laethem 2019-02-07 13:50:09 +01:00
  • 35fb594f8f
    loader/cgo: add support for pointer types Ayke van Laethem 2019-02-07 13:20:19 +01:00
  • 01f6aff422 loader: support global variables in CGo (#173) Ayke 2019-02-08 13:04:03 +01:00
  • 7dd5839f47
    build: display output file sizes for target smoke test builds on Travis (#175) Ron Evans 2019-02-08 13:03:20 +01:00
  • 403fee7e06
    Add tinygo version subcommand (#172) Ron Evans 2019-02-08 11:22:47 +01:00
  • 7657238c24
    docs: refactor README content (#171) Ron Evans 2019-02-08 08:59:06 +01:00
  • 3cba36f2ba compiler: add syscalls for 64-bit arm Ayke van Laethem 2019-02-05 20:13:39 +01:00
  • 93d5269fef compiler: add syscalls for 32-bit arm Ayke van Laethem 2019-02-05 19:30:52 +01:00
  • 4b477fad55 all: update Travis CI to Ubuntu Xenial Ayke van Laethem 2019-02-02 10:45:11 +01:00
  • 6360e318a7 runtime: add support for math package Ayke van Laethem 2019-02-01 17:22:09 +01:00
  • 0757eb5919 main: link with --gc-sections Ayke van Laethem 2019-02-01 17:29:14 +01:00
  • 013a71aa3d compiler: support NaN in float comparisons Ayke van Laethem 2019-02-01 16:22:58 +01:00
  • f0091b31b5
    Add CONTRIBUTING.md to help us help you (#169) Ron Evans 2019-02-05 18:25:19 +01:00
  • 709a296150 os: add basic OS functionality Ayke van Laethem 2019-02-05 00:48:56 +01:00
  • f7b2a2c977 compiler: implement syscall.Syscall* as builtins Ayke van Laethem 2019-02-05 00:25:33 +01:00
  • 6ae4b43eb2 interp: fix recursive scanning Ayke van Laethem 2019-02-05 00:20:38 +01:00
  • bece6b9648 interp: remove init call when hitting 'unreachable' Ayke van Laethem 2019-02-04 13:14:06 +01:00
  • 553f00bdb8 interp: fix uintptr type context in interface Ayke van Laethem 2019-02-04 13:13:26 +01:00
  • a789108926 test: add -short flag that only tests on the host Ayke van Laethem 2019-02-05 01:04:41 +01:00
  • d63ce0646c compiler: avoid all debug info with -no-debug Ayke van Laethem 2019-02-05 00:50:08 +01:00
  • 003211b4ff
    reflect: implement Value.Set*() for basic types Ayke van Laethem 2019-01-20 21:16:52 +01:00
  • e6720d7ddc
    compiler: add support for comparing complex numbers Ayke van Laethem 2019-01-20 21:14:42 +01:00
  • dfef168139
    reflect: add limited support for all type kinds Ayke van Laethem 2019-01-20 17:30:27 +01:00
  • 101f2e519b
    compiler: add support for zero channel constant Ayke van Laethem 2019-01-20 17:43:51 +01:00
  • eb34afde4b
    amd64: align on 16 bytes instead of 8 Ayke van Laethem 2019-01-20 17:45:02 +01:00
  • 63f2a3dfe9
    reflect: support slices and indexing of strings and slices Ayke van Laethem 2018-12-13 16:50:29 +01:00
  • fb23e9c212
    reflect: add support for non-named basic types Ayke van Laethem 2018-12-12 14:34:07 +01:00
  • 222c4c75b1
    test: check for errors when globbing test packages Ayke van Laethem 2018-12-12 14:26:33 +01:00
  • 5a509f5bfe
    compiler: support some more types in interfaces Ayke van Laethem 2018-12-12 14:26:00 +01:00
  • 2e46275c45
    compiler: support complex64 constants Ayke van Laethem 2018-12-12 14:24:54 +01:00
  • 1d34f868da
    compiler: sort interface type codes in reverse order Ayke van Laethem 2018-12-12 14:22:52 +01:00
  • f0904779a5
    reflect: add reflect.TypeOf Ayke van Laethem 2018-12-12 11:52:47 +01:00
  • 70f1064f36 making Docker build resilient (#168) Samuel Lang 2019-02-05 15:57:52 +01:00
  • 930de54dc5
    main: add instructions how to build a release tarball Ayke van Laethem 2019-02-01 13:05:08 +01:00
  • 25cd982263
    main: optionally build with LLD Ayke van Laethem 2019-01-26 00:30:28 +01:00
  • 9bbb233cf0
    main: include prebuilt compiler-rt libraries in release tarball Ayke van Laethem 2019-01-25 21:36:34 +01:00
  • 5b507593d2
    main: give more context when running an external results in an error Ayke van Laethem 2019-01-25 21:22:35 +01:00
  • 05d2c14600
    all: add static and release Makefile targets Ayke van Laethem 2019-01-22 13:35:45 +01:00
  • e7ad366f20
    target: detect source directory more reliably Ayke van Laethem 2019-01-22 13:33:54 +01:00