• Joined on 2021-03-29

ychenfo pushed to default_parameter at M-Labs/nac3

  • 59bdb1be50 nac3core: change default parameter integer out of range err msg

2021-11-21 22:05:16 +08:00

ychenfo pushed to default_parameter at M-Labs/nac3

  • 6397e42e74 default paramter support simple global modules

2021-11-21 22:02:14 +08:00

ychenfo created pull request M-Labs/nac3#104

Polymorphism Fixes

2021-11-21 06:22:35 +08:00

ychenfo deleted branch range_with_class from M-Labs/nac3

2021-11-21 06:18:02 +08:00

ychenfo pushed to polymorphism_fixes at M-Labs/nac3

  • 01b51b62ee nac3core: composer better error msg in for uninit field
  • aae9925014 nac3standalone: report when entry point run function cannot be found
  • d336200bf4 nac3core: fix broken tests due to the fix of rigid typevar handling
  • a50df6560e nac3core: fix handling on rigid typevar
  • a9635f0979 nac3core: top level use codegen official get_subst_key
  • Compare 6 commits »

2021-11-21 06:17:17 +08:00

ychenfo created branch polymorphism_fixes in M-Labs/nac3

2021-11-21 06:17:16 +08:00

ychenfo commented on pull request M-Labs/nac3#98

Constant Default Parameter Support

Sorry, still one thing not very clear about this... To handle complex expressions(calling `eval` for now? Also, expressions like `Module.T` which refers to things defined in another module…

2021-11-21 06:03:17 +08:00

ychenfo pushed to symbol_resolver_typevar at M-Labs/nac3

  • 1c5e68aca9 nac3artiq/nac3core: remove forwardref type annotation support for unstable python API

2021-11-21 06:02:30 +08:00

ychenfo pushed to default_parameter at M-Labs/nac3

  • e75ec35687 nac3ore: default parameter of type int64 should be specified explicitly
  • 6b059fa288 nac3core: default parameter fix typo and error handling
  • c7b6b048fb nac3core: default constant parameter support
  • 599aeb7bb3 nac3ore: default parameter of type int64 should be specified explicitly
  • 439cef636f runkernel: improve print_int debug functions
  • Compare 8 commits »

2021-11-21 05:53:34 +08:00

ychenfo commented on pull request M-Labs/nac3#98

Constant Default Parameter Support

Ok I will add module globals support on top of the current constant support

2021-11-20 16:13:59 +08:00

ychenfo commented on pull request M-Labs/nac3#98

Constant Default Parameter Support

I think here we are handling default parameters in nac3core so we do not really know the `id(numpy.int64)`? In type inference module we also do things using strings matches…

2021-11-20 16:12:31 +08:00

ychenfo commented on pull request M-Labs/nac3#99

TypeVar and virtual support in Symbol Resolver

> Can we just remove anything that has to do with ``ForwardRef`` for now, and deal with the forward type annotation situation later? https://git.m-labs.hk/M-Labs/nac3/issues/73 Ok, I will do that…

2021-11-20 15:59:29 +08:00

ychenfo commented on pull request M-Labs/nac3#95

AugAssignment & Default Parameter Support, and Polymorphism FIxes

> Should we close this PR? Yes, this PR can be closed. > @ychenfo can you keep breaking down the remaining changes into separate PRs, and then delete the ``range_with_class`` branch? Sure,…

2021-11-20 05:36:43 +08:00

ychenfo commented on pull request M-Labs/nac3#99

TypeVar and virtual support in Symbol Resolver

> Regarding `_eval_type`: > 1. It is a private API which may be changed across Python versions. Are there alternatives to this? Yes I also have some conern about this when writing the code. I…

2021-11-20 05:28:05 +08:00

ychenfo pushed to symbol_resolver_typevar at M-Labs/nac3

2021-11-20 05:08:35 +08:00

ychenfo commented on pull request M-Labs/nac3#98

Constant Default Parameter Support

> LGTM, but we should probably add tests to nac3artiq/nac3standalone later. Yes, some demo python files related to this will be added later.

2021-11-20 05:02:09 +08:00

ychenfo commented on pull request M-Labs/nac3#98

Constant Default Parameter Support

this is handled in the new commit below

2021-11-20 05:00:31 +08:00

ychenfo pushed to default_parameter at M-Labs/nac3

  • 599aeb7bb3 nac3ore: default parameter of type int64 should be specified explicitly

2021-11-20 04:59:49 +08:00

ychenfo created pull request M-Labs/nac3#100

nac3artiq: support now-pinning on RISC-V with wide data bus (#97)

2021-11-16 17:41:51 +08:00

ychenfo pushed to now_pinning_time_64 at M-Labs/nac3

  • 1e47b364c5 nac3artiq: support now-pinning on RISC-V with wide data bus (#97)

2021-11-16 17:38:00 +08:00