It’s just trivially easy to make whatever we want now. I spent almost no time on this. This one is written in Python/Pyside6 and has some nice features. I may expand it.
Sometimes I wonder with such tools if they should be editor plugins, say in VS Code, Sublime, IntelliJ, Cursor and so forth. The downside is maintaining a plugin for different editors is too much work.
The opposite way, providing a new editor is also not attractive, as it becomes a much bigger task and everyone already has their favorite.
So, I got fortls hooked up to. So now it has language server features (go to definition, mouseover tooltips, etc.) Also have fprettify for autoformatting.
The dependency graph can be dynamic. Here I’m flagging version conflicts (if one dependency specifies one tag and another one specifies a different one)
In the AI era, Fortran may actually be in a sweet spot of performance vs easy for a human to read (which is still important for checking what the AI is doing I think). Easy to write no longer matters, so languages that traded performance for ease of writing by humans are probably doomed.
After we deliver. Until then I don’t want to get distracted.
I do want to maintain multiple frontends, so I am thinking moving from C++ to C eventually, to make LFortran itself compile faster, and the lfortran binary to be smaller/leaner, which is a lot easier to do in C. And make our C frontend compile itself.
At that point if we wanted to move to Fortran, it would be easy. After @jacobwilliams ports Linux and the whole desktop to Fortran, he can easily port LFortran also.
I’ll probably stay in C for a while, since the C compilers are really mature and can be fast, and it will take us a while to get as fast (both compile time and runtime). I really want to stay in a very mature ecosystem like C and make sure it runs everywhere. But at least we should try it in Fortran and see if things get faster and what bugs it discovers and how fast things compile, etc.
It took about 10 minutes (about 3 prompts) to get a search widget that has something I don’t think i’ve ever seen in any Fortran IDE i’ve ever used: syntax highlighting in the search results. Did I just invent this?