• Joined on 2021-03-29
ychenfo commented on pull request M-Labs/nac3#236 2022-03-26 03:09:38 +08:00
nac3artiq: handle recursive types properly

force-pushed to rebse on the lastest master branch

ychenfo pushed to recursive_host_type at M-Labs/nac3 2022-03-26 03:09:06 +08:00
d92cd3c7a0 nac3artiq: handle recursive types properly
55db05fdbb update dependencies
24a26b53ae nac3core/toplevel: fixed broken tests
1084ba2158 nac3core: fixed typevar with finite range
be75fa7368 nac3core: fix assign to constant
Compare 9 commits »
ychenfo commented on pull request M-Labs/nac3#224 2022-03-26 02:59:07 +08:00
Option type support

Tests added, and now unwrap on none will be ValueError("unwrap on none"). The exception raising is also tested with artiq_run with devices.

ychenfo commented on pull request M-Labs/nac3#224 2022-03-26 02:57:14 +08:00
Option type support

Because these two functions are all of type () -> bool, and are methods under the same class Option

ychenfo commented on pull request M-Labs/nac3#224 2022-03-26 02:51:59 +08:00
Option type support

thanks! now it will raise a ValueError("unwrap on none")

ychenfo pushed to option at M-Labs/nac3 2022-03-26 02:49:39 +08:00
aebfd0a37d nac3core/artiq: raise ValueError for unwrap none
91d697c327 nac3standalone: add tests for option
d18292dd28 nac3core/artiq: use none instead of None
29da2d1a9a nac3artiq/core: host option object support
34b460757b nac3core: option type codegen support
Compare 12 commits »
ychenfo pushed to master at ychenfo/nac3 2022-03-26 02:06:40 +08:00
aebfd0a37d nac3core/artiq: raise ValueError for unwrap none
91d697c327 nac3standalone: add tests for option
d18292dd28 nac3core/artiq: use none instead of None
29da2d1a9a nac3artiq/core: host option object support
34b460757b nac3core: option type codegen support
Compare 636 commits »
ychenfo pushed to option at ychenfo/nac3 2022-03-26 01:54:55 +08:00
aebfd0a37d nac3core/artiq: raise ValueError for unwrap none
91d697c327 nac3standalone: add tests for option
d18292dd28 nac3core/artiq: use none instead of None
29da2d1a9a nac3artiq/core: host option object support
34b460757b nac3core: option type codegen support
Compare 6 commits »
ychenfo deleted branch option_backup_2 from ychenfo/nac3 2022-03-26 01:49:31 +08:00
ychenfo created branch option in ychenfo/nac3 2022-03-26 01:49:22 +08:00
ychenfo pushed to option at ychenfo/nac3 2022-03-26 01:49:22 +08:00
02b87041ea nac3core/artiq: raise ValueError for unwrap none
f960820816 nac3standalone: add tests for option
3921611255 nac3core/artiq: use none instead of None
c7646b3061 nac3artiq/core: host option object support
2e951ada90 nac3core: option type codegen support
Compare 10 commits »
ychenfo deleted branch refactor_anto from ychenfo/nac3 2022-03-26 01:49:08 +08:00
ychenfo deleted branch refactor from ychenfo/nac3 2022-03-26 01:49:02 +08:00
ychenfo deleted branch hm-inference_anto_temp_3 from ychenfo/nac3 2022-03-26 01:48:59 +08:00
ychenfo deleted branch hm-inference_anto_temp from ychenfo/nac3 2022-03-26 01:48:41 +08:00
ychenfo deleted branch hm-inference_anto from ychenfo/nac3 2022-03-26 01:48:39 +08:00
ychenfo deleted branch hm-inference from ychenfo/nac3 2022-03-26 01:48:36 +08:00
ychenfo pushed to option_backup_2 at ychenfo/nac3 2022-03-26 01:48:15 +08:00
7db5909f62 nac3artiq/core: host option object support
d86a75bf0e nac3core: option type codegen support
06fcbff876 nac3core: remove previous handling of None
e379238378 nac3core: fix broken tests
6d2bd4ed7b nac3core: option type front end
Compare 10 commits »
ychenfo created branch option_backup_2 in ychenfo/nac3 2022-03-26 01:48:15 +08:00
ychenfo pushed to option at M-Labs/nac3 2022-03-24 07:23:42 +08:00
70d0b40a54 nac3standalone: add tests for option
95d16c0338 nac3core/artiq: use none instead of None
Compare 2 commits »