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

  • 3f05490846
    compiler: fix odd bounds check failure with impossible typeassert Ayke van Laethem 2018-10-20 17:21:47 +02:00
  • 77d6d6c417
    compiler: allow structs in map keys Ayke van Laethem 2018-10-20 17:21:13 +02:00
  • c0c1ccb381
    compiler, runtime: implement delete builtin Ayke van Laethem 2018-10-20 16:18:55 +02:00
  • 7f60dd79ee
    sync: implement dummy sync.Pool for fmt Ayke van Laethem 2018-10-20 15:52:41 +02:00
  • 19f7927515
    compiler: compare booleans Ayke van Laethem 2018-10-20 15:47:59 +02:00
  • 6a95b84cd8
    compiler: support all operations on untyped strings Ayke van Laethem 2018-10-20 15:47:02 +02:00
  • 22bc0f979d
    README: scope Ayke van Laethem 2018-10-20 15:20:11 +02:00
  • c4557176ef
    README: contributing Ayke van Laethem 2018-10-20 14:50:44 +02:00
  • 55a60acbf4
    README: improve documentation references Ayke van Laethem 2018-10-20 14:35:04 +02:00
  • 3babdfdc00
    compiler: fix runtime.mainWrapper linkage and debug info Ayke van Laethem 2018-10-19 17:39:41 +02:00
  • 963ba16d7b
    compiler: add support for the append builtin Ayke van Laethem 2018-10-19 14:40:19 +02:00
  • b81aecf753
    docs: add "Supported targets" page Ayke van Laethem 2018-10-18 15:35:04 +02:00
  • fd45410c24
    runtime: add proper arm arch Ayke van Laethem 2018-10-18 15:05:21 +02:00
  • daf92226d8
    nrf: add nrf52840-mdk board Ayke van Laethem 2018-10-06 13:53:58 +02:00
  • f9edf7cc5c
    test: add slice tests Ayke van Laethem 2018-10-18 15:02:53 +02:00
  • 72390c21cb
    docs: add FAQ Ayke van Laethem 2018-10-17 17:55:11 +02:00
  • a613d0484e
    runtime: add support for time.Now() Ayke van Laethem 2018-10-15 20:20:37 +02:00
  • ccee42ec7a
    machine: add helpers for bit-banged driver support Ayke van Laethem 2018-10-15 19:56:27 +02:00
  • 392bba8394
    compiler: add support for parameters to inline assembly Ayke van Laethem 2018-10-15 19:37:09 +02:00
  • 52199f4a14
    compiler: eliminate created but never used maps Ayke van Laethem 2018-10-12 17:00:39 +02:00
  • 25e73a5439
    compiler: align and zero-initialize stack allocated values Ayke van Laethem 2018-10-12 16:57:17 +02:00
  • 2917347ff5
    compiler: implement operations on some named types Ayke van Laethem 2018-10-12 16:53:55 +02:00
  • 9406a4d74a
    main: add -opt= flag for the optimization level Ayke van Laethem 2018-10-10 14:14:45 +02:00
  • 0ed00bf6c6
    test: add hashmap tests Ayke van Laethem 2018-10-10 14:11:15 +02:00
  • 0ce5347409
    runtime: fix hashmap lookup of entries at position > 8 Ayke van Laethem 2018-10-10 14:09:17 +02:00
  • e1e3dbdce6
    compiler: correctly generate global hashmaps of size > 8 Ayke van Laethem 2018-10-10 14:06:59 +02:00
  • 0e65b0da1c
    docs: add page "Go on microcontrollers" Ayke van Laethem 2018-10-09 15:31:56 +02:00
  • 823ecd5167
    docs: reorder internals sections Ayke van Laethem 2018-10-09 13:55:54 +02:00
  • ec73bd6a26
    compiler: optimize runtime.stringToBytes calls Ayke van Laethem 2018-10-06 21:26:34 +02:00
  • 4219652535
    compiler: add basic heap-to-stack optimization Ayke van Laethem 2018-09-29 20:40:15 +02:00
  • ca13bfd992
    microbit: add SetEntireLEDMatrixOn() function Ron Evans 2018-10-08 08:45:20 +02:00
  • aee9eb413e
    main, travis: add qemu to run tests in Ayke van Laethem 2018-10-08 20:24:07 +02:00
  • 3289dd7134
    compiler: use a fresh context for every compilation Ayke van Laethem 2018-10-08 20:18:12 +02:00
  • a63af97e86
    all: add emulation support for Cortex-M3 with QEMU Ayke van Laethem 2018-10-08 17:07:19 +02:00
  • 8982b8df83
    runtime: refactor initialization code Ayke van Laethem 2018-10-08 14:49:33 +02:00
  • 96f07243a4
    main: add aeabi builtins to arm targets Ayke van Laethem 2018-10-07 23:20:10 +02:00
  • e50c6f1af1
    main: generate binary files when compiling to .bin Ayke van Laethem 2018-10-07 22:48:33 +02:00
  • f0f6a12d19
    docs: add avr-libc as a dependency Ayke van Laethem 2018-10-07 22:14:44 +02:00
  • 1bbdab41d2
    all: improve compiler-rt compilation Ayke van Laethem 2018-10-07 21:29:45 +02:00
  • 73709922b2
    main: extra interface test for simple named types Ayke van Laethem 2018-10-07 19:30:36 +02:00
  • c516a11004
    microbit: add functions for LED matrix and correct button pin mapping Ron Evans 2018-10-06 13:32:51 +02:00
  • 269bef5494
    microbit: add Makefile entries for target=microbit Ron Evans 2018-10-06 13:25:36 +02:00
  • 22da104530
    all: use compiler-rt for builtins Ayke van Laethem 2018-10-07 17:37:27 +02:00
  • e8f211935e
    compiler: fix expanded structs in invoke calls Ayke van Laethem 2018-10-07 13:19:38 +02:00
  • 4957db89f4
    compiler: fix interface calls for big underlying values Ayke van Laethem 2018-10-07 02:06:48 +02:00
  • 482c5633dd
    compiler: put debug information on package initializer functions Ayke van Laethem 2018-10-06 23:50:35 +02:00
  • 5db43e8d04
    compiler: move Optimize() function to a separate file Ayke van Laethem 2018-10-06 19:57:19 +02:00
  • c9c9935b9c
    travis: add micro:bit Ayke van Laethem 2018-10-06 13:51:40 +02:00
  • bc9210b674
    nrf: add micro:bit board Ayke van Laethem 2018-10-05 14:14:32 +02:00
  • e4fa1a8288
    nrf: I2C interface Ron Evans 2018-10-03 20:34:22 +02:00
  • 8f7b7e6ee3
    nrf52: implement ADC and PWM interfaces Ron Evans 2018-10-02 16:23:55 +02:00
  • 3e98fbcdc8
    avr: use machine.UART0 as stdout Ayke van Laethem 2018-10-04 13:36:38 +02:00
  • f37d409855
    nrf: use machine.UART0 as stdout Ayke van Laethem 2018-10-04 13:36:15 +02:00
  • b36b9c24a2
    tools/gen-device-svd: fix interrupts for derived peripherals Ayke van Laethem 2018-10-03 20:06:13 +02:00
  • 9d408b7cbc
    main: hide OCD output by default in gdb subcommand Ayke van Laethem 2018-10-03 19:32:54 +02:00
  • 5d2ffa79e5
    compiler: improve debug info to cover initialization Ayke van Laethem 2018-10-03 19:24:29 +02:00
  • f2768bee17
    nrf: better formatting of pca10040.json Ayke van Laethem 2018-10-03 19:02:20 +02:00
  • b08c8a0cf0
    all: implement gdb sub-command for easy debugging Ayke van Laethem 2018-10-03 19:01:25 +02:00
  • ef2ac09561
    nrf: implement UART interface Ron Evans 2018-09-27 17:26:23 +02:00
  • 3540fd9638
    travis: try to build blinky2 for the host Ayke van Laethem 2018-10-02 16:00:23 +02:00
  • afecd28859
    travis: test running a few builds for MCUs Ayke van Laethem 2018-10-02 13:23:27 +02:00
  • 2ca4540f2a
    tools/gen-device-svd: support old Python version Ayke van Laethem 2018-10-02 13:44:27 +02:00
  • bdcac9ae42
    Makefile: add gen-device-stm32 to gen-device target Ayke van Laethem 2018-10-02 13:29:40 +02:00
  • ffa6d562a9
    tools/gen-device-svd: fix bug in previous commit Ayke van Laethem 2018-10-01 21:21:09 +02:00
  • a72d0b7959
    tools/gen-device-svd: make sure all clusters are included Ayke van Laethem 2018-10-01 17:14:02 +02:00
  • 4c8a725d78
    avr: implement UART interface Ron Evans 2018-09-26 12:34:04 +02:00
  • bcf441ccba
    docs: add another way in which a llvm-7-dev installation can fail Ayke van Laethem 2018-09-30 18:02:15 +02:00
  • eac81e5232
    Makefile: run verbose 'make test' Ayke van Laethem 2018-09-30 18:01:14 +02:00
  • 02936042b8
    travis: add Travis CI build script Ayke van Laethem 2018-09-30 15:50:11 +02:00
  • a2e57b40f9
    docs: update installation instructions Ayke van Laethem 2018-09-30 15:40:58 +02:00
  • f107a24b72
    all: use LLVM library provided by the system Ayke van Laethem 2018-09-29 00:01:51 +02:00
  • 5c79a93c85
    tools/gen-device-svd: generate code for cluster arrays Ayke van Laethem 2018-09-30 14:54:42 +02:00
  • 9b4a6dcc14
    tools/gen-device-svd: move peripheral list to beginning Ayke van Laethem 2018-09-30 12:52:34 +02:00
  • e77a5af5d2
    tools/gen-device-svd: rewrite with ElementTree Ayke van Laethem 2018-09-30 12:48:03 +02:00
  • ee5d562050
    examples: add color mood lamp that shows using GPIO, PWM, ADC, and I2C all at the same time on an Arduino Ron Evans 2018-09-26 14:48:29 +02:00
  • 802350f8da
    main: helpful error message for flash cmd without -target Ayke van Laethem 2018-09-29 22:39:44 +02:00
  • b6db84e916
    main: use GOPATH from the environment Ayke van Laethem 2018-09-29 22:30:45 +02:00
  • 5bf058a0a6
    nrf: fix off-by-one in modulo of runtime.ticks Ayke van Laethem 2018-09-29 16:16:38 +02:00
  • c1a833c7cc
    main: add basic float tests Ayke van Laethem 2018-09-29 00:12:23 +02:00
  • 717262c0a6
    main: add coroutine/sleep tests Ayke van Laethem 2018-09-29 00:11:58 +02:00
  • 318567f398
    ir: fix nil pointer dereference in IsVolatile Ayke van Laethem 2018-09-29 00:11:05 +02:00
  • 8d170d3bd2
    all: change special type __volatile to pragma //go:volatile Ayke van Laethem 2018-09-28 13:17:03 +02:00
  • 0e813c4cb7
    main: add -no-debug flag to avoid DWARF debug info Ayke van Laethem 2018-09-25 20:17:46 +02:00
  • 69f2cec045
    avr: fix build for Arduino Ayke van Laethem 2018-09-25 14:32:02 +02:00
  • 8f661d25a9
    main_test: fix error logging of test Ayke van Laethem 2018-09-25 14:25:38 +02:00
  • 4731f2f787
    testdata: add better tests for struct expanding Ayke van Laethem 2018-09-25 14:24:44 +02:00
  • 12fb4f3f91
    avr: i2c implementation with BlinkM example Ron Evans 2018-09-22 13:36:42 +02:00
  • d190bfccf6
    Makefile: add 'make test' that runs go test Ayke van Laethem 2018-09-25 13:48:51 +02:00
  • 13cb7d6503
    avr: add interrupt support Ayke van Laethem 2018-09-23 23:31:28 +02:00
  • dc88948f55
    Makefile: go fmt testdata/*.go Ayke van Laethem 2018-09-25 13:45:50 +02:00
  • 174b6333f8
    compiler: fix expanding zero-length structs Ayke van Laethem 2018-09-25 13:44:32 +02:00
  • d8f0ddf3fa
    main: add tests Ayke van Laethem 2018-09-24 17:24:58 +02:00
  • ed227b8fd3
    all: fix errors reported by go vet Ayke van Laethem 2018-09-24 17:19:50 +02:00
  • a2eaaa42a0
    main: optimize 'tinygo run' Ayke van Laethem 2018-09-24 16:22:09 +02:00
  • c9ae72a105
    all: allow -O0 optimization level Ayke van Laethem 2018-09-24 16:17:42 +02:00
  • 6191d4e1ac
    compiler: rename .Parse() to .Compiler() Ayke van Laethem 2018-09-24 15:54:39 +02:00
  • 1b229a8f8b
    compiler: support compiling individual .go files Ayke van Laethem 2018-09-24 15:35:50 +02:00
  • a561e9a9ac
    ir: move adding packages from the compiler Ayke van Laethem 2018-09-24 15:17:32 +02:00
  • 9df04a2170
    compiler: fix panic on import errors Ayke van Laethem 2018-09-24 14:41:10 +02:00
  • 8a468786df
    compiler: use config struct for options Ayke van Laethem 2018-09-24 14:18:50 +02:00