derppening
pushed to enhance/issue-149-ndarray/numpy-func-take-ndarray at M-Labs/nac3
2024-04-26 19:36:29 +08:00
12bdf6f77c
core: WIP - round works now
fcb6234bbc
core: WIP - float and bool works now
derppening
pushed to enhance/issue-149-ndarray/numpy-func-take-ndarray at M-Labs/nac3
2024-04-25 22:51:13 +08:00
dcbba2fb26
core: WIP - float and bool works now
c2041e8d34
core: WIP - int64, uint32 and uint64 works now
72d04d90e0
core: WIP - int32 works now
f15dcba311
core/builtins: Extract codegen portion into functions
eeaf3ed13d
core/builtins: Add llvm_intrinsics prefix
derppening
created branch enhance/issue-149-ndarray/numpy-func-take-ndarray in M-Labs/nac3
2024-04-24 17:45:45 +08:00
derppening
pushed to enhance/issue-149-ndarray/numpy-func-take-ndarray at M-Labs/nac3
2024-04-24 17:45:45 +08:00
687ec21294
core/builtins: Extract codegen portion into functions
e9860905cf
core/builtins: Add llvm_intrinsics prefix
3791c1c6c6
core: Add GenCall::create_dummy
e503fd1ffd
core: Remove Box from GenCallCallback type alias
3d943376e4
core: Remove custom function type definitions for ndarray operators
ndarray: Implement 2D-2D matrix multiplication
dc9b35784e
core: Implement numpy.matmul for 2D-2D ndarrays
5dfcc63978
core/classes: Take reference of indexes
025b3cd02f
core/stmt: Remove gen_if_chained*
derppening
created branch enhance/issue-149-ndarray/2d-matmul in M-Labs/nac3
2024-04-23 10:26:39 +08:00
derppening
pushed to enhance/issue-149-ndarray/neg-indexing at M-Labs/nac3
2024-04-15 12:50:08 +08:00
e0f440040c
core/expr: Implement negative indices for ndarray
Implement negative indices for ndarrays
derppening
pushed to enhance/issue-149-ndarray/neg-indexing at M-Labs/nac3
2024-04-15 12:48:23 +08:00
6a93984c90
core/expr: Implement negative indices for ndarray
f0715e2b6d
core/stmt: Add gen_if* functions
e7fca67786
core/stmt: Do not generate jumps if bb is already terminated
derppening
created branch enhance/issue-149-ndarray/neg-indexing in M-Labs/nac3
2024-04-15 12:48:23 +08:00
Improvements to unary operators
52c731c312
core: Implement Not/UAdd/USub for booleans
00d1b9be9b
core: Fix __inv__ for i8-based boolean operands
8404d4c4dc
meta: Update dependencies
derppening
created branch enhance/issue-149-ndarray/operators in M-Labs/nac3
2024-04-12 18:54:25 +08:00
Fix several internal errors
e614dd4257
core/type_inferencer: Fix location of unary/compare expressions
937a8b9698
core/magic_methods: Fix type of unary ops with primitive types
876ad6c59c
core/type_inferencer: Include location info if inferencer fails