5537645395
core/irrt: add Slice and Range
...
Needed for implementing general ndarray indexing.
Currently the IRRT slice and range have nothing to do with NAC3's slice
and range.
2024-08-26 11:18:23 +08:00
f5827dae24
core/ndstrides: implement ndarray iterator NDIter
2024-08-26 11:18:23 +08:00
a531d0127a
core/ndstrides: introduce NDArray
...
NDArray with strides.
2024-08-26 11:18:23 +08:00
cf34002179
core/irrt/exceptions: allow irrt to raise exceptions
...
Achieved through defining all the needed Exception ID constants at link
time.
Secondly, since `Exception` is `size_t` dependent, `__nac3_raise()`
takes an opaque pointer to `Exception`.
2024-08-26 09:38:56 +08:00
e9629a6688
core/irrt: split irrt.cpp into headers
2024-08-26 09:35:06 +08:00
331ab8a946
core/irrt: reformat
2024-08-26 09:35:00 +08:00
8f726ecbfa
core/irrt: comment build.rs & move irrt to nac3core/irrt
2024-08-26 09:34:27 +08:00