Oshanath Rajawasam
Oshanath Rajawasam
Thanks. Then I will start working on making the second one work as well.
@certik how do I remove the unnecessary files from the commits?
I still can't get the Instantiate node to print. Maybe there is something missing in the printing function. Could you please tell me where that file is?
The ci fails because there is an unused parameter in `visit_Instantiate()`. But it'll be gone when I actually implement that function.
Is the keyword "only" in this example, the same as "unique" in [this document](https://everythingfunctional.wordpress.com/2022/07/24/the-state-of-fortran-generics/)?
@certik I ran into some trouble when rebasing [the other PR](https://github.com/lfortran/lfortran/pull/37) on top of this one. There is a `bool elemental` inside `Function` in `ASR.asdl` in this PR. But not...
@certik In the instantiation, I get the types as `decl_attribute`s. I need to convert this into `ttype`s. For that currently I'm thinking I should use the same code from [here](https://github.com/lfortran/lfortran/blob/d5fc7145897d3d1c2a9bf2adadc6a792cbf1fc43/src/lfortran/semantics/ast_common_visitor.h#L923)....
@certik Users call the instantiation by the name of the template. But currently, the name of the template is not stored anywhere. So I think we should either add a...
@certik I had to change the naming process of the instantiation because the new function name is determined by the user.
@certik I applied your suggestions, moved the example to integration tests and cleaned up the history.