c3c
c3c copied to clipboard
Slicing arrays, slices and bytes at compile time
We want to support the slicing of arrays, slices and bytes at compile time. The suggestion is that first we allow compile time slices to implicitly convert to arrays. This makes semantics better and we pass around the data properly. So:
- [x] Slice bytes => bytes
- [x] Slice array/vector => constant slice
- [x] Slice constant slice => constant slice
- [x] Slice untyped list => untyped list
In dev