Commit Graph

  • 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 v0.1 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
  • 8aed8d8c56 Makefile: rename tgo to tinygo Ayke van Laethem 2019-01-22 13:31:21 +01:00
  • c3a15885f5 machine/itsybitsym0: correct comments for UART1 pin mapping and note which of the analog pin mapping require the second port, which is not yet implemented Ron Evans 2019-01-31 23:11:55 +01:00
  • 914d383a96 all: update import paths to github.com/tinygo-org/tinygo Ayke van Laethem 2019-01-31 17:43:19 +01:00
  • 504c82a0e7 compiler: support for byte arrays as keys in maps Konstantin Yegupov 2019-01-31 01:12:57 +10:00
  • f8a1e5f449 interp: support map literals with integer keys Konstantin Yegupov 2019-01-30 23:22:29 +10:00
  • 0308c92e67 compiler: better error message on trying to do a map lookup using an unsupported type Konstantin Yegupov 2019-01-30 18:33:50 +10:00
  • 1db9a162da all: go fmt Ayke van Laethem 2019-01-31 16:20:38 +01:00
  • 19b4476cbb Implement PWM interface for SAMD21 (#157) Ron Evans 2019-01-28 13:48:52 +01:00
  • 7461c298dd runtime: make stringNext use byteindex only, fix index offset Use stringIterator.byteindex as the loop index, and remove stringIterator.rangeindex, as "the index of the loop is the starting position of the current rune, measured in bytes". This patch also fixes the current loop index returned by stringNext, using it.byteindex' before - not after - length' is added. Michael Teichgraeber 2019-01-27 00:08:23 +01:00
  • 9092dbcc53 all: rename go-llvm to new import path Ayke van Laethem 2019-01-27 19:24:37 +01:00
  • e6d90d89fa loader: better error message on import cycles Konstantin Yegupov 2019-01-24 17:25:16 +10:00
  • 4f4d7976c6 Add core support for multiple UARTs (#152) Ron Evans 2019-01-25 22:09:13 +01:00
  • d820c36c4f runtime/strings: add implementation of strings.IndexByte() (#155) Ron Evans 2019-01-25 13:44:26 +01:00
  • 85108514df compiler: fix indexing of strings on AVR Ayke van Laethem 2019-01-25 13:15:08 +01:00
  • 589569fc35 loader: fix ARM compatibility Ayke van Laethem 2019-01-22 21:13:33 +01:00
  • 2e4dd09bbc compiler: add support for channel operations Ayke van Laethem 2019-01-13 17:05:00 +01:00
  • 602c264749 all: rewrite goroutine lowering Ayke van Laethem 2019-01-10 16:54:09 +01:00
  • 072ef603fe wasm: add GOOS/GOARCH properties Ayke van Laethem 2019-01-11 20:17:25 +01:00
  • 54baf48266 compiler/interface: fix LLVM context for boolean variable Ayke van Laethem 2019-01-11 20:19:00 +01:00
  • 072eb590a6 compiler/interface: correct comment on function Ayke van Laethem 2019-01-11 20:23:12 +01:00
  • c0ab91a263 interp: extra safety check in string emulation Ayke van Laethem 2019-01-11 20:19:54 +01:00
  • 3ebf464da2 machine/samd21: I2C implementation Ron Evans 2019-01-21 14:35:40 +01:00
  • 38c5e384af machine/itsybitsy-m0: specify which pins to use for UART0 Ron Evans 2019-01-21 09:39:47 +01:00
  • 65ea74bd84 machine/atsamd21: implements UART0 using the SERCOM0 interface Ron Evans 2019-01-20 20:34:13 +01:00
  • 683e2a66e1 machine/atsamd21: correct clock calibration based on stored fuse value Ron Evans 2019-01-20 20:26:54 +01:00
  • 8cbbbb0e76 machine/atsamd21: improve GPIO config to support all 32 pins on PORTA as well as correct handling for OUTPUT and SERCOM pin modes Ron Evans 2019-01-20 12:30:13 +01:00
  • f89c695c8c generators: correctly handle clustered subtypes used in Atmel SAMD21 SVD for important peripherals Ron Evans 2019-01-19 18:29:21 +01:00
  • e2be7ccf76 sam: add support for Atmel SAMD21 based ItsyBitsy M0 Ron Evans 2019-01-13 21:45:18 +01:00
  • 1f511786d3 lib/cmsis-svd: update to latest release with updated SAMD21 and SAMD51 SVD files Ron Evans 2019-01-18 17:22:16 +01:00
  • c9f4e41073 wasm: fix typo in wasm_exec.js preventing memory import Seth Junot 2019-01-17 18:00:52 -08:00
  • 67fbfe6305 runtime/wasm: add memset() Seth Junot 2019-01-17 17:51:58 -08:00
  • d27cfb1585 WIP shadow-stack based mark/sweep collector shadowstack Ayke van Laethem 2019-01-17 20:54:35 +01:00
  • e6e561100a WIP refactor GC Ayke van Laethem 2019-01-17 20:52:15 +01:00
  • 95e18f36d0 main: compile and run a program directly Ayke van Laethem 2019-01-15 10:40:49 +01:00
  • 9ac2f39acc tools/gen-device-svd: handle case with nested registers that have same address to avoid duplicates Ron Evans 2019-01-15 09:51:00 +01:00
  • 2ba7a438c2 loader: remove redundant gateway function Wèi Cōngruì 2019-01-15 06:38:08 +00:00
  • b88180f8e6 runtime: remove ctx param from stub code Ayke van Laethem 2019-01-14 20:56:42 +01:00
  • c840757352 compiler/interface: fix comparison with error value Ayke van Laethem 2019-01-14 20:56:05 +01:00
  • b4dd2dbf60 docs: change links in README and remove old ReadTheDocs pages to point to TinyGo.org site Ron Evans 2019-01-04 15:54:40 +01:00
  • 8d1284cfe7 generator: generate device wrappers for Atmel SAM family Ron Evans 2019-01-09 23:42:36 +01:00
  • b8c326d710 machine/stm32f103xx: implmentation for I2C interface Ron Evans 2019-01-08 22:24:47 +01:00
  • fad4a735e6 tools: use env to search path for python3 j7b 2019-01-08 12:52:47 -08:00
  • 107fccb288 all: add support for more architectures and GOOS/GOARCH (#118) Ayke 2019-01-05 11:46:25 +01:00
  • f44dff6f59 compiler: allow slicing arrays of a named type Konstantin Yegupov 2019-01-03 08:02:44 +00:00
  • 873c1c3b4d Reduce code size for AVR (#116) Ayke 2019-01-04 14:58:35 +01:00
  • a8dd82538e all: add flag to enable i64 parameters in WebAssembly Konstantin Yegupov 2018-12-25 17:17:32 +00:00
  • dccfae485c machine/stm32f103xx: support for SPI interface Ron Evans 2018-12-28 16:55:51 +01:00
  • f71e1bcf03 machine/stm32f103xx: implementation of RTC/TIM based timers Ron Evans 2018-12-27 07:57:26 +01:00
  • fb8dcde2f9 runtime: update link to original Go hashmap source code kyegupov 2018-12-31 07:24:25 +00:00
  • 18b16fc151 compiler: run some optimizations after interface lowering Ayke van Laethem 2018-12-22 17:11:39 +01:00
  • 5a15d4162d compiler: add optsize function attr to reduce binary size Ayke van Laethem 2018-12-22 17:09:41 +01:00
  • 5ff5873fe6 machine/microbit: add default pin mappings for SPI bus Ron Evans 2018-12-21 16:22:36 +01:00
  • 47b667a4b8 machine/stm32: add support for stm32f103xx UART Ron Evans 2018-12-13 16:12:33 +01:00
  • a830451426 Dockerfile, README, docs: Remove entrypoint Johan Brandhorst 2018-12-13 09:39:03 +00:00
  • cb648d8ae1 compiler: pass -cflags and -ldflags to tinygo CLI command Ron Evans 2018-12-11 10:37:27 +01:00
  • 8734732d0c build: Makefile needs to look at changes in all needed sub-directories to decide if rebuild is required Ron Evans 2018-12-11 11:38:23 +01:00
  • 6cacafb8dc cgo: add package directory to header include paths Ayke van Laethem 2018-11-30 13:01:20 +01:00
  • c6069476a7 cgo: do not rely on stdint.h to be available Ayke van Laethem 2018-11-30 12:45:38 +01:00
  • 0af7da9bff cgo: add support for C.int, c.uint, etc Ayke van Laethem 2018-11-29 17:48:20 +01:00
  • e8c1b5ab6e cgo: add support for C typedefs Ayke van Laethem 2018-11-29 17:30:46 +01:00
  • ecf6ffa62e all: add bare-bones Cgo support Ayke van Laethem 2018-11-29 13:31:16 +01:00
  • b99bbc880a main: add support for testing complete packages, not just .go files Ayke van Laethem 2018-11-29 13:07:31 +01:00
  • 8ee3267260 wasm: compile .c files in packages Ayke van Laethem 2018-11-25 18:06:22 +01:00
  • dea660b21c main: compile C source files in packages Ayke van Laethem 2018-11-25 18:05:29 +01:00
  • e10d05c74f loader: switch to custom program loader Ayke van Laethem 2018-11-25 17:37:31 +01:00
  • 564b1b3312 compiler: always use fat function pointers with context Ayke van Laethem 2018-12-09 18:10:04 +01:00
  • 3fec22e819 compiler: avoid function pointers in defer calls Ayke van Laethem 2018-12-09 16:14:47 +01:00
  • e42289ce61 arm: add SVCAll with 0 arguments Ayke van Laethem 2018-12-03 20:13:29 +01:00
  • 9eaa6a7d7f nrf: set interrupt priorities Ayke van Laethem 2018-12-03 13:48:10 +01:00
  • fa5b75464d runtime/nrf: use RTC1 instead of RTC0 Ayke van Laethem 2018-12-03 13:44:43 +01:00