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
Implement const-generics
v6: Completed codegen refactoring for ellipsis expression - Ellipsis are now treated as the equivalent of todo!()
of Rust
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
Implement const-generics
v5: Implement const generics for nac3artiq, minor cleanup
ARTIQ implementation is tested and working.
921aec411b
artiq: Implement handling for const generic variables
336ca67113
core: Initial implementation for const generics
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
5266e9b48e
core: Initial implementation for const generics
af422f1785
core: Move some SymbolValue functions to symbol_resolver.rs
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
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…
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…
Prefix all NumPy/SciPy functions
5c5620692f
core: Add np_{round,floor,ceil}
0af1e37e99
core: Prefix all NumPy/SciPy functions with np_/sp_spec
854e33ed48
meta: Update cargo dependencies