You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current state of the parsing library is... not so great. It's very complicated and confusing and results in way too large a file in [ford/sourceform.py]. However, the functionality it implements is very useful and could allow for the development of static analysis tools, linters, etc. As such, we should ideally look towards refactoring this part of the code, simplifying it and reducing dependencies between the parts. The output should also be something more standard than the mess of Python objects it produces now (e.g., JSON, YAML, XML, or some other easily parsed and interpreted serialisation). This would be a major project but would be extremely worthwhile as it would result in the code being simpler, more maintainble, and more widely useable.
The text was updated successfully, but these errors were encountered:
I'll point out that there is also a parser in hansec/fortran-language-server. Is it possible that there is useful communication which should be happening between these projects?
Yes, that's a nice tool, it would be good to see if there's a common parsing library we can work on. There's also the LLVM flang project, which is C++, but might also be a good foundation.
The current state of the parsing library is... not so great. It's very complicated and confusing and results in way too large a file in [ford/sourceform.py]. However, the functionality it implements is very useful and could allow for the development of static analysis tools, linters, etc. As such, we should ideally look towards refactoring this part of the code, simplifying it and reducing dependencies between the parts. The output should also be something more standard than the mess of Python objects it produces now (e.g., JSON, YAML, XML, or some other easily parsed and interpreted serialisation). This would be a major project but would be extremely worthwhile as it would result in the code being simpler, more maintainble, and more widely useable.
The text was updated successfully, but these errors were encountered: