Closed ghost closed 1 year ago
@stadelmanma
I see you have already mentioned array constructs in #3
Oops, I thought the mentioned issue was regarding array constructors and I closed before I looked.
@oponkork among some other fixes I've implemented I did add support for array literals using the square brackets. Implied do loops are still untouched though.
I will try to get the implied do loops working.
Hey @oponkork I was looking through my old branch for this and had a thought, I think I got something working. Checkout my changes in https://github.com/stadelmanma/tree-sitter-fortran/tree/support-implied-do-loops and see what you think. Maybe you have a better solution than just adding a conflict rule.
Currently, array constructs are not parsed. We should add support for them. Simple scalar expressions like
are easy to implement. But array expressions and implied-do loops are also allowed, which will require #3 to be implemented first.