pca006132
  • Joined on 2020-04-27
pca006132 pushed to builtin-errors at M-Labs/nac3 2022-03-17 14:58:56 +08:00
bb29f57853 nac3artiq: support AssertionError
pca006132 created pull request M-Labs/nac3#218 2022-03-17 00:07:36 +08:00
builtin errors
pca006132 pushed to builtin-errors at M-Labs/nac3 2022-03-17 00:06:34 +08:00
642e3b2bad nac3core: moved all builtin errors to nac3artiq code
pca006132 pushed to builtin-errors at M-Labs/nac3 2022-03-16 23:42:44 +08:00
e126fef012 nac3artiq: support more builtin errors
pca006132 created branch builtin-errors in M-Labs/nac3 2022-03-16 23:42:43 +08:00
pca006132 closed issue M-Labs/nac3#187 2022-03-10 16:49:01 +08:00
list RPC support
pca006132 pushed to master at M-Labs/nac3 2022-03-10 16:48:42 +08:00
94aac16cc5 nac3artiq: fixed RPC codegen for lists
pca006132 created pull request M-Labs/artiq-zynq#175 2022-03-10 16:12:23 +08:00
runtime: use &CSlice for lists
pca006132 pushed to list-repr at pca006132/artiq-zynq 2022-03-10 16:09:45 +08:00
85ea6f0b32 runtime: use &CSlice for lists
pca006132 created branch list-repr in pca006132/artiq-zynq 2022-03-10 16:09:45 +08:00
pca006132 commented on pull request M-Labs/nac3#217 2022-03-09 22:18:10 +08:00
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

pca006132 created pull request M-Labs/nac3#217 2022-03-09 22:13:49 +08:00
nac3core: impl call attributes
pca006132 pushed to call-attributes at M-Labs/nac3 2022-03-09 22:11:42 +08:00
2f85bb3837 nac3core: impl call attributes
pca006132 created branch call-attributes in M-Labs/nac3 2022-03-09 22:11:42 +08:00
pca006132 closed issue M-Labs/nac3#184 2022-03-09 11:09:41 +08:00
support print RPC
pca006132 commented on issue M-Labs/nac3#184 2022-03-09 11:02:25 +08:00
support print RPC

Temporary implementation: be3f05a4c0

pca006132 commented on pull request M-Labs/nac3#213 2022-03-07 11:58:31 +08:00
Unsigned Integer Support

Yes it should be fine.

pca006132 commented on pull request M-Labs/nac3#213 2022-03-07 11:57:36 +08:00
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.

pca006132 commented on pull request M-Labs/nac3#213 2022-03-07 11:53:25 +08:00
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…

pca006132 commented on issue M-Labs/nac3#200 2022-03-05 00:34:10 +08:00
user-defined exceptions are broken in ARTIQ

Ah forgot to put this change to artiq: a5e1da0b92