• Joined on 2021-03-29
ychenfo deleted branch WIP_debug_unioned_fail from M-Labs/nac3 2021-11-05 01:11:51 +08:00
ychenfo pushed to range_with_class at M-Labs/nac3 2021-11-05 01:11:19 +08:00
12f99a9cc7 nac3core: test snap files
b9bed52340 nac3core: clean up and fix for test
236dfb438b nac3artiq: change device to riscv
6eca0712b0 nac3standalone, nac3artiq: update demo
d573ed81f7 nac3core, nac3artiq: typevar only in function method
Compare 27 commits »
ychenfo pushed to WIP_debug_unioned_fail at M-Labs/nac3 2021-11-04 15:59:12 +08:00
447fc5b6b0 for debug only
87a80fbd76 added kernel print to terinal
14d29237d8 symbol resolver basic typevar handling
4b1663324d nac3core: type annotation better error message
Compare 4 commits »
ychenfo created branch WIP_debug_unioned_fail in M-Labs/nac3 2021-11-04 15:59:11 +08:00
ychenfo pushed to with_nac3comment at M-Labs/nac3 2021-11-04 15:05:07 +08:00
032e1d84cf nac3parser: add and fix tests due to comment support
b239806558 nac3core: adapt to ast change due to comment support
694c7e945c nac3ast: generated ast with comment fields
3b1cc02d06 nac3parser, ast: add comment support core changes
39c5d171a7 nac3parser: add comment support
Compare 5 commits »
ychenfo created pull request M-Labs/nac3#68 2021-11-03 22:05:49 +08:00
nac3parser: add comment support
ychenfo pushed to with_nac3comment at M-Labs/nac3 2021-11-03 21:57:44 +08:00
39c5d171a7 nac3parser: add comment support
32d1fe811b flake: update nixpkgs
36e4028f5b fix and run parser tests
b6ff46c39e README: update
bf7e2c295a integrate nac3parser
Compare 39 commits »
ychenfo pushed to range_with_class at M-Labs/nac3 2021-11-01 04:44:12 +08:00
830652a276 symbol resolver basic typevar handling
b72385938b nac3core: type annotation better error message
Compare 2 commits »
ychenfo created branch range_with_class in M-Labs/nac3 2021-11-01 04:44:12 +08:00
ychenfo pushed to with_nac3comment at M-Labs/nac3 2021-10-16 11:52:06 +08:00
08ab923e21 update parser mod, fix location, allow semicolon before the tail comment
9fb39da930 update parser mod, fix location, allow semicolon before the tail comment
Compare 2 commits »
ychenfo commented on issue M-Labs/nac3#20 2021-10-16 01:50:21 +08:00
add comment support to rustpython parser

But why can't we associate the first comment to the if statement and the second comment to the b = 1 statement?

Thanks for the suggestion, I have added this support in the [latest…

ychenfo pushed to with_nac3comment at M-Labs/nac3 2021-10-16 01:38:14 +08:00
9fb39da930 update parser mod, fix location, allow semicolon before the tail comment
ychenfo commented on issue M-Labs/nac3#20 2021-10-14 00:24:57 +08:00
add comment support to rustpython parser

what do you mean by

this should attach to if can the whole program should not parse

?

sorry, please just ignore the content of the previous comment. Let me explain again:

I mean…

ychenfo pushed to with_nac3comment at M-Labs/nac3 2021-10-13 22:35:42 +08:00
e8b2f8c868 pass config comment prefix as argument when parsing
ychenfo commented on issue M-Labs/nac3#20 2021-10-13 20:37:31 +08:00
add comment support to rustpython parser

The updated with_nac3comment branch contains updates related to previous discussion, including:

  • avoid NAC3 references in the…
ychenfo pushed to with_nac3comment at M-Labs/nac3 2021-10-13 20:16:19 +08:00
cd9801516a nac3core: use updated moded parser
798da2d444 nac3core: use updated moded parser
Compare 2 commits »
ychenfo pushed to with_nac3comment at M-Labs/nac3 2021-10-13 00:00:15 +08:00
798da2d444 nac3core: use updated moded parser
ede2ea7b1c use parser with nac3 comment support
fd0b11087e nac3core: use round instead of rint. Closes #61
3a1dd893a1 nac3artiq/demo: get closer to regular ARTIQ
a4ccac2329 nac3artiq: implements #55, #56
Compare 26 commits »
ychenfo commented on issue M-Labs/nac3#46 2021-10-03 18:11:27 +08:00
poor error message with incorrect method return type

now the error msg looks like:

thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: "expected return type of `int32` in function `__main__A.get_a` at line 13 column 5"',…
ychenfo pushed to master at M-Labs/nac3 2021-10-03 18:08:41 +08:00
4fcb54e463 nac3core: fix #46, better toplevel return type error msg
52b5222201 nac3core: fix #46, better toplevel return type error msg
Compare 2 commits »
ychenfo pushed to master at M-Labs/nac3 2021-10-03 18:02:47 +08:00
52b5222201 nac3core: fix #46, better toplevel return type error msg