Commit Graph

  • 7e6a54ac62 main: add build tags for the Go stdlib version Ayke van Laethem 2019-05-24 14:21:43 +02:00
  • 7156afca9e interp: support some more expressions in const icmp Ayke van Laethem 2019-05-24 13:43:34 +02:00
  • 87ac804642 ci: make sure that all examples are included in the smoketests Ayke van Laethem 2019-05-23 20:34:58 +02:00
  • edcb11f9f6 ci: move tests from CircleCI config to Makefile Ayke van Laethem 2019-05-22 17:24:52 +02:00
  • 3568254593 machine/atsamd21: fix analog pin mode Ayke van Laethem 2019-05-23 20:25:23 +02:00
  • 3bf4c06c99 interp: work around limitation of constfolding in IR builder Ayke van Laethem 2019-05-21 17:43:45 +02:00
  • f1d9e7b75e interp: make errors during branches more reliable Ayke van Laethem 2019-05-21 17:40:03 +02:00
  • e4d53daa02 machine/stm32: refactor to use new volatile package for all register access Ron Evans 2019-05-19 23:22:23 +02:00
  • 98a3047b58 all: add go.mod and go.sum files for vgo support Ayke van Laethem 2019-05-19 20:23:38 +02:00
  • ba85c82fbb arm: print an error when a HardFault occurs Ayke van Laethem 2019-05-19 19:05:29 +02:00
  • 7b6ef65fe7 compiler: create temporary allocas with appropriate lifetimes Ayke van Laethem 2019-05-19 18:36:27 +02:00
  • de032cddd2 machine/sam: Refactor all machine/runtime code to use new volatile package/API Ron Evans 2019-05-16 13:54:54 +02:00
  • 51c6b972bf machine/feather-m0: correct board build tag and add placeholders for I2S interface Ron Evans 2019-05-19 19:43:52 +02:00
  • 4cd151faf5 Add Feather M0 Board (#356) Anthony Elder 2019-05-19 16:10:17 +01:00
  • 5342d392aa interp: improve scan for loads Ayke van Laethem 2019-05-18 14:53:50 +02:00
  • f94af9f61e compiler: avoid some obviously false nil checks Ayke van Laethem 2019-05-18 14:36:18 +02:00
  • 7ada00790c cgo: print better error messages for unknown types Ayke van Laethem 2019-05-17 14:33:38 +02:00
  • dfa713040a cgo: add support for enum types Ayke van Laethem 2019-05-16 22:16:58 +02:00
  • 82dc14b741 docker: do not remove make from tinygo-dev docker image, to make it easier to run drivers CI build, which uses the tinygo-dev image Ron Evans 2019-05-15 11:40:13 +02:00
  • d3f2237d44 docs: update README with new boards Adafruit Trinket M0, and STM32F407 Discovery Ron Evans 2019-05-14 19:38:39 +02:00
  • fc2ed2bdd0 [Board] Adafruit Trinket (#333) Martin Treml 2019-05-14 19:30:39 +02:00
  • a1e69bbc13 WIP: precise GC gc-precise Ayke van Laethem 2019-02-19 12:40:30 +01:00
  • 1b4d71bd3d runtime: refactor garbage collectors Ayke van Laethem 2019-02-17 20:33:07 +01:00
  • 43b3bb6e83 all: rename garbage collectors Ayke van Laethem 2019-02-17 20:19:08 +01:00
  • e0cf74e638 avr: use register wrappers that use runtime/volatile.*Uint8 calls Ayke van Laethem 2019-05-10 22:25:24 +02:00
  • 6f6afb0515 compiler: add //go:inline pragma Ayke van Laethem 2019-05-10 21:01:41 +02:00
  • 397b90753c compiler: implement volatile operations as compiler builtins Ayke van Laethem 2019-05-03 22:49:00 +02:00
  • 3c2639ad55 compiler: insert nil checks when storing to a pointer Ayke van Laethem 2019-05-03 22:09:22 +02:00
  • 371c468e8e compiler: add debug info for function arguments Ayke van Laethem 2019-05-13 20:39:12 +02:00
  • 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
  • 71fa131ef9 machine/dummy: add hooks to override peripheral methods boardsimu Ayke van Laethem 2019-05-11 20:21:57 +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 v0.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