103 Commits (61f711ef26e48b0e3a1539c849f4a26aa8dd08f3)

Author SHA1 Message Date
Ayke van Laethem c220c140ef
all: make garbage collector configurable 6 years ago
Ayke van Laethem ecb4742316
main: do not run legacy init interpreter with run subcommand 6 years ago
Ayke van Laethem 21db7e6099
main: move "tinygo" build tag to compiler 6 years ago
Ayke van Laethem c3c4a33b42
main: enable -initinterp by default 6 years ago
Ayke van Laethem 101d41dc58
compiler: pass i64 return value in an extra pointer param 6 years ago
Ayke van Laethem 3d0ccb81c6
main: fix -initinterp flag 6 years ago
Ayke van Laethem bb3d05169d
interp: add new compile-time package initialization interpreter 6 years ago
Ayke van Laethem 3823870d07
main: print IR even when verification failed 6 years ago
Ayke van Laethem 60eefe1568
compiler: do not abort on verification failure 6 years ago
Ayke van Laethem 2e22d53e5d
compiler: work around i64 limitation in JavaScript 6 years ago
Ayke van Laethem 4e4f91bea7
main: cleanup printing of IR 6 years ago
Marc-Antoine Ruel a3d87456cd tinygo: add 'tinygo' build tag 6 years ago
Ayke van Laethem c84fc6a670
main: gofmt 6 years ago
Ayke van Laethem 97d4558d81
main: update help text with new subcommands 6 years ago
Ayke van Laethem 980dceb192
main: refactor build option passing 6 years ago
Ayke van Laethem e5e09747f0
all: add WebAssembly backend 6 years ago
Ayke van Laethem 9406a4d74a
main: add -opt= flag for the optimization level 6 years ago
Ayke van Laethem a63af97e86
all: add emulation support for Cortex-M3 with QEMU 6 years ago
Ayke van Laethem e50c6f1af1
main: generate binary files when compiling to .bin 6 years ago
Ayke van Laethem 22da104530
all: use compiler-rt for builtins 6 years ago
Ayke van Laethem 9d408b7cbc
main: hide OCD output by default in gdb subcommand 6 years ago
Ayke van Laethem b08c8a0cf0
all: implement gdb sub-command for easy debugging 6 years ago
Ayke van Laethem f107a24b72
all: use LLVM library provided by the system 6 years ago
Ayke van Laethem 802350f8da
main: helpful error message for flash cmd without -target 6 years ago
Ayke van Laethem b6db84e916
main: use GOPATH from the environment 6 years ago
Ayke van Laethem 0e813c4cb7
main: add -no-debug flag to avoid DWARF debug info 6 years ago
Ayke van Laethem ed227b8fd3
all: fix errors reported by go vet 6 years ago
Ayke van Laethem a2eaaa42a0
main: optimize 'tinygo run' 6 years ago
Ayke van Laethem 6191d4e1ac
compiler: rename .Parse() to .Compiler() 6 years ago
Ayke van Laethem 8a468786df
compiler: use config struct for options 6 years ago
Ayke van Laethem fd6dda5e4f
main: run the compiler from any path 6 years ago
Ayke van Laethem b2cbfa78ca
compiler: refactor compiler into separate package 6 years ago
Ayke van Laethem 895d109fc4
compiler: run flash command in a shell 6 years ago
Ayke van Laethem 87963d3d5b
compiler: add -size flag to replace size utility 6 years ago
Ayke van Laethem e04f0868ed
compiler: fix constant globals on AVR 6 years ago
Ayke van Laethem a25e598463
compiler: truncate output files before writing 6 years ago
Ayke van Laethem 112f6dc01a
all: implement `tinygo flash` command 6 years ago
Ayke van Laethem 09cbd223c3
compiler: remove -runtime flag 6 years ago
Ayke van Laethem c763e9f1a6
compiler: produce .hex files directly 6 years ago
Ayke van Laethem 914cd56ca5
all: support Arduino in the compiler driver 6 years ago
Ayke van Laethem 865520b571
compiler: act as a compiler driver (on unix systems) 6 years ago
Ayke van Laethem 6ab2b30984
compiler: move output file type selection to main.go 6 years ago
Ayke van Laethem 9bec479041
all: make targets configurable with a JSON file 6 years ago
Ayke van Laethem 20c2552f8a
compiler: add 'run' command for bytecode interpretation 6 years ago
Ayke van Laethem 8362751590
compiler: use runtime.GOOS/GOARCH instead of hardcoding build tags 6 years ago
Ayke van Laethem e9b0a7d2ae
compiler: improve command line errors 6 years ago
Ayke van Laethem 0779ee6088
compiler: improve command line argument parsing 6 years ago
Ayke van Laethem 83ad0b6137
all: move bootstrapping IR to Go runtime 6 years ago
Ayke van Laethem 0746d61639
compiler: move optimizer into the binary 6 years ago
Ayke van Laethem bf160d096b
Move lenType definition to runtime (partially) 6 years ago