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

  • 0a40219680 compiler: implement comparing channel values Ayke van Laethem 2019-05-13 20:35:20 +02:00
  • c981f14e61 compiler: simplify some interface code Ayke van Laethem 2019-05-13 22:41:46 +02:00
  • 763b9d7d10 runtime: implement growing hashmaps Ayke van Laethem 2019-05-13 20:18:31 +02:00
  • 55fc7b904a compiler,runtime: use the size hint when creating a new map Ayke van Laethem 2019-05-13 16:38:58 +02:00
  • 17c42810d0 compiler: improve hashmaps by avoiding dynamic allocas Ayke van Laethem 2019-05-13 16:29:57 +02:00
  • 064d001550 Trivial typo fixes Justin Clift 2019-05-14 01:06:57 +10:00
  • a4cd3bb77c Test for functional argument passing (#336) seph 2019-05-13 08:40:58 -04:00
  • 8d3f19bc84 Fix I2C signalStop in readLastByte for Microbit (#344) Anthony Elder 2019-05-13 13:28:30 +01:00
  • d90f1947d9 machine/samd21: Initial implementation of I2S hardware interface using Circuit Playground Express Ron Evans 2019-05-03 09:15:52 +02:00
  • 11567c62d4 cgo: refactor; support multiple cgo files in a single package Ayke van Laethem 2019-05-10 19:48:33 +02:00
  • 4619207f99 cgo: don't crash on import "C" without comment Ayke van Laethem 2019-05-10 17:28:01 +02:00
  • 99587fe073 cgo: add support for #define constants Ayke van Laethem 2019-04-28 14:10:03 +02:00
  • eb0ce8a298 Makefile: avoid libtinfo and libz dependency of LLVM Ayke van Laethem 2019-05-07 22:14:14 +02:00
  • 4ae4ef5e12 compiler: implement complex division Ayke van Laethem 2019-05-04 23:02:32 +02:00
  • d7460b945e compiler: implement complex multiplication Ayke van Laethem 2019-05-04 22:48:44 +02:00
  • 638bc17eeb compiler: add support for complex add and sub Ayke van Laethem 2019-05-04 22:16:45 +02:00
  • 1113f9ec0c
    main: comment the TinyGo IR header line Justin Clift 2019-05-09 18:54:11 +10:00
  • 019331e8af Add llvm directorys to gitignore seph 2019-05-09 10:07:18 -04:00
  • 4c8c048c49 example: just using 'Cache-Control': 'no-cache' should be good enough Justin Clift 2019-05-04 13:10:05 +10:00
  • 08ee1916f5 main: fix multiple errors being reported as one Ayke van Laethem 2019-05-08 15:59:41 +02:00
  • 141a70f401 main: make $GOROOT more robust and configurable Ayke van Laethem 2019-05-05 17:24:36 +02:00
  • a79edf416c cgo: do not allow capturing of external/exported functions Ayke van Laethem 2019-05-03 21:11:30 +02:00
  • 2511aefac0 docker: perform a hard submodule reset after having moved the git repos directory Ron Evans 2019-05-05 13:40:41 +02:00
  • 4978065c9c cgo: avoid file/lineno hack for error locations Ayke van Laethem 2019-04-28 14:11:48 +02:00
  • 78a26fec13 cgo: be able to deal with nil files Ayke van Laethem 2019-04-28 00:07:28 +02:00
  • 9cad8bd0c8 main: add fallback mechanism for LLVM commands Ayke van Laethem 2019-05-03 19:30:54 +02:00
  • 9a54ee4241 compiler: allow larger-than-int values to be sent across a channel Ayke van Laethem 2019-05-04 21:32:00 +02:00
  • 46d5ea8cf6 compiler: support returning values from async functions Ayke van Laethem 2019-04-29 02:08:26 +02:00
  • fb952a722a Remove microbit matrix (#319) Daniel Esteban 2019-05-05 16:25:50 +02:00
  • 7e46c1766d compiler: fix comp. of func calls for func values of a defined type When compiling a piece of code where a function value is called, the compiler panics if the function value's type is a defined type, and not just a type literal (function signature): The type assertion (*types.Signature) fails, because the type of the func value is a *types.Named. Michael Teichgräber 2019-05-03 15:41:00 +02:00
  • 1f0595438e main: do not set working directory for Clang invocation Ayke van Laethem 2019-04-27 19:10:42 +02:00
  • d594342642 examples: tell browsers to not cache wasm files from the example server Justin Clift 2019-05-02 21:31:42 +10:00
  • 99da328453 compiler: avoid bitcast when replacing a method call with a direct call Ayke van Laethem 2019-04-29 00:12:34 +02:00
  • 387e1340bf compiler: refactor packing of word-sized values in integers Ayke van Laethem 2019-04-29 00:06:49 +02:00
  • b1ed8a46b7 cgo: only include the symbols that are necessary (recursively) Ayke van Laethem 2019-04-27 23:26:20 +02:00
  • 35af33ead7 cgo: improve typedef/struct/enum support Ayke van Laethem 2019-04-27 23:06:45 +02:00
  • 4bd1b9e53d wasm: use println instead of fmt Justin Clift 2019-04-30 15:25:50 +10:00
  • 80ee343e6d main: make tests more portable Ayke van Laethem 2019-04-27 17:46:45 +02:00
  • 1d59a960bc main: allow changing the clang command name Ayke van Laethem 2019-04-27 17:31:50 +02:00
  • 5ca2e1322c main: close ar file before moving it Ayke van Laethem 2019-04-27 17:30:19 +02:00
  • 5b0b35f9e4 main: use os.UserCacheDir to get a cache directory Ayke van Laethem 2019-04-27 17:28:21 +02:00
  • 9a3d0683b3 compiler: mark all GEPs as inbounds Ayke van Laethem 2019-04-25 11:21:14 +02:00
  • d155e31b64 all: improve compiler error handling Ayke van Laethem 2019-04-21 16:20:25 +02:00
  • 45cacda7b3 compiler: refactor parseExpr Ayke van Laethem 2019-04-21 15:39:27 +02:00
  • c25fe609a9 compiler: do not return an error from getLLVMType Ayke van Laethem 2019-04-21 14:34:37 +02:00
  • 6d23809218 compiler: simplify code around getZeroValue Ayke van Laethem 2019-04-21 14:04:22 +02:00
  • 024eceb476 runtime: print error when panicking with error interface type Ayke van Laethem 2019-04-24 15:35:27 +02:00
  • 0fd90c49cc compiler: make panic configurable Ayke van Laethem 2019-04-24 16:00:36 +02:00
  • d1efffe96b test: print better error messages on compilation failure Ayke van Laethem 2019-04-20 17:00:52 +02:00
  • 8e7ea92d44 cgo: improve error locations for cgo-constructed AST Ayke van Laethem 2019-04-20 16:55:55 +02:00
  • 2f2d62cc0c cgo: support builtin #include headers Ayke van Laethem 2019-04-20 15:14:48 +02:00
  • d396abb690 cgo: add dummy implementation of __builtin_va_list Ayke van Laethem 2019-04-24 20:30:12 +02:00
  • b815d3f760 cgo: implement void* pointer type Ayke van Laethem 2019-04-20 15:48:45 +02:00
  • 9c46ac4eed cgo: implement char type Ayke van Laethem 2019-04-20 15:10:27 +02:00
  • b2e96fc35a machine/atsamd21: select internal ground for ADC and scale result correctly to 16-bit Ron Evans 2019-04-22 07:59:35 +02:00
  • fa5df4f524 main: version 0.5.0 Ayke van Laethem 2019-04-20 17:33:22 +02:00
  • 09db7ead50 cgo: better error message when using an undefined CGo function pointer Ayke van Laethem 2019-04-20 02:42:13 +02:00
  • 21a4c14e86 cgo: implement C.struct_ types Ayke van Laethem 2019-04-20 02:39:31 +02:00
  • b716cf1afd loader/libclang: fix CGo-related crash Ayke van Laethem 2019-04-15 22:33:39 +02:00
  • 586023b45d src/examples/wasm: Show both methods supported Johan Brandhorst 2019-04-16 14:58:11 +01:00
  • a00a51e70e examples: add microbit blink example Ron Evans 2019-04-18 19:18:33 +02:00
  • 745b5dfb81 examples: remove colorlamp example that is better suited for the TinyGo Zoo (and already in it) Ron Evans 2019-04-18 19:03:13 +02:00
  • 9c50d47b82 BUILDING.md: update to commands included in Makefile Ayke van Laethem 2019-04-17 22:52:40 +02:00
  • 6c63a0d6e7 Makefile: build static binaries only Ayke van Laethem 2019-04-16 15:08:40 +02:00
  • 2a0a7722f9 compiler: lower func values to switch + direct call Ayke van Laethem 2019-04-15 15:46:26 +02:00
  • 1460877c28 compiler: refactor func value handling Ayke van Laethem 2019-04-14 15:53:35 +02:00
  • 0739775719 compiler: extract inline asm builtins into separate file Ayke van Laethem 2019-04-14 15:51:25 +02:00
  • 8d3b5a58d1 machine/atsamd21: correct pad/pin handling when using both UART and USBCDC interfaces at same time Ron Evans 2019-04-17 11:45:42 +02:00
  • 0d2a3ce532 Makefile: check whether LLVM was build before making a static binary Ayke van Laethem 2019-04-16 14:24:24 +02:00
  • d2b3a5486c cgo: implement C unions Ayke van Laethem 2019-04-11 23:14:10 +02:00
  • 536086988c cgo: implement Go arrays (constant arrays in C) Ayke van Laethem 2019-04-11 14:20:53 +02:00
  • 684543b7f1 cgo: implement struct types Ayke van Laethem 2019-04-11 14:03:08 +02:00
  • bd8e47af80 cgo: make libclang code thread-safe Ayke van Laethem 2019-04-11 13:57:14 +02:00
  • 5b34713d41 main: fix linker script includes when running outside TINYGOROOT Ayke van Laethem 2019-04-16 15:49:31 +02:00
  • f1aea13c51 tools: remove Makefile tasks that are redundant thanks to TinyGo improvements Ron Evans 2019-04-16 13:08:08 +02:00
  • 7bcabe53ca compiler: fix interface lowering pass Ayke van Laethem 2019-04-15 15:33:18 +02:00
  • 7de3d4be2b all: support interface asserts in interp Ayke van Laethem 2019-04-13 17:13:16 +02:00
  • 02ecab833f all: check formatting on CI Ayke van Laethem 2019-04-12 14:11:23 +02:00
  • 1322f404a6
    stm32: add support for the STM32F4Discovery Yusuke Mitsuki 2019-04-12 13:36:14 +09:00
  • 315cd4059f main: drop the dependency on llvm-ar Ayke van Laethem 2019-04-07 15:40:03 +02:00
  • 078dd9ff52 cgo: improve diagnostics Ayke van Laethem 2019-04-10 15:51:44 +02:00
  • e5029c63d1 compiler: optimize ptrtoint+add+inttoptr pattern Ayke van Laethem 2019-04-07 16:37:57 +02:00
  • dcffbc49c4 compiler: add param attrs to memmove and memcpy Ayke van Laethem 2019-04-07 16:36:14 +02:00
  • 6a2a587dff compiler: fix MakeSlice bounds check and casting Ayke van Laethem 2019-04-05 16:55:34 +02:00
  • 3a76a49ddf compiler: fix int casting to use the source signedness Ayke van Laethem 2019-04-05 16:51:03 +02:00
  • 81a1114ee5 compiler: truncate string slice indices if necessary Ayke van Laethem 2019-04-05 15:24:51 +02:00
  • 30e192e7e8 compiler: let the default 'low' slice bound be a uintptr Ayke van Laethem 2019-04-05 15:21:27 +02:00
  • a965882a34 compiler: support i16 uintptr in cap builtin Ayke van Laethem 2019-04-05 15:17:04 +02:00
  • f967c6919a interp: fix segmentation fault in some builds Ayke van Laethem 2019-04-10 16:42:44 +02:00
  • 2e926789f5 circleci: do macOS builds here instead of on Travis CI Ayke van Laethem 2019-04-05 13:45:02 +02:00
  • 38c3d0852e compiler: implement casting named structs and pointers to them Ayke van Laethem 2019-04-05 14:25:30 +02:00
  • 85f2ef40f8 machine/itsybitsy-m0: set pins and pin mode mapping for i2c0 bus Ron Evans 2019-04-05 15:25:11 +02:00
  • ae4ead8690 machine/circuitplay: correct pin and pin mode mapping for both i2c0 (external) and i2c1 (internal) buses Ron Evans 2019-04-05 12:10:19 +02:00
  • ebebdd5651 circleci: build LLVM statically Ayke van Laethem 2019-04-04 02:31:43 +02:00
  • 1778d92858 Makefile: automatically build LLVM when needed Ayke van Laethem 2019-04-04 02:21:54 +02:00
  • 86f8778748 darwin: use custom syscall pkg that uses libsystem Ayke van Laethem 2019-03-24 12:59:09 +01:00
  • 2523772b5d arm: use the lld linker Ayke van Laethem 2019-04-02 19:17:53 +02:00
  • 31d57fd3d1 main: use wasm-ld instead of wasm-ld-8 on macOS Ayke van Laethem 2019-04-02 19:17:07 +02:00
  • d653088cbe compiler: fix escapes due to nil checks Ayke van Laethem 2019-03-30 13:14:04 +01:00
  • cd8471acae all: support Go 1.12 Ayke van Laethem 2019-03-07 15:17:18 +01:00