David Mak derppening
  • Joined on 2023-08-31
derppening pushed to enhance/global-var at M-Labs/nac3 2024-10-07 17:16:22 +08:00
b2bfd0e9b3 [standalone] Update globals.py with type-inferred global var
0572fde056 [standalone] Add support for registering globals without type decl
65a12d9ab3 [core] Refactor registration of top-level variables
9c6685fa8f [core] typecheck/function_check: Fix lookup of defined ids in scope
Compare 4 commits »
derppening created branch enhance/global-var in M-Labs/nac3 2024-10-07 17:16:21 +08:00
derppening created pull request M-Labs/nac3#547 2024-10-07 13:15:29 +08:00
Fix several issues with global variables
derppening pushed to enhance/global-var at M-Labs/nac3 2024-10-07 13:13:26 +08:00
2bb788e4bb [core] codegen/expr: Materialize implicit globals
42a2f243b5 [core] typecheck: Disallow redeclaration of var shadowing global
3ce2eddcdc [core] typecheck/type_inferencer: Infer whether variables are global
51bf126a32 [core] typecheck/type_inferencer: Differentiate global symbols
Compare 4 commits »
derppening commented on pull request M-Labs/artiq-zynq#329 2024-10-07 12:16:18 +08:00
pre-commit-hooks

@esavkin Pay attention to the file name and its contents ("Language: Cpp"...), this is about Clang/C/C++ not Rust.

That being said I don't see this clang formatter being applied in the…

derppening pushed to enhance/global-var at M-Labs/nac3 2024-10-05 17:08:58 +08:00
3afe69fcda [core] typecheck: Disallow redeclaration of var shadowing global
b538611cb0 [core] typecheck/type_inferencer: Infer whether variables are global
fa573390b1 [core] codegen/expr: Materialize implicit globals
3ca70e679a [core] typecheck/type_inferencer: Differentiate global symbols
1a197c67f6 [core] toplevel/composer: Reduce lock scope while analyzing function
Compare 5 commits »
derppening created branch enhance/global-var in M-Labs/nac3 2024-10-05 17:08:57 +08:00
derppening pushed to ndstrides-2-basic at M-Labs/nac3 2024-10-04 15:48:05 +08:00
59bea2cd4d core/ndstrides: implement len(ndarray) & refactor len()
c1913f11c6 core/ndstrides: implement np_{zeros,ones,full,empty}
7f4b4597c5 core/model: add util::gen_for_model
1a61a000b2 core/object: add ListObject and TupleObject
ec61b50486 core/ndstrides: implement ndarray iterator NDIter
Compare 41 commits »
derppening pushed to ndstrides-1-model at M-Labs/nac3 2024-10-04 15:22:14 +08:00
0bc98c447d [core] introduce models
derppening pushed to refactor_composer at M-Labs/nac3 2024-10-04 15:14:21 +08:00
45ae761ed9 core/toplevel: update tests
597eaa0873 core/toplevel: add python-like error messages for class definition
5c9f688d9e core/toplevel: refactor composer
581b2f7bb2 [standalone] Add demo for global variables
746329ec5d [standalone] Implement symbol resolution for globals
Compare 33 commits »
derppening pushed to ndstrides-1-model at M-Labs/nac3 2024-10-04 15:07:50 +08:00
668cad46b4 StructKind::{traverse -> iter}_fields
d96e23e0ed Newline "Otherwise, it will be caught..."
fcd9fa990f gep_index must be u32
7e6e402889 FieldTraversal::{Out -> Output}
544382ab17 Ptr::copy_from to use SizeT
Compare 47 commits »
derppening pushed to ndstrides at M-Labs/nac3 2024-10-04 15:06:47 +08:00
581b2f7bb2 [standalone] Add demo for global variables
746329ec5d [standalone] Implement symbol resolution for globals
e60e8e837f [core] Add support for global statements
9fdbe9695d [core] Add generator to SymbolResolver::get_symbol_value
8065e73598 [core] toplevel/composer: Add type analysis for global variables
Compare 31 commits »
derppening deleted branch enhance/use-i1-everywhere from M-Labs/nac3 2024-10-04 15:05:07 +08:00
derppening created pull request M-Labs/nac3#546 2024-10-04 13:29:34 +08:00
Implement support for global variables in nac3standalone
derppening pushed to enhance/global-vars at M-Labs/nac3 2024-10-04 13:26:02 +08:00
581b2f7bb2 [standalone] Add demo for global variables
746329ec5d [standalone] Implement symbol resolution for globals
e60e8e837f [core] Add support for global statements
9fdbe9695d [core] Add generator to SymbolResolver::get_symbol_value
8065e73598 [core] toplevel/composer: Add type analysis for global variables
Compare 6 commits »
derppening pushed to enhance/global-vars at M-Labs/nac3 2024-10-04 13:18:43 +08:00
abf8f29a9d [standalone] Add demo for global variables
62eca37c51 [standalone] Implement symbol resolution for globals
d507ed3f1d [core] Add support for global statements
44cf9f76a0 [core] Add generator to SymbolResolver::get_symbol_value
9104477f33 [core] toplevel/composer: Add type analysis for global variables
Compare 7 commits »
derppening pushed to enhance/global-vars at M-Labs/nac3 2024-10-04 13:16:34 +08:00
89f672e634 [standalone] Add demo for global variables
44d6ff5493 [standalone] Implement symbol resolution for globals
4fd7b714a0 [core] Add support for global statements
6415f6317a [core] toplevel/composer: Add type analysis for global variables
625b75808e [core] Implement parsing of globals
Compare 8 commits »
derppening pushed to enhance/global-vars at M-Labs/nac3 2024-10-04 13:00:27 +08:00
aa4d9b6f78 [core] Add generator to SymbolResolver::get_symbol_value
fa44e32865 [core] Add TopLevelDef::Variable
88d0ccbf69 [standalone] Explicit panic when encountering a compilation error
a43b59539c [meta] Move variables declarations closer to where they are first used
fe06b2806f [meta] Reorganize order of use declarations
Compare 6 commits »
derppening pushed to master at M-Labs/nac3 2024-10-04 12:53:27 +08:00
fe06b2806f [meta] Reorganize order of use declarations
7f6c9a25ac [meta] Update Cargo dependencies
Compare 2 commits »
derppening pushed to enhance/global-vars at M-Labs/nac3 2024-10-03 12:50:24 +08:00
3367f578cd [standalone] Explicit panic when encountering a compilation error
c3e7d8de1c [meta] Move variables declarations closer to where they are first used
c313849124 [meta] Reorganize order of use declarations
411528d6f5 [meta] Update Cargo dependencies
6c8382219f msys2: get python via numpy dependencies
Compare 8 commits »