Ondřej Čertík

Results 1777 comments of Ondřej Čertík

One idea how to do it: create a repository for all our 3rd-party codes and use submodules. Then download all submodules at the beginning. Then in 3rd-party code testing we...

We need to support global functions in separate compilation. We must be able to generate runtime code that will work. So let's start with the runtime design. The compile-time design...

Yes, we can do: ```diff --- a/src/libasr/ASR.asdl +++ b/src/libasr/ASR.asdl @@ -215,7 +215,7 @@ ttype | CPtr() | SymbolicExpression() | TypeParameter(identifier param) - | Array(ttype type, dimension* dims, array_physical_type physical_type) +...

For 1D descriptor array we currently use in LLVM: ```llvm %array = type { i32*, i32, %dimension_descriptor*, i1, i32 } %dimension_descriptor = type { i32, i32, i32 } ``` For...

Other relevant issues: * https://github.com/lfortran/lfortran/issues/8319 * https://github.com/lfortran/lfortran/issues/8548 * https://github.com/lfortran/lfortran/issues/8472 * https://github.com/lfortran/lfortran/issues/8283 * https://github.com/lfortran/lfortran/issues/8357#issuecomment-3188742706

Current status: the array descriptor is documented at https://github.com/lfortran/lfortran/pull/8573. TODO: * [x] Finish https://github.com/lfortran/lfortran/pull/8573 * [x] Implement size, and select rank using the TODO at: https://github.com/lfortran/lfortran/issues/8357#issuecomment-3188742706 To implement select rank,...

TODO: * [x] Implement using the array inside `rank` case, e.g., in `rank(2)` the array will be 2D and you can index it as 2D array * [x] Implement the...

The first one is fixed, the second point can be implemented in two ways: * Either create a temporary, and assign to it the assumed rank `(..)` array, properly cast...

@kargl I checked 24-007 and it seems the GFortran documentation is pretty good. Do you see anything specific that you would like to improve?

Sure, I'll be happy to send them a patch. Let's iterate on the text first, and then I'll send it to them. Here is what I have so far: ```...