2159 Commits (607d8242111560233ffd54eda461a43cc9c4760b)
 

Author SHA1 Message Date
Ayke van Laethem 30ac6ec281
compiler: don't try to get pointer methods 6 years ago
Ayke van Laethem 0f83c3b3c6
compiler: allow copying a string to a slice 6 years ago
Ayke van Laethem 41a50ec336
compiler: simplify code for builtin len() 6 years ago
Ayke van Laethem 31f494e611
all: swap string from {len, ptr} to {ptr, len} for slice compatibility 6 years ago
Ayke van Laethem 5aa8b71ae1
compiler: implement builtin copy(dst, src []T) 6 years ago
Ayke van Laethem fd9fa038a9
compiler: fix make([]T, ...) type 6 years ago
Ayke van Laethem 01635b5efd
runtime: move panic functions to a separate file 6 years ago
Ayke van Laethem 65358ed3c9
interpreter: don't panic on a nil (*ssa.Call).Object() 6 years ago
Ayke van Laethem 094c5561b6
compiler: implement make([]T, ...) 6 years ago
Ayke van Laethem ef2c406127
compiler: implement comparing a pointer against nil 6 years ago
Ayke van Laethem f44d2f718f
compiler: rewrite defer support to better support them 6 years ago
Ayke van Laethem 87dd1a1fe5
compiler: fix debug metadata 6 years ago
Ayke van Laethem 9101ea11bf
examples: clean up examples and add blinky1 for Arduino 6 years ago
Ayke van Laethem 17b5b6ec5b
all: use less magic in memory-mapped IO 6 years ago
Ayke van Laethem 93248c93ed
avr: remove device files, use them from a subrepository 6 years ago
Ayke van Laethem 7258553528
compiler: implement const pointers from integers 6 years ago
Ayke van Laethem ce71d18450
runtime/nrf: remove AEABI functions 6 years ago
Ayke van Laethem 92877f8371
Makefile: some cleanups 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 c109ec0955
compiler: let a failed typeassert return the nil value 6 years ago
Ayke van Laethem efdc2b8672
compiler: add basic debug info 6 years ago
Ayke van Laethem a7fcef62e0
compiler: implement comparing interfaces to nil 6 years ago
Ayke van Laethem c100e4d67f
compiler: fix nil constant interface 6 years ago
Ayke van Laethem 4ed04309a3
compiler: truncate shift amount when needed 6 years ago
Ayke van Laethem ebd87ce4cd
compiler: implement []byte(str) 6 years ago
Ayke van Laethem a080ce26ef
compiler: implement string slicing 6 years ago
Ayke van Laethem 1170cdc21f
compiler: implement Field expression 6 years ago
Ayke van Laethem 9519f989bc
runtime/scheduler: make debugging easier + rename some functions 6 years ago
Ayke van Laethem 8ba3fef7d7
runtime/scheduler: always update task state 6 years ago
Ayke van Laethem d183f12395
nrf: fix sleep 6 years ago
Ayke van Laethem 1e90858145
Fix blocking functions 6 years ago
Ayke van Laethem bfff0c33e4
Fix external globals 6 years ago
Ayke van Laethem 88b6b2e7f5
Optimize/eliminate bounds checking 6 years ago
Ayke van Laethem 42cddd3260
Move runtime.TargetBits out of the compiler 6 years ago
Ayke van Laethem 9fca0e99b5
compiler: use InternalLinkage where appropriate 6 years ago
Ayke van Laethem 58c87329d4
Implement closures and bound methods 6 years ago
Ayke van Laethem 58b853bbef
Defer for trivial cases 6 years ago
Ayke van Laethem cd2a9d99a1
Add dummy runtime.SetFinalizer() 6 years ago
Ayke van Laethem 887814a69d
Be able to handle complex64 and complex128 types 6 years ago
Ayke van Laethem 94ce893ab4
Copy printfloat() from original runtime 6 years ago
Ayke van Laethem 46d2d2e777
Add support for floats 6 years ago
Ayke van Laethem 3cdf606183
Improve runtime.printuint32: avoid recursion 6 years ago
Ayke van Laethem f057d612fc
Add support for indexing in an array by a non-constant 6 years ago
Ayke van Laethem a1359d7f64
passes: small code cleanup 6 years ago
Ayke van Laethem 734b0cb6bc
Implement runtime functions for reflect 6 years ago
Ayke van Laethem b13cfc5255
Be able to deal with anonymous functions 6 years ago
Ayke van Laethem 674b506bb2
Replace compiler hack for sync package with //go:linkname 6 years ago
Ayke van Laethem 74bd378c29
Replace _llvm_* workaround in the scheduler with //go:linkname 6 years ago
Ayke van Laethem 771f23e320
Implement //go:linkname pragma 6 years ago