Closed TsXor closed 1 year ago
Another problem: declarations in pxd
file.
Solution: when checking the grammar of a pyx
file, if there is a pxd
file with the same name in the same folder, concat that pxd
file before the pyx
file.
Type casting from pointer to typed memoryview:
<num_t[:h, :w]>
will raise:
<num_t[:h, :w]>
^
Expected cast close
<num_t[:h, :w]>
^
Expected expression
declaration of a ctuple
like
cdef (int, double) xy = (x, y)
is not supported
Thanks for reporting these issues.
pxd files should be 'imported' automatically and ctuple parsing has been added in version 0.1.0.
I will take a look at the other issues when I have time.
All of these issues should be resolved in 0.1.2
which is legal in cython, raises: