325 Commits (a9a225ba26b5b4e90582180f54f5449fcd0a490a)

Author SHA1 Message Date
Ayke van Laethem 392bba8394
compiler: add support for parameters to inline assembly 6 years ago
Ayke van Laethem 2917347ff5
compiler: implement operations on some named types 6 years ago
Ayke van Laethem e1e3dbdce6
compiler: correctly generate global hashmaps of size > 8 6 years ago
Ayke van Laethem 3289dd7134
compiler: use a fresh context for every compilation 6 years ago
Ayke van Laethem e8f211935e
compiler: fix expanded structs in invoke calls 6 years ago
Ayke van Laethem 4957db89f4
compiler: fix interface calls for big underlying values 6 years ago
Ayke van Laethem 482c5633dd
compiler: put debug information on package initializer functions 6 years ago
Ayke van Laethem 5db43e8d04
compiler: move Optimize() function to a separate file 6 years ago
Ayke van Laethem 5d2ffa79e5
compiler: improve debug info to cover initialization 6 years ago
Ayke van Laethem f107a24b72
all: use LLVM library provided by the system 6 years ago
Ayke van Laethem b6db84e916
main: use GOPATH from the environment 6 years ago
Ayke van Laethem 8d170d3bd2
all: change special type __volatile to pragma //go:volatile 6 years ago
Ayke van Laethem 13cb7d6503
avr: add interrupt support 6 years ago
Ayke van Laethem ed227b8fd3
all: fix errors reported by go vet 6 years ago
Ayke van Laethem c9ae72a105
all: allow -O0 optimization level 6 years ago
Ayke van Laethem 6191d4e1ac
compiler: rename .Parse() to .Compiler() 6 years ago
Ayke van Laethem 1b229a8f8b
compiler: support compiling individual .go files 6 years ago
Ayke van Laethem a561e9a9ac
ir: move adding packages from the compiler 6 years ago
Ayke van Laethem 9df04a2170
compiler: fix panic on import errors 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 2938437efc
compiler: make string data unnamed addresses 6 years ago
Ayke van Laethem 7cea40bcb5
compiler: small cleanup in call handling code 6 years ago
Ayke van Laethem fdfa810060
compiler: expand small structs 6 years ago
Ayke van Laethem b2cbfa78ca
compiler: refactor compiler into separate package 6 years ago
Ayke van Laethem b75a02e66d
compiler: refactor IR parts into separate package 6 years ago
Ayke van Laethem 473e71b573
compiler: implement range over a string 6 years ago
Ayke van Laethem 18b5ab290c
compiler: recognize untyped strings as strings 6 years ago
Ayke van Laethem 2ca2220e44
compiler: move SSA construction to ir.go 6 years ago
Ayke van Laethem 2496ae9967
compiler: emit non-PIE executables 6 years ago
Ayke van Laethem dbb5ae5a23
avr: use i16 for lengths 6 years ago
Ayke van Laethem db8c3479d6
compiler: give names to nameless globals 6 years ago
Ayke van Laethem b0aeaed635
compiler: allow a global to be defined multiple times 6 years ago
Ayke van Laethem 94358959f5
compiler: fix unsafe.Sizeof and friends for AVR 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 1d2e0cd259
compiler: don't show DebugRef with -dumpssa 6 years ago
Ayke van Laethem 2a20c0c7f0
all: rewrite sleep function 6 years ago
Ayke van Laethem 38efc5653d
compiler: support compile-time hashmap with int keys 6 years ago
Ayke van Laethem 152e12e4b0
all: implement iterating over hashmaps 6 years ago
Ayke van Laethem 5b4b6cfee2
compiler: use -dumpssa flag in interpreter 6 years ago
Ayke van Laethem 866a6edb5f
compiler: fix word size for AVR 6 years ago
Ayke van Laethem 09cbd223c3
compiler: remove -runtime flag 6 years ago
Ayke van Laethem ec50db729d
compiler: implement slicing slices 6 years ago
Ayke van Laethem 5b3ef2c02f
compiler: fix unreachable type assert 6 years ago
Ayke van Laethem 9cd7c7f0ba
compiler: fix phi nodes for type asserts 6 years ago
Ayke van Laethem 57661a3c76
compiler: fix typeassert without comma-ok for unused types 6 years ago
Ayke van Laethem 8ce139284a
all: remove last traces of the C runtime 6 years ago
Ayke van Laethem 2788ab0172
all: rename __reg to __volatile 6 years ago
Ayke van Laethem 865520b571
compiler: act as a compiler driver (on unix systems) 6 years ago