David Mak derppening
  • Joined on 2023-08-31
derppening pushed to feat/const-generics at M-Labs/nac3 2023-12-08 13:03:26 +08:00
649874868a artiq: Implement handling for const generic variables
638d9f8a30 core: Initial implementation for const generics
b9b725e78e core: Move some SymbolValue functions to symbol_resolver.rs
7c41036c5c core: Codegen for ellipsis expression as NotImplemented
aaaeccfc5a ast: Use `{filename}:{row}:{col}` for location output
Compare 6 commits »
derppening commented on pull request M-Labs/nac3#360 2023-12-07 14:41:57 +08:00
Implement const-generics

v6: Completed codegen refactoring for ellipsis expression - Ellipsis are now treated as the equivalent of todo!() of Rust

derppening pushed to feat/const-generics at M-Labs/nac3 2023-12-07 14:41:02 +08:00
e7add9ea0d artiq: Implement handling for const generic variables
3d989edd21 core: Initial implementation for const generics
3c520e0a48 core: Move some SymbolValue functions to symbol_resolver.rs
f54bea1916 core: Codegen for ellipsis expression as NotImplemented
Compare 4 commits »
derppening commented on pull request M-Labs/nac3#360 2023-12-06 21:00:43 +08:00
Implement const-generics

Marked as WIP again due to some missing handling for ellipsis.

derppening commented on pull request M-Labs/nac3#360 2023-12-06 18:39:50 +08:00
Implement const-generics

v5: Implement const generics for nac3artiq, minor cleanup

ARTIQ implementation is tested and working.

derppening pushed to feat/const-generics at M-Labs/nac3 2023-12-06 18:33:29 +08:00
921aec411b artiq: Implement handling for const generic variables
336ca67113 core: Initial implementation for const generics
Compare 2 commits »
derppening commented on pull request M-Labs/nac3#360 2023-12-06 15:33:09 +08:00
Implement const-generics

v4: Remove all references to Const

derppening pushed to feat/const-generics at M-Labs/nac3 2023-12-06 15:33:01 +08:00
181756fb3c core: Initial implementation for const generics
derppening commented on pull request M-Labs/nac3#360 2023-12-06 15:29:26 +08:00
Implement const-generics

v3: Re-introduced ConstGeneric class, implemented codegen for ...

derppening pushed to feat/const-generics at M-Labs/nac3 2023-12-06 15:27:43 +08:00
4fb634aaa7 core: Initial implementation for const generics
f65044c518 core: Move some SymbolValue functions to symbol_resolver.rs
1d47d7b850 core: Codegen for ellipsis expression
61624cd339 ast: Use `{filename}:{row}:{col}` for location output
Compare 4 commits »
derppening commented on pull request M-Labs/nac3#360 2023-12-06 10:35:16 +08:00
Implement const-generics

v2: Add missing documentation

derppening pushed to feat/const-generics at M-Labs/nac3 2023-12-05 17:07:39 +08:00
5266e9b48e core: Initial implementation for const generics
af422f1785 core: Move some SymbolValue functions to symbol_resolver.rs
Compare 2 commits »
derppening created pull request M-Labs/nac3#360 2023-12-05 16:41:01 +08:00
Implement const-generics
derppening pushed to feat/const-generics at M-Labs/nac3 2023-12-05 16:08:29 +08:00
58d457c1f3 core: Initial implementation for const generics
5a7ec9627f core: Move some SymbolValue functions to symbol_resolver.rs
9c864e7b38 ast: Use `{filename}:{row}:{col}` for location output
d65298a05f core: Infer builtins name list using builtin declaration list
Compare 4 commits »
derppening created branch feat/const-generics in M-Labs/nac3 2023-12-05 16:08:29 +08:00
derppening commented on issue M-Labs/nac3#149 2023-11-30 13:11:18 +08:00
implement numpy arrays, math functions, and matrix math

After discussing with @sb10q a few days ago, we decided to embed the NDArray number of dimensions into the type itself while keeping the in-memory representation the same.

Effectively the array…

derppening commented on issue M-Labs/nac3#149 2023-11-27 14:24:01 +08:00
implement numpy arrays, math functions, and matrix math

@sb10q Revisiting this problem, I currently have a design dilemma.

Right now, the builtin NDArray[dtype] is represented as type { usize, usize*, dtype* }. This has the benefit of allowing…

derppening created pull request M-Labs/nac3#357 2023-11-23 13:47:16 +08:00
Prefix all NumPy/SciPy functions
derppening pushed to fix/prefix-numpy-functions at M-Labs/nac3 2023-11-23 13:46:24 +08:00
5c5620692f core: Add np_{round,floor,ceil}
0af1e37e99 core: Prefix all NumPy/SciPy functions with np_/sp_spec
854e33ed48 meta: Update cargo dependencies
Compare 3 commits »
derppening created branch fix/prefix-numpy-functions in M-Labs/nac3 2023-11-23 13:46:23 +08:00