runtime: use &CSlice for lists
nac3core: impl call attributes
byval for struct args in extern
This will need updating the artiq firmware, artiq-zynq, and the legacy compiler, correct?
No. The one that needs this update is #187
nac3core: impl call attributes
Unsigned Integer Support
Indeed, a simple hack would be to encode those constants with a i128 value that is invalid in nac3 code, such as i128::MAX
. Option<i128>
would require a bit larger size.
Unsigned Integer Support
Why not just i128? I don't think the performance penalty would be that large: we basically never touch the integer until we turn them into constants, and we will figure out their type when we turn…